/* === WOOD WHISPER - Main Stylesheet === */
/* Warm Wood Tone Design System */
/* No rgba() on any text color per design rules */

/* === CSS Variables === */
:root {
  --primary: #8B5E3C;
  --primary-dark: #6B3F1F;
  --primary-light: #A87C5A;
  --accent: #D4A574;
  --accent-light: #E8C9A8;
  --beige: #E8D5C4;
  --beige-dark: #D4BEA8;
  --bg: #FDFBF7;
  --surface: #ffffff;
  --headings: #1c1917;
  --body: #44403c;
  --body-light: #6B6560;
  --border: #E0D5C8;
  --border-dark: #C4B8A8;
  --success: #5D8A3C;
  --error: #C44D34;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #44403c;
  background-color: #FDFBF7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: #1c1917;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }

a {
  color: #8B5E3C;
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: #6B3F1F; }

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

ul { list-style: none; }

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

.container--narrow {
  max-width: 900px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background-color: #FDF9F3;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background-color: #8B5E3C;
  color: #ffffff;
}
.btn--primary:hover {
  background-color: #6B3F1F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: #8B5E3C;
  border-color: #8B5E3C;
}
.btn--outline:hover {
  background-color: #8B5E3C;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--light {
  background-color: #ffffff;
  color: #8B5E3C;
}
.btn--light:hover {
  background-color: #E8D5C4;
  color: #6B3F1F;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

/* === Header / Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E0D5C8;
  transition: all var(--transition);
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1c1917;
}
.header__logo:hover {
  color: #8B5E3C;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background-color: #8B5E3C;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__link {
  font-size: 15px;
  font-weight: 500;
  color: #44403c;
  position: relative;
  padding: 4px 0;
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8B5E3C;
  transition: width var(--transition);
}
.header__link:hover {
  color: #8B5E3C;
}
.header__link:hover::after {
  width: 100%;
}

.header__cta {
  margin-left: 8px;
}

/* Mobile menu toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #1c1917;
  border-radius: 2px;
  transition: all var(--transition);
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(170deg, #FDFBF7 0%, #F8F0E5 40%, #F0E4D3 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #E8D5C4 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #D4A574 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.15;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  background-color: #E8D5C4;
  color: #6B3F1F;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero__title {
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero__title span {
  color: #8B5E3C;
}

.hero__text {
  font-size: 18px;
  color: #6B6560;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  background: #ffffff;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
}

.hero__card-icon {
  width: 56px;
  height: 56px;
  background-color: #E8D5C4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.hero__card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.hero__card-text {
  color: #6B6560;
  font-size: 15px;
  margin-bottom: 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #E0D5C8;
}

.hero__stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8B5E3C;
}

.hero__stat-label {
  font-size: 13px;
  color: #6B6560;
}

/* === Section Headers === */
.section__label {
  display: inline-block;
  padding: 6px 16px;
  background-color: #E8D5C4;
  color: #6B3F1F;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 16px;
}

.section__title span {
  color: #8B5E3C;
}

.section__subtitle {
  font-size: 18px;
  color: #6B6560;
  max-width: 640px;
  margin: 0 auto 0 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* === About === */
.about {
  background-color: #ffffff;
}

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

.about__visual {
  position: relative;
}

.about__img-placeholder {
  background: linear-gradient(135deg, #E8D5C4 0%, #D4A574 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about__img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(139, 94, 60, 0.3), transparent);
}

.about__decorator {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: #FDFBF7;
  border: 3px solid #D4A574;
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content p {
  font-size: 16px;
  color: #44403c;
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1c1917;
}

.about__feature-icon {
  width: 28px;
  height: 28px;
  background-color: #E8D5C4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #8B5E3C;
  flex-shrink: 0;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  background-color: #E8D5C4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card__text {
  color: #6B6560;
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.65;
}

/* === Industries === */
.industries {
  background-color: #ffffff;
}

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

.industry-card {
  background: #FDFBF7;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: #D4A574;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-card__icon {
  width: 48px;
  height: 48px;
  background-color: #E8D5C4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 14px;
}

.industry-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c1917;
}

/* === Process === */
.process {
  background-color: #FDF9F3;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #D4A574 0px,
    #D4A574 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-card__step {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border: 3px solid #D4A574;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #8B5E3C;
  margin: 0 auto 20px;
  position: relative;
}

.process-card__number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: #8B5E3C;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-card__text {
  font-size: 14px;
  color: #6B6560;
  margin-bottom: 0;
  line-height: 1.6;
}

/* === Capabilities === */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.capability-card {
  background: #FDFBF7;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #44403c;
  transition: all var(--transition);
}

.capability-card:hover {
  border-color: #D4A574;
  background-color: #FDF9F3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* === Why Wood Whisper === */
.why {
  background-color: #ffffff;
}

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

.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #FDFBF7;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: #D4A574;
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  background-color: #E8D5C4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.why-card__content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.why-card__content p {
  font-size: 14px;
  color: #6B6560;
  margin-bottom: 0;
  line-height: 1.6;
}

/* === Contact === */
.contact {
  background-color: #FDF9F3;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 12px;
}

.contact__info > p {
  color: #6B6560;
  margin-bottom: 32px;
}

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

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  background-color: #E8D5C4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__detail-label {
  font-size: 13px;
  color: #6B6560;
  font-weight: 500;
}

.contact__detail-value {
  font-size: 15px;
  color: #1c1917;
  font-weight: 600;
}

.contact__form {
  background: #ffffff;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 6px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  color: #44403c;
  background-color: #FDFBF7;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: all var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

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

.form__submit {
  width: 100%;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, #8B5E3C 0%, #6B3F1F 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 55 L5 55 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-banner__text {
  color: #E8D5C4;
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* === Footer === */
.footer {
  background-color: #1c1917;
  color: #C4B8A8;
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background-color: #33302E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C4B8A8;
  font-size: 1rem;
  transition: all var(--transition);
}
.footer__social-link:hover {
  background-color: #8B5E3C;
  color: #ffffff;
}

.footer__heading {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer__links a {
  color: #C4B8A8;
  font-size: 14px;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: #D4A574;
}

.footer__bottom {
  border-top: 1px solid #33302E;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 14px;
  color: #8A8078;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 14px;
  color: #8A8078;
}
.footer__legal a:hover {
  color: #D4A574;
}

/* === Legal Pages === */
.legal-page {
  padding: 140px 0 80px;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .legal-date {
  color: #6B6560;
  font-size: 15px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page p {
  margin-bottom: 14px;
}

.legal-page ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal__company-info {
  background: #FDF9F3;
  border: 1px solid #E0D5C8;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}

.legal__company-info p {
  margin-bottom: 4px;
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: #1c1917;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  pointer-events: none;
}

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

.toast--success {
  background-color: #5D8A3C;
}

.toast--error {
  background-color: #C44D34;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .capabilities__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 500px; margin: 0 auto; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #FDFBF7;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid #E0D5C8;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    gap: 20px;
  }

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

  .header__toggle { display: flex; }

  .hero { padding: 130px 0 60px; }
  .section { padding: 60px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
