/* Ubuntu Data Solutions - Stylesheet */
/* Warm, refined, approachable */

:root {
  /* Warm, grounded palette */
  --midnight: #1a1f2e;
  --charcoal: #2d3142;
  --slate: #4f5d75;
  --stone: #6b7a8d;
  --cream: #faf8f5;
  --warm-white: #fffefb;
  --amber: #e8a838;
  --amber-dark: #c78c2a;
  --terracotta: #c4704b;
  --sage: #7d9a78;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Skip Navigation (Accessibility) */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--midnight);
  color: var(--warm-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0 0 6px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Focus Visible (Accessibility) */
*:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.15);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--midnight);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-xs) 0;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 49, 66, 0.08);
  transition: var(--transition-smooth);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--midnight);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo img {
  height: 45px;
  width: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--terracotta) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  padding: var(--space-xs) 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--midnight);
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition-fast);
  transform-origin: center;
}

/* Hamburger animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 50ch;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-graphic {
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.hero-graphic-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(232, 168, 56, 0.2);
}

.hero-graphic-circle:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: pulse 4s ease-in-out infinite;
}

.hero-graphic-circle:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  border-color: rgba(232, 168, 56, 0.3);
  animation: pulse 4s ease-in-out 0.5s infinite;
}

.hero-graphic-circle:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border-color: rgba(232, 168, 56, 0.4);
  animation: pulse 4s ease-in-out 1s infinite;
}

.hero-graphic-center {
  position: absolute;
  width: 30%;
  height: 30%;
  top: 35%;
  left: 35%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--terracotta) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(232, 168, 56, 0.3);
}

.hero-graphic-center svg {
  width: 40%;
  height: 40%;
  color: white;
}

.hero-graphic-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.4);
}

.hero-graphic-dot:nth-child(5) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-graphic-dot:nth-child(6) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.hero-graphic-dot:nth-child(7) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-graphic-dot:nth-child(8) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.hero-graphic-line {
  position: absolute;
  background: rgba(232, 168, 56, 0.15);
  transform-origin: center;
}

.hero-graphic-line:nth-child(9) {
  width: 2px;
  height: 35%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-graphic-line:nth-child(10) {
  width: 35%;
  height: 2px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.hero-graphic-line:nth-child(11) {
  width: 2px;
  height: 35%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-graphic-line:nth-child(12) {
  width: 35%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.7; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

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

.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 31, 46, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--midnight);
  border: 2px solid var(--midnight);
}

.btn-secondary:hover {
  background: var(--midnight);
  color: var(--warm-white);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

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

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--warm-white);
  padding: var(--space-md);
  border-radius: 12px;
  border: 1px solid rgba(45, 49, 66, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--amber) 0%, var(--terracotta) 100%);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 31, 46, 0.1);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.15) 0%, rgba(196, 112, 75, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.service-card h3 {
  color: var(--midnight);
}

.service-card p {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

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

.service-link:hover {
  gap: 0.75rem;
}

/* Service detail lists (services page) */
.service-detail-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: var(--slate);
}

.service-detail-list li {
  margin-bottom: 0.25rem;
}

/* Values/Features Section */
.values-section {
  background: var(--midnight);
  color: var(--cream);
  position: relative;
}

.values-section h2 {
  color: var(--cream);
}

.values-section .section-label {
  color: var(--amber);
}

.values-section p {
  color: var(--stone);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.value-item {
  padding: var(--space-md);
  border-left: 2px solid var(--amber);
}

.value-item h3 {
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

/* Process Section (enhanced) */
.process-section {
  background: var(--midnight);
  color: var(--cream);
  position: relative;
}

.process-section h2 {
  color: var(--cream);
}

.process-section .section-label {
  color: var(--amber);
}

.process-section p {
  color: var(--stone);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  counter-reset: process;
}

.process-step {
  padding: var(--space-md);
  position: relative;
  counter-increment: process;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.process-step h3 {
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.process-step p {
  color: var(--stone);
}

/* Social Proof Section */
.social-proof-section {
  background: var(--warm-white);
  border-top: 1px solid rgba(45, 49, 66, 0.06);
  border-bottom: 1px solid rgba(45, 49, 66, 0.06);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-card {
  background: var(--cream);
  padding: var(--space-md);
  border-radius: 12px;
  border: 1px solid rgba(45, 49, 66, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--amber);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--terracotta) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--midnight);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--stone);
}

/* Client Logos */
.client-logos {
  text-align: center;
}

.client-logos p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto var(--space-md);
}

.client-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  opacity: 0.5;
}

