/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --terracotta: #C2594A;
  --terracotta-dark: #A04436;
  --terracotta-light: #D4786A;
  --sand: #E8D5B7;
  --sand-light: #F5EDE0;
  --sand-lighter: #FBF7F1;
  --sand-dark: #C4A87C;
  --dark: #1C1917;
  --dark-mid: #2E2A27;
  --gray: #6B6560;
  --gray-light: #9B9490;
  --white: #FFFFFF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 25, 23, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--sand-lighter);
  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;
}

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

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 247, 241, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(194, 89, 74, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(251, 247, 241, 0.95);
  box-shadow: 0 2px 20px rgba(28, 25, 23, 0.06);
}

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

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  color: var(--terracotta);
  display: flex;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.nav__links a:not(.nav__cta):hover {
  color: var(--terracotta);
}

.nav__cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: var(--sand-lighter);
  position: relative;
  overflow: hidden;
}

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

.hero__shape--circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--sand);
  top: -150px;
  right: -100px;
  opacity: 0.5;
}

.hero__shape--rect {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--terracotta);
  opacity: 0.06;
  bottom: 10%;
  left: 5%;
  transform: rotate(25deg);
  border-radius: var(--radius);
}

.hero__shape--dot {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--terracotta-light);
  opacity: 0.08;
  border-radius: 50%;
  bottom: 20%;
  right: 15%;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  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: var(--terracotta);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--terracotta);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
}

.hero__trust-item svg {
  color: var(--terracotta);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 89, 74, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

/* ========== HERO RIGHT ========== */
.hero__right {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

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

.hero__stat-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--terracotta);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

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

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--sand-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--terracotta);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
}

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

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

.about__image-col {
  position: relative;
}

.about__image-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__image-deco {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: var(--terracotta);
  opacity: 0.1;
  border-radius: var(--radius);
  z-index: -1;
}

.about__text-col {
  padding-left: 16px;
}

.about__body {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.about__highlight-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
}

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

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

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item--wide img {
  height: 300px;
}

.gallery__item:not(.gallery__item--wide) img {
  height: 240px;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  background: var(--sand-lighter);
}

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

.testimonial-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #F59E0B;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
}

.testimonial-card__author span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta__shape--circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.08;
  top: -150px;
  left: -100px;
}

.cta__shape--rect {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--sand);
  opacity: 0.06;
  bottom: -60px;
  right: 5%;
  transform: rotate(15deg);
  border-radius: var(--radius);
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 1.05rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.contact__desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact__detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  box-shadow: var(--shadow);
}

.contact__detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact__detail a:hover {
  color: var(--terracotta);
}

/* ========== FORM ========== */
.contact__form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.form__group {
  margin-bottom: 16px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--sand-lighter);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-light);
}

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

.contact__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.contact__success.show {
  display: block;
}

.contact__success-icon {
  margin-bottom: 16px;
}

.contact__success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact__success p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo-icon {
  color: var(--terracotta-light);
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.65;
  max-width: 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color var(--transition);
}

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

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__contact p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.footer__contact a {
  color: var(--terracotta-light);
  transition: color var(--transition);
}

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

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ========== MOBILE NAV ========== */
@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--sand-lighter);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--sand);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow);
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__links a {
    font-size: 1rem;
  }
}

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

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__right {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
  }

  .hero__image-wrap img {
    height: 380px;
  }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__text-col {
    padding-left: 0;
  }

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

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

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--wide img,
  .gallery__item img {
    height: 200px;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 50px;
  }

  .hero__image-wrap img {
    height: 300px;
  }

  .hero__stat-card {
    right: 0;
    bottom: -20px;
  }

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

  .gallery__item--wide {
    grid-column: span 1;
  }

  .contact__form-wrap {
    padding: 24px;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .testimonial-card,
  .gallery__item {
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  }
}
