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

:root {
  /* Design Tokens */
  --primary-color: #8c7853;
  --primary-rgb: 140, 120, 83;
  --secondary-color: #334155;
  --secondary-rgb: 51, 65, 85;
  --background-color: #faf9f5;
  --surface-color: #ffffff;
  --surface-border: #e8e4dc;
  --text-color: #4a4947;
  --heading-color: #1a1917;
  --contrast-color: #ffffff;
  
  --font-default: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  scroll-behavior: smooth;
}

/* Base resets */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-default);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Editorial Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-border);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 14px 0;
  background: rgba(250, 249, 245, 0.98);
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  font-style: italic;
  color: var(--heading-color);
}

.header .btn-getstarted {
  background: var(--primary-color);
  color: var(--contrast-color);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header .btn-getstarted:hover {
  background: var(--secondary-color);
  color: var(--contrast-color);
}

/* Nav Menu */
.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 32px;
}

.navmenu a {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navmenu a:hover,
.navmenu .active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px 0;
  background-color: #faf9f5;
}

.hero .subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero .description {
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 40px;
  font-family: var(--font-default);
  color: #5a5957;
}

.btn-accent {
  background: var(--primary-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background: var(--secondary-color);
  color: var(--contrast-color);
}

.btn-text {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

/* Sections */
section {
  padding: 100px 0;
  background-color: var(--background-color);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
}

.section-title p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  color: #6a6967;
}

/* Minimalist Cards */
.card-minimal {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.card-minimal:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(140, 120, 83, 0.05);
  transform: translateY(-4px);
}

/* About Section */
.about .check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.about .check-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.about .check-list li i {
  color: var(--primary-color);
  font-size: 1.35rem;
}

.about .check-list li h4 {
  font-size: 1.25rem;
  margin: 0 0 6px 0;
  font-weight: 500;
}

/* Services */
.service-icon {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 24px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Portfolio */
.isotope-filters {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  margin-bottom: 50px;
}

.isotope-filters li {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  color: #7a7977;
}

.isotope-filters li.filter-active,
.isotope-filters li:hover {
  color: var(--heading-color);
  border-color: var(--primary-color);
}

.work-card {
  position: relative;
  overflow: hidden;
}

.work-card .work-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.work-card img,
.work-card svg {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.work-card:hover img,
.work-card:hover svg {
  transform: scale(1.03);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay i {
  color: var(--contrast-color);
  font-size: 1.75rem;
}

.work-info {
  padding: 20px 0;
}

.work-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
}

.work-info h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 5px;
}

/* Metrics */
.metric-card {
  text-align: center;
  padding: 50px 20px;
  border-left: none;
  border-right: none;
}

.metric-value {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Testimonials */
.testimonial-card {
  padding: 45px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  font-family: var(--font-heading);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-user svg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.testimonial-user h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.testimonial-user span {
  font-size: 13px;
  color: #7a7977;
}

/* Contact */
.contact-info-block {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-block i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 4px;
}

.contact-form input,
.contact-form textarea {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  color: var(--heading-color);
  padding: 14px 18px;
  border-radius: 2px;
  width: 100%;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

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

.contact-form button {
  background: var(--primary-color);
  color: var(--contrast-color);
  border: none;
  padding: 16px 36px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: var(--secondary-color);
}

/* Global Footer overrides for Strada */
.spec-site-global-footer {
  background: #faf9f5 !important;
  border-top: 1px solid var(--surface-border) !important;
  color: #4a4947 !important;
}
.spec-site-global-footer p {
  color: #4a4947 !important;
}
.spec-site-global-footer a {
  color: var(--primary-color) !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--heading-color);
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navmenu {
    display: none;
  }
  body.mobile-nav-active .navmenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }
  body.mobile-nav-active .navmenu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}