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

:root {
  --terracotta: #B8573D;
  --terracotta-dark: #9A4430;
  --terracotta-light: #D4785E;
  --sand: #E8D5C0;
  --sand-light: #F5EDE3;
  --sand-lighter: #FAF6F1;
  --sand-dark: #C4A882;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --cream: #FDF8F3;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 36, 32, 0.10);
  --shadow-lg: 0 20px 60px rgba(44, 36, 32, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
.type-accent {
  color: var(--terracotta);
}

.type-accent-light {
  color: var(--sand);
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 87, 61, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(253, 248, 243, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.nav__logo-text {
  letter-spacing: -0.02em;
}

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

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  border-radius: 8px;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--terracotta);
  background: rgba(184, 87, 61, 0.06);
}

.nav__link--cta {
  background: var(--terracotta);
  color: var(--white);
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--terracotta-dark);
  color: var(--white);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 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(184, 87, 61, 0.3);
}

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

.btn--ghost:hover {
  background: var(--white);
  color: var(--charcoal);
  border-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--full {
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/36712864/pexels-photo-36712864.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080')
    center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 36, 32, 0.88) 0%,
    rgba(74, 63, 56, 0.80) 50%,
    rgba(154, 68, 48, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero__card {
  background: rgba(253, 248, 243, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__accent {
  color: var(--sand);
  font-style: italic;
}

.hero__subheadline {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(232, 213, 192, 0.8);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero__stats {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .hero__stats {
    display: block;
  }
  .hero__content {
    max-width: 560px;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .hero__card {
    padding: 56px 48px;
  }
  .hero__subheadline {
    margin-left: 0;
  }
  .hero__actions {
    justify-content: flex-start;
  }
  .hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
    height: 100%;
  }
}

.stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
}

.stat-card__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal-light);
  letter-spacing: 0.02em;
}

.stat-card--1 {
  top: 18%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.stat-card--2 {
  top: 52%;
  right: 4%;
  animation: float 6s ease-in-out infinite 2s;
}

.stat-card--3 {
  bottom: 18%;
  right: 12%;
  animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

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

.section-header__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.section-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.section-header--light .section-header__eyebrow {
  color: var(--sand-dark);
}

.section-header--light .section-header__title {
  color: var(--white);
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid rgba(184, 87, 61, 0.08);
  transition: 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 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-card--featured {
  background: var(--charcoal);
  border-color: transparent;
}

.service-card--featured::before {
  background: var(--sand);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__list li {
  color: var(--sand-light);
}

.service-card--featured .service-card__title {
  color: var(--white);
}

.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 87, 61, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.service-card--featured .service-card__icon {
  background: rgba(232, 213, 192, 0.15);
  color: var(--sand);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal-light);
  margin-bottom: 24px;
}

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

.service-card__list li {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  padding-left: 20px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

.service-card--featured .service-card__list li::before {
  background: var(--sand-dark);
}

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

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

.about__image-wrap {
  position: relative;
}

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

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--terracotta);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.about__eyebrow {
  margin-bottom: 16px;
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--charcoal-light);
  margin-bottom: 20px;
}

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

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

.value-item svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ========== WHY US ========== */
.why-us {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 87, 61, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(184, 87, 61, 0.3);
  transform: translateY(-4px);
}

.why-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

.why-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(232, 213, 192, 0.7);
}

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

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154, 68, 48, 0.9) 0%, rgba(184, 87, 61, 0.85) 100%);
}

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

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-banner__desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: var(--cream);
}

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

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--charcoal-light);
  margin-bottom: 40px;
}

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

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

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: rgba(184, 87, 61, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  flex-shrink: 0;
}

.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.6;
}

.contact-detail__link {
  color: var(--terracotta);
  transition: var(--transition);
}

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

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(184, 87, 61, 0.06);
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.contact-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--sand-lighter);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: var(--transition);
  outline: none;
}

.contact-form__input::placeholder {
  color: var(--sand-dark);
}

.contact-form__input:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(184, 87, 61, 0.08);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8573D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--charcoal-light);
  margin-top: 16px;
}

.contact-form__success {
  text-align: center;
  padding: 48px 24px;
}

.contact-form__success svg {
  color: var(--terracotta);
  margin-bottom: 20px;
}

.contact-form__success h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.contact-form__success p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--charcoal);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand .nav__logo-mark {
  background: var(--terracotta);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(232, 213, 192, 0.6);
}

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

.footer__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(232, 213, 192, 0.7);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--sand);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(232, 213, 192, 0.4);
}

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

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(184, 87, 61, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    padding: 14px 16px;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .about__image {
    height: 400px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero__card {
    padding: 40px 28px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

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

  .footer__top {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