.client-logo-item {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--midnight) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

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

.about-image-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 46, 0.3) 0%, transparent 40%);
  pointer-events: none;
}

.about-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--midnight);
  padding: var(--space-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(26, 31, 46, 0.2);
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-text h2 {
  margin-bottom: var(--space-sm);
}

.about-text p {
  margin-bottom: var(--space-sm);
}

/* Team Section */
.team-section {
  text-align: center;
}

.team-member {
  max-width: 500px;
  margin: 0 auto;
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
  margin: 0 auto var(--space-md);
  position: relative;
  overflow: hidden;
  border: 4px solid var(--warm-white);
  box-shadow: 0 20px 60px rgba(26, 31, 46, 0.15);
  object-fit: cover;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--midnight);
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 1.125rem;
  color: var(--slate);
  margin: 0 auto;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(45, 49, 66, 0.08);
  color: var(--slate);
  transition: var(--transition-fast);
}

.team-social a:hover {
  background: var(--amber);
  color: var(--midnight);
}

.team-social a svg {
  width: 20px;
  height: 20px;
}

/* Location Section */
.location-section {
  padding: var(--space-xl) 0;
  background: var(--warm-white);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-sm);
}

.contact-info > p {
  margin-bottom: var(--space-md);
}

.contact-details {
  list-style: none;
  margin-top: var(--space-md);
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.contact-details .icon {
  width: 24px;
  height: 24px;
  color: var(--amber-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-divider {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(45, 49, 66, 0.1);
}

.contact-divider-title {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.contact-divider-text {
  font-size: 0.95rem;
}

.contact-form {
  background: var(--cream);
  padding: var(--space-lg);
  border-radius: 16px;
  border: 1px solid rgba(45, 49, 66, 0.08);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-group .label-optional {
  font-weight: 400;
  color: var(--stone);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 2px solid rgba(45, 49, 66, 0.1);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.1);
}

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

.form-submit-btn {
  width: 100%;
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: var(--space-sm);
  text-align: center;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.form-success svg {
  color: var(--sage);
  margin-bottom: var(--space-sm);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--midnight);
  margin-bottom: var(--space-xs);
}

.form-success p {
  margin: 0 auto;
  color: var(--slate);
}

.form-error {
  font-size: 0.9rem;
  color: var(--terracotta);
  text-align: center;
  margin-top: var(--space-sm);
}

/* FAQ Grid */
.faq-section {
  padding: var(--space-xl) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--charcoal) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a838' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: var(--stone);
  margin: 0 auto var(--space-md);
}

.cta-section .btn-primary {
  background: var(--amber);
  color: var(--midnight);
}

.cta-section .btn-primary:hover {
  background: var(--amber-dark);
}

/* Footer */
.footer {
  background: var(--midnight);
  color: var(--stone);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.footer-brand .logo img {
  height: 60px;
}

.footer-brand p {
  font-size: 1rem;
  color: var(--stone);
}

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

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

.footer-nav li {
  margin-bottom: var(--space-xs);
}

.footer-nav a {
  font-size: 1rem;
  color: var(--stone);
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--amber);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--stone);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--amber);
  color: var(--midnight);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* Page Headers */
.page-header {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.25rem;
  max-width: 60ch;
  margin: 0 auto;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.blog-card {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid rgba(45, 49, 66, 0.08);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 31, 46, 0.1);
}

.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.blog-card-image {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--midnight) 100%);
  min-height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
}

.blog-card-featured .blog-card-image {
  min-height: 300px;
}

.blog-category {
  background: var(--amber);
  color: var(--midnight);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}

.blog-card-content {
  padding: var(--space-md);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: var(--space-xs);
}

.blog-card h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.blog-card p {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.blog-read-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* Blog Coming Soon Badge */
.blog-coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--stone);
  background: rgba(45, 49, 66, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}

.newsletter-form input::placeholder {
  color: var(--stone);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(45, 49, 66, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0 var(--space-xl);
  }

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

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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