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

:root {
  --terracotta: #C2704E;
  --terracotta-dark: #A0522D;
  --terracotta-light: #E8A87C;
  --sand: #F5E6D3;
  --sand-light: #FBF5EE;
  --sand-dark: #E8D5C0;
  --cream: #FFF9F4;
  --brown-dark: #5C3A28;
  --brown-medium: #8B5E3C;
  --text-primary: #3D2B1F;
  --text-secondary: #6B5344;
  --text-muted: #9A8070;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(92, 58, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(92, 58, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(92, 58, 40, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 249, 244, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(194, 112, 78, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--terracotta);
  background: rgba(194, 112, 78, 0.08);
}

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(194, 112, 78, 0.3);
}

.nav-cta:hover {
  background: var(--terracotta-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(194, 112, 78, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  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);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--cream) 40%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--terracotta);
  top: -200px;
  right: -100px;
  filter: blur(80px);
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--terracotta-light);
  bottom: -100px;
  left: -100px;
  filter: blur(60px);
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--sand-dark);
  top: 30%;
  left: 45%;
  filter: blur(40px);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  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(194, 112, 78, 0.12);
  color: var(--terracotta-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(194, 112, 78, 0.2);
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-headline em {
  color: var(--terracotta);
  font-style: normal;
  position: relative;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(194, 112, 78, 0.2);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(194, 112, 78, 0.35);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 112, 78, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(194, 112, 78, 0.2);
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(194, 112, 78, 0.15);
  background: var(--white);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--sand-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--sand-light);
}

.about-img-secondary img {
  width: 320px;
  height: 240px;
  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--terracotta);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-stat-card .stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(194, 112, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== PROCESS ===== */
.process {
  padding: 100px 0;
  background: var(--white);
}

.process-steps {
  display: flex;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(194, 112, 78, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  position: absolute;
  top: 44px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta-light), var(--terracotta));
  opacity: 0.4;
}

.process-step:last-child .step-connector {
  display: none;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-light) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
  text-align: left;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(194, 112, 78, 0.3);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-item a {
  color: var(--terracotta);
  font-weight: 700;
}

.contact-item a:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(194, 112, 78, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(194, 112, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--terracotta-light);
  font-weight: 700;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

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

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-image img {
    height: 420px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-content .section-tag,
  .about-content .section-title {
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

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

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

  .contact-info .section-tag,
  .contact-info .section-title {
    text-align: center;
  }

  .contact-desc {
    text-align: center;
  }

  .contact-form-wrapper {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-image img {
    height: 320px;
  }

  .hero-image-accent {
    display: none;
  }

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

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .step-number {
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .about-img-secondary {
    right: -10px;
    bottom: -20px;
  }

  .about-img-secondary img {
    width: 220px;
    height: 170px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-stat-card {
    right: 0;
    top: -16px;
  }
}
