/* ============================================================
   MB Hardwood Floor — Design System
   Palette: warm amber/gold on deep espresso dark
   Type: Fraunces (display) + DM Sans (body)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --espresso:    #0f0a04;
  --bark:        #1a1208;
  --mahogany:    #2d1f0e;
  --chestnut:    #4a2f12;
  --amber:       #c4975a;
  --amber-light: #e8c98a;
  --amber-dim:   #9a7040;
  --cream:       #f5ede0;
  --cream-soft:  #faf5ed;
  --white:       #ffffff;
  --muted:       #7a6a58;
  --muted-light: #a89880;

  /* Accent */
  --gold:        #d4a851;
  --gold-light:  #f0d080;

  /* UI */
  --border:      rgba(196, 151, 90, 0.18);
  --border-soft: rgba(196, 151, 90, 0.10);
  --glass:       rgba(26, 18, 8, 0.85);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-gap: 7rem;
  --container:   1200px;

  /* Transitions */
  --ease: cubic-bezier(.22, .68, 0, 1.2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--espresso);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--amber); color: var(--espresso); }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.9rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--amber);
  color: var(--espresso);
  box-shadow: 0 0 0 0 rgba(196,151,90,.5);
}
.btn--primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,151,90,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,237,224,.25);
}
.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn--outline:hover {
  background: var(--amber);
  color: var(--espresso);
}

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

/* ── Section Shared ── */
.section { padding: var(--section-gap) 0; }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 1rem;
}

.section__title--left { text-align: left; }

.section__desc {
  font-size: 1.0625rem;
  color: var(--muted-light);
  line-height: 1.7;
}


/* ════════════════════════════════════
   NAV
   ════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

.nav.scrolled {
  padding: .85rem 0;
  box-shadow: 0 1px 0 var(--border);
  background: var(--glass);
}

@media (min-width: 769px) {
  .nav.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav__logo-img--footer {
  height: 72px;
}

/* kept for any legacy references */
.nav__logo-mb {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -.02em;
}

.nav__logo-text {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  color: var(--cream-soft);
  letter-spacing: .01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted-light);
  transition: color .2s;
}

.nav__links a:hover { color: var(--cream); }
.nav__links a.nav--active { color: var(--amber); }

.nav__cta {
  background: var(--amber) !important;
  color: var(--espresso) !important;
  padding: .55rem 1.25rem;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: .8125rem !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s, transform .2s !important;
}

.nav__cta:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  touch-action: manipulation;
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all .3s var(--ease);
}


/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://i.ibb.co/RTtF09HY/image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,6,2,.82) 35%, rgba(10,6,2,.35) 100%),
    linear-gradient(to top, rgba(10,6,2,.6) 0%, transparent 50%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(196,151,90,.3);
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  background: rgba(196,151,90,.07);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--muted-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(26,18,8,.5);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.75rem;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: .2rem;
}

.trust-item span {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollPulse 2s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50%       { opacity: 1;  transform: scaleY(1); }
}


/* ════════════════════════════════════
   SERVICES
   ════════════════════════════════════ */
.services { background: var(--bark); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--bark);
  padding: 2.25rem 2rem;
  transition: background .25s;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(196,151,90,.04), transparent);
  opacity: 0;
  transition: opacity .35s;
}

.service-card:hover { background: #1f1509; }
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .9375rem;
  color: var(--muted-light);
  line-height: 1.7;
}


/* ════════════════════════════════════
   ABOUT
   ════════════════════════════════════ */
.about { background: var(--espresso); }

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

.about__img-frame {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

.about__img-placeholder {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.about__img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about__badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--amber);
  color: var(--espresso);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}

.about__badge-float strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-float span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about__lead {
  font-size: 1.125rem;
  color: var(--cream-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about__body {
  font-size: .9375rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.about__feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about__feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: .45rem;
  flex-shrink: 0;
}

.about__feature strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .2rem;
}

.about__feature p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════ */
.portfolio { background: var(--bark); }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 3rem;
}

.portfolio-item--large {
  grid-column: auto;
  grid-row: auto;
}

.portfolio-item__img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--mahogany);
}


.portfolio-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease-out);
}

.portfolio-item__img:hover img {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,6,2,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.portfolio-item__img:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__type {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .3rem;
}

.portfolio-item__overlay p {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--cream);
}

.portfolio__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.portfolio__cta p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--muted-light);
}


/* ════════════════════════════════════
   PROCESS
   ════════════════════════════════════ */
.process { background: var(--espresso); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 2.5rem;
  right: 2.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--amber), rgba(196,151,90,.1));
}

.process-step {
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mahogany);
  border: 1.5px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step__content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .6rem;
}

.process-step__content p {
  font-size: .9rem;
  color: var(--muted-light);
  line-height: 1.7;
}


