:root {
  --primary: #8b5e3c;
  --primary-light: #c49a6c;
  --primary-dark: #5c3d20;
  --accent: #4a7c6f;
  --accent-light: #6ba99a;
  --bg-cream: #fdf6ec;
  --bg-light: #fff9f2;
  --text-dark: #2c1a0e;
  --text-mid: #5c4033;
  --text-light: #8b7355;
  --white: #ffffff;
  --shadow: rgba(139, 94, 60, 0.15);
  --border: rgba(139, 94, 60, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  letter-spacing: 1px;
}
.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  display: block;
  transition: 0.3s;
}

/* ── HERO ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #fdf6ec 0%, #f5e6d0 50%, #edd5b3 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(196, 154, 108, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(74, 124, 111, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(139, 94, 60, 0.1);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 94, 60, 0.2);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(139, 94, 60, 0.3);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 94, 60, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-dark);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ── SHARED ──────────────────────────── */
section {
  padding: 5rem 2rem;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 0.75rem auto 0.75rem;
  border-radius: 2px;
}

/* ── ABOUT ───────────────────────────── */
.about {
  background: var(--white);
}

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

.about-image {
  background: linear-gradient(135deg, #edd5b3, #c49a6c);
  border-radius: 20px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: 0 10px 40px var(--shadow);
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  background: rgba(139, 94, 60, 0.08);
  color: var(--primary);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(139, 94, 60, 0.15);
}

/* ── HOW IT WORKS ────────────────────── */
.how-it-works {
  background: var(--bg-cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s;
}
.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}
.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.step-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.step-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ── GALLERY ─────────────────────────── */
.gallery {
  background: var(--white);
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  box-shadow: 0 4px 15px var(--shadow);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 94, 60, 0.25);
}
.gallery-item.featured {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(92, 61, 32, 0);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(92, 61, 32, 0.45);
}

.gallery-overlay span {
  color: white;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.3s;
  letter-spacing: 0.5px;
}
.gallery-item:hover .gallery-overlay span {
  opacity: 1;
}

/* ── CALCULATOR ──────────────────────── */
.calculator {
  background: linear-gradient(135deg, #2c1a0e, #5c3d20);
  color: var(--white);
}
.calculator .section-title h2 {
  color: var(--white);
}
.calculator .section-title p {
  color: rgba(255, 255, 255, 0.65);
}

.calc-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.calc-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.calc-label span:last-child {
  color: var(--primary-light);
  font-weight: bold;
}
.calc-label-solo {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Button grids */
.btn-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.btn-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.calc-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.82rem;
  font-family: Georgia, serif;
  text-align: center;
  line-height: 1.4;
}
.calc-btn.active-size {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.calc-btn.active-mat {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.calc-btn:hover:not(.active-size):not(.active-mat) {
  background: rgba(255, 255, 255, 0.15);
}

/* Slider */
input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(196, 154, 108, 0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  cursor: pointer;
  border: none;
}
.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.3rem;
}

/* Toggle */
.toggle-group {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.toggle-btn {
  flex: 1;
  padding: 0.6rem 0.3rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--accent);
  color: white;
}

/* Price display */
.price-display {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(196, 154, 108, 0.4);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.price-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.price-range {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-light);
  line-height: 1;
}
.price-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

.price-breakdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.breakdown-item {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

/* ── TESTIMONIALS ────────────────────── */
.testimonials {
  background: var(--bg-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
}

.stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text-mid);
  font-size: 0.93rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.author-info h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
}
.author-info span {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ── FAQ ─────────────────────────────── */
.faq {
  background: var(--white);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 1rem;
  font-family: Georgia, serif;
  text-align: left;
  gap: 1rem;
}
.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.2rem;
}
.faq-answer p {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.7;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-mid);
  font-size: 0.93rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 94, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  color: var(--text-mid);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* File upload */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-light);
  position: relative;
}
.file-upload:hover,
.file-upload.dragover {
  border-color: var(--primary);
  background: rgba(139, 94, 60, 0.04);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.file-upload p {
  color: var(--text-light);
  font-size: 0.85rem;
}
.file-upload strong {
  color: var(--primary);
}

.file-preview {
  display: none;
  margin-top: 0.75rem;
}
.file-preview img {
  max-width: 100%;
  max-height: 140px;
  border-radius: 8px;
  object-fit: cover;
}
.file-name {
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 0.3rem;
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: 1rem;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(139, 94, 60, 0.3);
  letter-spacing: 0.5px;
}
.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 94, 60, 0.4);
}

.success-message {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.success-message h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.success-message p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ── FOOTER ──────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2.5rem 2rem;
}
.footer-logo {
  font-size: 1.3rem;
  color: var(--primary-light);
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary-light);
}
footer p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── SCROLL TO TOP ────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ── TOAST ───────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  z-index: 2000;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 20px var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    height: 220px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.featured {
    grid-column: span 1;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.9rem 1rem;
  }
  section {
    padding: 3.5rem 1.2rem;
  }
  .calc-container {
    padding: 1.5rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .btn-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
