/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2D2A26;
  background: #FDF8F3;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --terracotta: #C45B3B;
  --terracotta-dark: #A84A2E;
  --sand: #F5E6D3;
  --sand-light: #FDF8F3;
  --sand-dark: #E8D5C0;
  --charcoal: #2D2A26;
  --charcoal-light: #5C5650;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(45,42,38,0.06);
  --shadow-md: 0 8px 30px rgba(45,42,38,0.10);
  --shadow-lg: 0 16px 50px rgba(45,42,38,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; line-height: 1.15; }
.text-terracotta { color: var(--terracotta); }
.text-sand { color: var(--sand-dark); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253,248,243,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,91,59,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--charcoal); }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--charcoal-light); transition: color var(--transition); }
.nav-links a:hover { color: var(--terracotta); }
.btn-nav {
  background: var(--terracotta); color: var(--white) !important;
  padding: 10px 22px; border-radius: 50px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(253,248,243,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column; padding: 32px 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    border-bottom: 1px solid rgba(196,91,59,0.1);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { font-size: 1.05rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--terracotta); color: var(--white);
  box-shadow: 0 4px 16px rgba(196,91,59,0.3);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,91,59,0.35); }
.btn-outline {
  background: transparent; color: var(--charcoal);
  border: 2px solid var(--sand-dark);
}
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-sand { background: var(--sand); color: var(--charcoal); }
.btn-sand:hover { background: var(--sand-dark); transform: translateY(-2px); }
.btn-ghost-sand { background: transparent; color: var(--charcoal); border: 2px solid rgba(45,42,38,0.2); }
.btn-ghost-sand:hover { border-color: var(--charcoal); }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--sand-light);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.geo { position: absolute; }
.geo-circle-1 {
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,91,59,0.07) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.geo-circle-2 {
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(245,230,211,0.6);
  bottom: 10%; left: 5%;
}
.geo-rect-1 {
  width: 120px; height: 120px; background: var(--terracotta); opacity: 0.06;
  top: 20%; left: 8%; border-radius: var(--radius-lg);
  transform: rotate(25deg);
}
.geo-triangle {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(196,91,59,0.08);
  bottom: 25%; right: 15%;
}
.geo-dots {
  width: 80px; height: 80px;
  background-image: radial-gradient(circle, var(--terracotta) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.2;
  top: 40%; left: 3%;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,91,59,0.08); color: var(--terracotta);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 20px; line-height: 1.1;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--charcoal-light);
  max-width: 480px; margin-bottom: 32px; line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px 32px; box-shadow: var(--shadow-md);
}
.stat { flex: 1; text-align: center; }
.stat-num { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--terracotta); }
.stat-label { font-size: 0.8rem; color: var(--charcoal-light); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--sand-dark); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-stack { position: relative; }
.hero-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 640px; object-fit: cover; }
.hero-img-accent {
  position: absolute; bottom: -30px; left: -40px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.hero-img-accent img { width: 300px; height: 300px; object-fit: cover; }
.hero-floating-card {
  position: absolute; top: 40px; right: -20px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 4px;
  animation: float 4s ease-in-out infinite;
}
.hero-floating-card strong { font-size: 0.95rem; color: var(--charcoal); }
.hero-floating-card span { font-size: 0.8rem; color: var(--charcoal-light); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-img-main img { height: 420px; }
  .hero-img-accent { left: -20px; bottom: -20px; }
  .hero-floating-card { right: -10px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .hero-img-main img { height: 320px; }
  .hero-img-accent { display: none; }
}

/* ===== SECTIONS (shared) ===== */
section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--terracotta); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--terracotta); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px; color: var(--charcoal);
}
.section-subtitle {
  font-size: 1.05rem; color: var(--charcoal-light);
  max-width: 600px; line-height: 1.7;
}

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services .container { text-align: center; }
.services .section-subtitle { margin: 0 auto 56px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--sand-light); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: left;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--terracotta); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover { border-color: rgba(196,91,59,0.15); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(196,91,59,0.08); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--terracotta); color: var(--white); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--charcoal); }
.service-card p { font-size: 0.92rem; color: var(--charcoal-light); line-height: 1.65; }

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT ===== */
.about { background: var(--sand-light); position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -24px; right: -24px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.about-img-float img { width: 280px; height: 200px; object-fit: cover; }
.about-accent-block {
  position: absolute; top: -20px; left: -20px;
  width: 80px; height: 80px;
  background: var(--terracotta); opacity: 0.1;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.about-content .section-title { margin-bottom: 20px; }
.about-text { font-size: 1rem; color: var(--charcoal-light); line-height: 1.75; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--charcoal);
}
.about-feature svg { color: var(--terracotta); flex-shrink: 0; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 520px; }
  .about-img-main img { height: 360px; }
  .about-img-float img { width: 220px; height: 160px; }
  .about-features { grid-template-columns: 1fr; }
}

/* ===== WHY US ===== */
.why { background: var(--white); }
.why-header { text-align: center; margin-bottom: 56px; }
.why-header .section-subtitle { margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--sand-light); border-radius: var(--radius-lg);
  padding: 36px 24px; position: relative;
  border: 1px solid rgba(196,91,59,0.06);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(196,91,59,0.15); }
.why-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 3rem;
  font-weight: 700; color: var(--terracotta); opacity: 0.12;
  line-height: 1; margin-bottom: 16px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--charcoal); }
.why-card p { font-size: 0.9rem; color: var(--charcoal-light); line-height: 1.65; }

@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--terracotta);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-geo { position: absolute; }
.cta-circle-1 {
  width: 400px; height: 400px; border-radius: 50%;
  border: 2px solid rgba(245,230,211,0.12);
  top: -150px; right: -100px;
}
.cta-circle-2 {
  width: 250px; height: 250px; border-radius: 50%;
  border: 2px solid rgba(245,230,211,0.08);
  bottom: -80px; left: -60px;
}
.cta-line {
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,230,211,0.3), transparent);
  bottom: 30%; left: 10%;
  transform: rotate(-15deg);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white); margin-bottom: 16px;
}
.cta-text { font-size: 1.05rem; color: rgba(245,230,211,0.85); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.text-sand { color: var(--sand); }

/* ===== CONTACT ===== */
.contact { background: var(--sand-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-text { font-size: 1rem; color: var(--charcoal-light); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(196,91,59,0.08); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--charcoal-light); margin-bottom: 4px; }
.contact-item a, .contact-item span { font-size: 0.95rem; color: var(--charcoal); }
.contact-item a:hover { color: var(--terracotta); }

/* Form */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.4rem; margin-bottom: 24px; color: var(--charcoal); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--sand-dark); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--charcoal); background: var(--sand-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196,91,59,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 14px 18px;
  background: rgba(196,91,59,0.06); color: var(--terracotta);
  border-radius: var(--radius); font-weight: 500; font-size: 0.95rem;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
}

/* ===== FOOTER ===== */
.footer { background: var(--charcoal); color: rgba(245,230,211,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-links strong, .footer-contact strong {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--sand); margin-bottom: 16px;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(245,230,211,0.1);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(245,230,211,0.4); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 48px 0 0; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