/* ════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════ */
.testimonials {
  background: var(--bark);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.testimonial-card {
  background: var(--mahogany);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.testimonial-card--featured {
  background: linear-gradient(145deg, #3a2510 0%, #251708 100%);
  border-color: rgba(196,151,90,.35);
  transform: scale(1.03);
}

.testimonial-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: .9375rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--chestnut);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

.testimonial-card__author strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--cream);
}

.testimonial-card__author span {
  font-size: .8125rem;
  color: var(--muted);
}


/* ════════════════════════════════════
   CONTACT
   ════════════════════════════════════ */
.contact { background: var(--espresso); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact__desc {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  background: var(--mahogany);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .2rem;
}

.contact__detail a,
.contact__detail span {
  display: block;
  font-size: .9375rem;
  color: var(--muted-light);
  transition: color .2s;
}

.contact__detail a:hover { color: var(--amber); }

/* Form */
.contact__form-wrap {
  background: var(--bark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--mahogany);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--cream);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

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

.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a7040' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-group select option { background: var(--bark); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196,151,90,.15);
}

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

.form__note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

.form__success {
  display: none;
  align-items: center;
  gap: .75rem;
  background: rgba(196,151,90,.12);
  border: 1px solid rgba(196,151,90,.3);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: var(--amber);
  font-size: .9375rem;
}

.form__success.show { display: flex; }


/* ════════════════════════════════════
   FAQ
   ════════════════════════════════════ */
.faq { background: var(--bark); }

.faq__inner .section__header { max-width: 540px; }

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--mahogany);
  transition: border-color .25s;
}

.faq-item:has(.faq-item__q[aria-expanded="true"]) {
  border-color: rgba(196,151,90,.3);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  text-align: left;
  transition: color .2s, background .2s;
  touch-action: manipulation;
}

.faq-item__q:hover { color: var(--amber); }

.faq-icon {
  flex-shrink: 0;
  color: var(--amber);
  transition: transform .3s var(--ease);
}

.faq-item__q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-item__q[aria-expanded="true"] { color: var(--amber); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}

.faq-item__a.open { max-height: 500px; }

.faq-item__a p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--muted-light);
  line-height: 1.75;
}


/* ════════════════════════════════════
   AREA
   ════════════════════════════════════ */
.area { background: var(--espresso); }

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

.area__text p {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.area__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .5rem;
  margin-bottom: 2rem;
}

.area__list li {
  font-size: .9375rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.area__list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.area__map-placeholder {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bark);
}

.area__map-placeholder svg { width: 100%; height: auto; display: block; }


/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.footer { background: var(--espresso); border-top: 1px solid var(--border); padding-top: 4rem; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: .75rem;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  background: var(--mahogany);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  transition: color .2s, border-color .2s, background .2s;
}

.footer__socials a:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(196,151,90,.08);
}

.footer__links { display: contents; }

.footer__col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: .5rem;
  transition: color .2s;
}

.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer__bottom p {
  font-size: .8125rem;
  color: var(--muted);
}


/* ════════════════════════════════════
   FAB
   ════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: var(--amber);
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(196,151,90,.4);
  transition: all .25s var(--ease-out);
  opacity: 0;
  transform: translateY(1rem) scale(.9);
  pointer-events: none;
}

.fab.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fab:hover {
  background: var(--amber-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(196,151,90,.5);
}


/* ════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Fallback: if JS fails or runs late, ensure items are visible after 2s */
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.visible) {
    animation: revealFallback 0s 2s forwards;
  }
}

@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}


/* ════════════════════════════════════
   RESPONSIVE — TABLET 1024px
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-gap: 5rem; }

  /* Layout stacks */
  .about__inner,
  .contact__inner,
  .area__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual { order: -1; }
  .about__badge-float { bottom: -1rem; right: -1rem; }

  /* Process — 2 columns */
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process__steps::before { display: none; }

  /* Testimonials stack */
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .testimonial-card--featured { transform: none; }
  .testimonial-card--featured:hover { transform: translateY(-4px); }

  /* Portfolio 3 col */
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer 2 col */
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}


