/* ==========================================================================
   WOODFLY — Furniture Repair & Custom Solutions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --cream:       #F7F1E6;
  --cream-dark:  #EDE2CD;
  --wood-ink:    #241407;
  --wood-dark:   #3B2313;
  --wood:        #7A4A26;
  --wood-light:  #A9744A;
  --gold:        #C1841F;
  --gold-light:  #E0AC4F;
  --leaf:        #6E8B4A;
  --paper:       #FCF9F3;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-s: 4px;
  --radius-m: 10px;
  --shadow-wood: 0 18px 40px -18px rgba(36, 20, 7, 0.45);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--wood-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--wood-dark);
}

.section-head{
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2{
  font-size: clamp(2rem, 3.4vw, 2.7rem);
}
.section-head p{
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--wood);
  max-width: 52ch;
}
.section-tag{
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 10px;
}

section{ padding: 88px 0; }
.section-alt{ background: var(--cream-dark); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 10px 22px -10px rgba(193, 132, 31, 0.6);
}
.btn-primary:hover{ background: var(--gold-light); box-shadow: 0 14px 26px -10px rgba(193, 132, 31, 0.7); }
.btn-outline{
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover{ background: rgba(247, 241, 230, 0.12); }
.btn-dark{
  background: var(--wood-dark);
  color: var(--cream);
}
.btn-dark:hover{ background: var(--wood-ink); }
.btn-wide{ width: 100%; justify-content: center; }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 74, 38, 0.18);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img{ height: 46px; width: auto; }
.brand-word{
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--wood-dark);
  letter-spacing: 0.01em;
}
.brand-word span{ color: var(--gold); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a{
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--wood-dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover{ border-color: var(--gold); color: var(--gold); }

.nav-cta{ display: flex; align-items: center; gap: 12px; }
.nav-call{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--wood-dark);
}
.nav-call svg{ width: 18px; height: 18px; stroke: var(--gold); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--wood-dark);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(193, 132, 31, 0.22), transparent 55%),
    linear-gradient(150deg, var(--wood-ink) 0%, var(--wood-dark) 46%, #4A2C16 100%);
  color: var(--cream);
  padding: 0;
}
.hero-grain{
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.6) 0px, transparent 2px, transparent 26px),
    repeating-linear-gradient(96deg, rgba(0,0,0,0.5) 0px, transparent 1px, transparent 40px);
  pointer-events: none;
}
.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 96px 28px 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-eyebrow{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.hero h1{
  color: var(--cream);
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  max-width: 12ch;
}
.hero h1 em{
  font-style: italic;
  color: var(--gold-light);
}
.hero p{
  margin-top: 22px;
  font-size: 1.12rem;
  color: #E7D9C2;
  max-width: 46ch;
}
.hero-actions{
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats{
  display: flex;
  gap: 34px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 241, 230, 0.18);
}
.hero-stats div strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-light);
}
.hero-stats div span{
  font-size: 0.85rem;
  color: #CBB79A;
}
.hero-visual{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-wood);
  background:
    linear-gradient(200deg, #8A5A32, #5B3719 70%);
}
.hero-visual::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 22px);
}
.hero-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}
.hero-badge{
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--paper);
  color: var(--wood-dark);
  padding: 14px 18px;
  border-radius: var(--radius-s);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4);
  max-width: 220px;
}
.hero-badge strong{ font-family: var(--font-display); display:block; font-size: 1.05rem; }
.hero-badge span{ font-size: 0.82rem; color: var(--wood); }

/* ---------- services ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--wood-dark);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-wood);
}
.service-card{
  background: var(--paper);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease;
}
.service-card:hover{ background: var(--cream-dark); }
.service-card .icon{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(193, 132, 31, 0.14);
}
.service-card .icon svg{ width: 24px; height: 24px; stroke: var(--gold); }
.service-card h3{
  font-size: 1.2rem;
}
.service-card p{
  color: var(--wood);
  font-size: 0.95rem;
  margin: 0;
}
.service-card.wide{ grid-column: span 1; }

/* ---------- gallery ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.gallery-grid figure{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: linear-gradient(160deg, var(--wood-light), var(--wood-dark));
}
.gallery-grid figure:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:nth-child(4){ grid-row: span 2; }
.gallery-grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img{ transform: scale(1.06); }
.gallery-grid figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  background: linear-gradient(to top, rgba(20,11,4,0.78), transparent);
}

/* ---------- why choose ---------- */
.why-layout{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-list{
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.why-item{
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-item .num{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 34px;
}
.why-item h3{ font-size: 1.08rem; margin-bottom: 4px; }
.why-item p{ margin: 0; color: var(--wood); font-size: 0.95rem; }
.why-visual{
  border-radius: var(--radius-m);
  background: linear-gradient(200deg, var(--wood), var(--wood-ink));
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-wood);
  position: relative;
  overflow: hidden;
}
.why-visual img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- book a service form ---------- */
.book-layout{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-wood);
}
.book-info{
  background: linear-gradient(165deg, var(--wood-ink), var(--wood-dark));
  color: var(--cream);
  padding: 52px 42px;
}
.book-info h2{ color: var(--cream); font-size: 1.9rem; }
.book-info p{ color: #D8C6AA; margin-top: 14px; font-size: 0.98rem; }
.book-contacts{ margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.book-contacts a{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
}
.book-contacts svg{ width: 19px; height: 19px; stroke: var(--gold-light); flex-shrink: 0; }
.book-form{
  background: var(--paper);
  padding: 48px 42px;
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field{ margin-bottom: 16px; }
.field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(122, 74, 38, 0.3);
  border-radius: var(--radius-s);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--wood-ink);
  transition: border-color 0.18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--gold);
}
.field textarea{ resize: vertical; min-height: 90px; }
.field-file{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px dashed rgba(122, 74, 38, 0.4);
  border-radius: var(--radius-s);
  background: var(--cream);
  font-size: 0.88rem;
  color: var(--wood);
}
.form-note{
  font-size: 0.82rem;
  color: var(--wood-light);
  margin-top: 12px;
}

/* ---------- founder ---------- */
.founder-layout{
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 52px;
  align-items: center;
}
.founder-photo{
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
  background: linear-gradient(200deg, var(--wood-light), var(--wood-ink));
  box-shadow: var(--shadow-wood);
  overflow: hidden;
}
.founder-photo img{ width: 100%; height: 100%; object-fit: cover; }
.founder-quote{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--wood-dark);
}
.founder-name{ margin-top: 24px; }
.founder-name strong{ display: block; font-size: 1.1rem; color: var(--wood-dark); }
.founder-name span{ font-size: 0.88rem; color: var(--gold); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer{
  background: var(--wood-ink);
  color: #CBB79A;
  padding: 64px 0 26px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,241,230,0.12);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img{ height: 38px; }
.footer-brand span{ font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); }
.footer-grid p{ font-size: 0.9rem; line-height: 1.7; max-width: 34ch; }
.footer-col h4{ color: var(--cream); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 0.9rem; transition: color 0.18s ease; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94805F;
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sticky-cta a{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.45);
  transition: transform 0.18s ease;
}
.sticky-cta a:hover{ transform: translateY(-3px); }
.sticky-cta a svg{ width: 25px; height: 25px; }
.sticky-whatsapp{ background: #25D366; }
.sticky-whatsapp svg{ stroke: #fff; fill: #fff; }
.sticky-call{ background: var(--gold); }
.sticky-call svg{ stroke: var(--paper); }

/* ---------- reveal-on-load ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{ opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual{ order: -1; aspect-ratio: 16/10; }
  .why-layout, .founder-layout{ grid-template-columns: 1fr; }
  .why-visual, .founder-photo{ order: -1; aspect-ratio: 16/9; }
  .book-layout{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px){
  section{ padding: 60px 0; }
  .nav-links, .nav-call{ display: none; }
  .nav-toggle{ display: block; }
  .nav.is-open .nav-links{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 28px 26px;
    gap: 16px;
    border-bottom: 1px solid rgba(122,74,38,0.18);
    box-shadow: 0 18px 30px -18px rgba(0,0,0,0.3);
  }
  .services-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-grid figure:nth-child(1){ grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; height: auto; }
  .field-row{ grid-template-columns: 1fr; }
  .book-info, .book-form{ padding: 36px 24px; }
  .hero-stats{ gap: 22px; flex-wrap: wrap; }
  .footer-bottom{ flex-direction: column; gap: 8px; }
}
