/* Custom overrides and enhancements */

/* Ensure hero text is always visible */
.hero-content-inner {
  padding: 120px 0 80px;
  position: relative;
  z-index: 2;
}

.hero {
  background: linear-gradient(135deg, #fdf9f0 0%, #fce8dd 50%, #f9d0b8 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  background: linear-gradient(135deg, #fdf9f0 0%, #fce8dd 100%);
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero-img-stack {
  position: relative;
  height: 100%;
  padding: 40px;
}

.hero-img {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 51, 36, 0.2);
}

.hero-img--main {
  width: 75%;
  height: 85%;
  top: 8%;
  left: 5%;
}

.hero-img--accent {
  width: 55%;
  height: 50%;
  bottom: 5%;
  right: 5%;
}

.hero-img--corner {
  width: 45%;
  height: 35%;
  top: 5%;
  right: -5%;
  border: 4px solid rgba(255,255,255,0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 92, 42, 0.1);
  border: 1px solid rgba(232, 92, 42, 0.2);
  color: #df401a;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #4a3324;
  margin-bottom: 24px;
}

.text-terra {
  color: #e85c2a;
}

.text-sand-dark {
  color: #8c5727;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: #734622;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a3324;
}

.hero-accent-bar {
  display: flex;
  height: 6px;
}

.hero-accent-bar__stripe {
  height: 100%;
}

/* Section base */
.section {
  padding: 96px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e85c2a;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #4a3324;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #8c5727;
  max-width: 560px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card__body {
  padding: 28px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: #fdf4f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #4a3324;
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #8c5727;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 51, 36, 0.15);
}

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

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(74, 51, 36, 0.2);
  border: 4px solid #fff;
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #e85c2a;
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(232, 92, 42, 0.4);
}

.about-badge__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge__text {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #734622;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* Stats */
.stats-grid {
  position: relative;
  z-index: 1;
}

.stat-label {
  font-weight: 500;
}

/* Process */
.process-grid {
  position: relative;
  z-index: 1;
}

.process-step__title {
  color: #4a3324;
}

.process-step__desc {
  color: #8c5727;
}

/* Testimonials */
.testimonials-grid {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
}

.testimonial-author__name {
  font-family: 'Inter', sans-serif;
}

/* Contact */
.contact-grid {
  position: relative;
  z-index: 1;
}

.contact-info__title {
  color: #4a3324;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
}

.contact-detail__label {
  font-weight: 600;
}

.contact-detail__value {
  font-weight: 600;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 249, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 224, 170, 0.3);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(74, 51, 36, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #4a3324;
}

.logo-accent {
  color: #e85c2a;
}

/* Responsive */
@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; align-items: center; }
  #hamburgerBtn { display: flex; }
  #hamburger { display: none; }
  
  .hero-content-inner {
    padding: 120px 0 60px;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-grid {
    min-height: auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-img-secondary {
    right: 20px;
    bottom: -20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process-line { display: none; }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 639px) {
  .section { padding: 64px 0; }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
  }
  
  .contact-form-card {
    padding: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-ctas .btn-secondary {
    margin-left: 0;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-img-secondary {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 16px;
  }
  
  .about-badge {
    top: -10px;
    left: -10px;
  }
}