/* ════════════════════════════════════
   RESPONSIVE — MOBILE 768px
   ════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-gap: 3.5rem; }

  /* ── Nav mobile ── */
  .nav {
    background: var(--espresso);
    padding: 1rem 0;
    box-shadow: 0 1px 0 var(--border);
  }
  .nav__logo { max-width: 70%; }
  .nav__logo-img {
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  /* Burger button — fixed in top-right, always above drawer */
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
    position: fixed;
    top: 1.1rem;
    right: 1.25rem;
    z-index: 2000;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    border: none;
  }
  .nav__burger span {
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    display: block;
  }
  .nav__burger.open span { background: var(--cream); }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Drawer — escondido por padrão (display none + transform), revelado com .open */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--bark);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform .4s var(--ease-out);
    z-index: 999;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,.5);
  }
  .nav__links.open { transform: translateX(0); }

  .nav__links a {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--cream-soft);
    width: 100%;
    padding: .9rem 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav__links a:last-child { border-bottom: none; }

  .nav__cta {
    margin-top: 1rem;
    font-size: 1rem !important;
    padding: .85rem 1.5rem !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 6px;
  }

  /* ── Hero ── */
  .hero { min-height: 100svh; }

  .hero__bg {
    background-image: url('https://i.ibb.co/Kx0M3w9C/image.png');
    background-position: center top;
  }

  .hero__overlay {
    background:
      linear-gradient(to bottom, rgba(10,6,2,.55) 0%, rgba(10,6,2,.75) 60%, rgba(10,6,2,.95) 100%);
  }

  .hero__inner {
    padding-top: 6rem;
    padding-bottom: 5rem;
    max-width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero__badge { margin: 0 auto 1.25rem; }

  .hero__title {
    font-size: clamp(2.75rem, 11vw, 3.75rem);
    text-align: center;
  }

  .hero__sub {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: .75rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Trust bar — 2x2 grid */
  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 10px;
  }

  .trust-divider { display: none; }

  .trust-item {
    padding: .9rem 1rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-item:nth-child(4),
  .trust-item:nth-child(3) { border-bottom: none; }
  .trust-item:nth-child(4),
  .trust-item:nth-child(2) { border-right: none; }

  .trust-item strong { font-size: 1.375rem; }

  /* ── Services — 2 col on tablet-ish, 1 on small ── */
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }

  /* ── About ── */
  .about__img-placeholder { aspect-ratio: 16/10; }
  .about__badge-float { bottom: -1rem; right: -1rem; }
  .about__content { text-align: center; }
  .about__features { text-align: left; }
  .about__content .btn { width: 100%; justify-content: center; }

  /* ── Portfolio — 2 col ── */
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .portfolio-item--large { grid-column: auto; grid-row: auto; }

  /* ── Process — 1 col with left timeline ── */
  .process__steps { grid-template-columns: 1fr; gap: 0; }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-bottom: 2rem;
    position: relative;
  }

  .process-step:last-child { padding-bottom: 0; }

  /* Vertical line connecting steps */
  .process-step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(196,151,90,.4), transparent);
  }

  .process-step:last-child::before { display: none; }

  .process-step__number { margin-bottom: 0; }
  .process-step__content { padding-top: .75rem; }

  /* ── Testimonials — scrollable horizontal on mobile ── */
  .testimonials__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    max-width: 100%;
    scrollbar-width: none;
  }

  .testimonials__grid::-webkit-scrollbar { display: none; }

  .testimonial-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    max-width: 340px;
  }

  /* ── Contact ── */
  .contact__form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* ── FAQ ── */
  .faq__list { max-width: 100%; }
  .faq-item__q { font-size: .9375rem; padding: 1.1rem 1.25rem; }
  .faq-item__a p { padding: 0 1.25rem 1.1rem; }

  /* ── Area map ── */
  .area__list { grid-template-columns: 1fr 1fr; }
  .area__map { display: none; }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; gap: .25rem; }

  /* ── FAB — icon only ── */
  .fab span { display: none; }
  .fab { padding: .95rem; border-radius: 50%; bottom: 1.5rem; right: 1.5rem; }
}


/* ════════════════════════════════════
   RESPONSIVE — SMALL MOBILE 480px
   ════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-gap: 3rem; }

  .container { padding: 0 1.1rem; }

  /* Hero tighter */
  .hero__inner { padding-top: 5.5rem; padding-bottom: 4rem; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.25rem); }

  /* Services — 1 col */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.75rem 1.5rem; }

  /* About badge inline */
  .about__badge-float {
    position: static;
    margin-top: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: .75rem;
    border-radius: 8px;
  }

  /* Portfolio — 2 col kept, smaller gap */
  .portfolio__grid { gap: 4px; }

  /* Process number smaller */
  .process-step { grid-template-columns: 48px 1fr; }
  .process-step__number { width: 48px; height: 48px; font-size: .9375rem; }
  .process-step::before { left: 23px; top: 48px; }

  /* Testimonials full width snap */
  .testimonial-card { flex: 0 0 92vw; }

  /* Contact */
  .contact__form-wrap { padding: 1.25rem; }

  /* Section headers */
  .section__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }

  /* Footer compact */
  .footer { padding-top: 2.5rem; }
  .footer__inner { gap: 1.5rem; }
  .footer__col h4 { margin-bottom: .65rem; }
  .footer__bottom { padding: 1.25rem 0; }
}
