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

:root {
  --terracotta: #B8694E;
  --terracotta-dark: #9A5439;
  --terracotta-light: #D4A88A;
  --sand: #F5EDE3;
  --sand-light: #FAF6F1;
  --sand-dark: #E8DDD0;
  --cream: #FFF9F4;
  --text-dark: #2C1810;
  --text-mid: #5C3D2E;
  --text-light: #8B6F60;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --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(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -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: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 500;
}
.skip-link:focus {
  top: 16px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 249, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 168, 138, 0.15);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--sand); }

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

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover {
  color: var(--terracotta);
  background: rgba(184, 105, 78, 0.07);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  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 6px 20px rgba(184, 105, 78, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}

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

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.72) 0%, rgba(44, 24, 16, 0.45) 50%, rgba(184, 105, 78, 0.3) 100%);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,249,244,0) 60%, var(--cream) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-card {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--terracotta-light);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform var(--transition), background var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

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

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--sand-dark);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(184, 105, 78, 0.12);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--sand-light);
}
.about-img-float img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.about-content { max-width: 480px; }

.about-content .section-title {
  margin-bottom: 24px;
}

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

.about-features {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.about-features svg {
  flex-shrink: 0;
  margin-top: 2px;
}

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

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-item:nth-child(1) img { height: 340px; }
.gallery-item:nth-child(2) img { height: 260px; }
.gallery-item:nth-child(3) img { height: 260px; }
.gallery-item:nth-child(4) img { height: 340px; }
.gallery-item:nth-child(5) img { height: 260px; }
.gallery-item:nth-child(6) img { height: 260px; }

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

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--sand-dark);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  opacity: 0.5;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  margin-top: 12px;
  font-style: italic;
}

.testimonial-card footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, #4A2C1E 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 105, 78, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-card .section-eyebrow.light { color: var(--terracotta-light); }

.cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.contact-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-item dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.contact-item dd {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.contact-item dd a {
  color: var(--text-mid);
  transition: color var(--transition);
}
.contact-item dd a:hover { color: var(--terracotta); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--sand-dark);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--sand-light);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 105, 78, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.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(184, 105, 78, 0.08);
  border: 1px solid rgba(184, 105, 78, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terracotta-dark);
}
.form-success svg { flex-shrink: 0; }

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

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--terracotta-light);
  margin-bottom: 14px;
}

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

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: grid;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.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 {
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--terracotta-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
  z-index: 50;
}
.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--terracotta-dark);
}
.scroll-top[hidden] {
  opacity: 0;
  pointer-events: none;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 249, 244, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--sand-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: row;
    gap: 12px;
  }
  .stat-card { flex: 1; padding: 16px; }
  .stat-num { font-size: 1.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img { height: 280px; }
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img,
  .gallery-item:nth-child(5) img,
  .gallery-item:nth-child(6) img { height: 220px; }
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-images { max-width: 400px; }
  .about-img-float { right: -12px; bottom: -20px; }
  .about-img-float img { width: 160px; height: 160px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrap { padding: 28px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 260px !important; }
  .hero-stats { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .testimonial-card,
  .gallery-item,
  .stat-card {
    will-change: transform;
  }
}

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