/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta:    #c4653a;
  --terracotta-dk: #a8522e;
  --sand:          #fdf6f0;
  --sand-mid:      #f5e6d8;
  --sand-dk:       #e8d5c4;
  --brown:         #5c3a28;
  --brown-lt:      #7a5240;
  --cream:         #fffbf7;
  --white:         #ffffff;
  --text:          #3d2b1f;
  --text-light:    #7a6355;
  --shadow-sm:     0 2px 8px rgba(92,58,40,0.08);
  --shadow-md:     0 8px 30px rgba(92,58,40,0.12);
  --shadow-lg:     0 16px 50px rgba(92,58,40,0.15);
  --radius-sm:     12px;
  --radius-md:     20px;
  --radius-lg:     32px;
  --font-display:  'DM Serif Display', Georgia, serif;
  --font-body:     'Nunito', 'Segoe 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);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 16px;
}

.section-header.light .section-tag { color: rgba(255,255,255,0.8); }
.section-header.light h2 { color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  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-dk);
  border-color: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn-ghost:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

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

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,251,247,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,101,58,0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,251,247,0.96);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown);
  font-weight: 400;
}

.logo-icon { flex-shrink: 0; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn):hover { color: var(--terracotta); }

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after { width: 100%; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 540px; }

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(196,101,58,0.1);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin: 24px 0 36px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brown);
  line-height: 1;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-dk);
}

/* Hero Images */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
}

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

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--sand);
}

.hero-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 80px; }

/* ── Sections ── */
.section {
  padding: 100px 0;
}

.section.products { background: var(--cream); }
.section.about { background: var(--sand); }
.section.why {
  background: var(--terracotta);
  color: var(--white);
}

/* ── Product Cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-img-wrap {
  overflow: hidden;
  height: 240px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-body {
  padding: 28px;
}

.product-body h3 {
  margin-bottom: 10px;
  color: var(--brown);
}

.product-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.about-visual {
  position: relative;
}

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

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 24px; }
.about-content > p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ── Features / Why ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
}

.feature-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--sand-mid);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  margin-bottom: 12px;
  color: var(--brown);
}

.cta-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ── Contact ── */
.contact { background: var(--cream); }

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

.contact-info .section-tag { margin-bottom: 12px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

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

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,101,58,0.1);
  border-radius: 50%;
}

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

.contact-item span,
.contact-item a {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

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

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--brown);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--sand-dk);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--sand);
  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 4px rgba(196,101,58,0.1);
}

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

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

.form-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a7a4a;
}

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

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

.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-links address { font-style: normal; font-size: 0.9rem; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

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

/* ── Mobile Menu ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,251,247,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--sand-dk);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .hero-content { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual { order: -1; justify-content: center; }
  .hero-img-main { height: 400px; }
  .hero-img-float { display: none; }
  .hero-badge { right: 0; }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img { height: 320px; }
  .about-floating-card { right: 16px; bottom: -16px; }

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

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

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

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

@media (max-width: 500px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }

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

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

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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