:root {
  /* Fresh & Mature Palette - Light/Editorial */
  --bg-body: #fdfdfd; /* Alabaster / Off-white */
  --bg-surface: #ffffff; /* Pure white for cards */
  --text-primary: #1a202c; /* Charcoal / Deepest Grey */
  --text-secondary: #4a5568; /* Slate Grey */
  --accent-color: #c5a059; /* Muted Gold/Bronze - Elegant */
  --border-subtle: #e2e8f0;

  /* Typography */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Lato", sans-serif;

  --container-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.text-accent {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: #fff;
}

.btn-link {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--text-secondary);
  padding: 0 0 5px 0;
}
.btn-link:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Header */
.header {
  padding: 2rem 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: transparent;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--accent-color);
}

.nav-list {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-list a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.nav-list a:not(.btn):hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 90vh; /* Slightly shorter for mature look */
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
}

.section-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title {
  font-size: 5rem; /* Massive, editorial size */
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Clients Section - New */
.clients {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background-color: white;
}

.clients-intro {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a0aec0;
  margin-bottom: 2rem;
}

.clients-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Client Logos - Infinite Slider */
.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider .slide-track {
  display: flex;
  width: calc(
    250px * 28
  ); /* 14 slides (8 original + 6 new) * 2 duplicates * 250px width */
  animation: scroll 40s linear infinite;
}

.slider .slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.slider .slide img {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.slider .slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 14));
  } /* Move exactly half the track width */
}

/* Gradient Fade Effect for Slider */
.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background-color: var(--bg-body);
}

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

.testimonial-card {
  padding: 2.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.testimonial-card .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-card .author {
  display: flex;
  flex-direction: column;
}

.testimonial-card .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-card .title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

/* About - Stats Layout */
.about {
  padding: 8rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 3rem;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  font-weight: 700;
}

/* Services */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.services {
  padding: 8rem 0;
  background-color: var(--bg-surface);
}

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

.service-card {
  padding: 3rem 2rem;
  /* No visible border, just whitespace for cleaner look */
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.service-card:hover {
  background-color: var(--bg-body);
  border-top-color: var(--accent-color);
  transform: translateY(-5px);
}

.service-icon-box {
  margin-bottom: 2rem;
}

/* Abstract Shapes Redesigned for Light Theme */
.shape-circle,
.shape-square,
.shape-triangle {
  width: 60px;
  height: 60px;
  border: 1px solid var(--text-primary);
  opacity: 0.8;
}
.shape-circle {
  border-radius: 50%;
}
.shape-square {
  transform: rotate(45deg);
}
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--text-primary);
  border-top: 0; /* Clear previous */
  background: transparent;
}

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

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Contact */
.contact {
  padding: 8rem 0;
  background-color: var(--text-primary); /* Dark footer contrasting area */
  color: white;
}

.contact .section-title,
.contact .contact-link {
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 0;
  width: 100%;
  font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

.contact .btn-primary {
  background-color: white;
  color: var(--text-primary);
  margin-top: 1rem;
}
.contact .btn-primary:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Footer */
.footer {
  padding: 4rem 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .about-content,
  .services-grid,
  .contact-wrapper,
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
  }
  .nav-list {
    display: none;
  } /* Mobile menu implementation needed if req */
  .mobile-menu-btn {
    display: block;
  }
}
