/* ========================================
   FEB INTERIORS — REDESIGN v2
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette — Warm Neutrals */
  --ivory: #FEFCF9;
  --cream: #F5F0EB;
  --sand: #E8E3DC;
  --charcoal: #2C2C2C;
  --dark: #1C1C1E;
  --muted: #6B6B6B;
  --gold: #C9A96E;
  --gold-hover: #B8954F;
  --white: #FFFFFF;
  --whatsapp: #25D366;

  /* Typography */
  --heading: 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1140px;
  --gutter: clamp(24px, 5vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit
}

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: var(--section-pad) 0
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3 {
  font-family: var(--heading);
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.875rem, 6vw, 3.5rem)
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem)
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem)
}

p {
  max-width: 580px
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-intro {
  max-width: 520px;
  margin-bottom: 48px;
}

.section-intro h2 {
  margin-top: 8px
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-dark:hover {
  background: var(--dark);
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--sand);
}

.btn-outline:hover {
  border-color: var(--charcoal)
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover)
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--gold)
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

.btn-ghost:hover {
  border-color: var(--white)
}

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp)
}

.btn-wa:hover {
  background: #1ebe55;
  border-color: #1ebe55
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
  transition: all .3s ease;
}

.nav.scrolled {
  height: 100px;
  background: rgba(254, 252, 249, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: -97px;
}

.nav-logo img {
  height: 200px;
  width: auto;
  display: block;
  align-items: flex-start;
  transition: opacity .3s ease;
}

/* White logo visible on dark/transparent nav */
.nav-logo .logo-white {
  opacity: 1
}

.nav-logo .logo-dark {
  opacity: 0;
  position: absolute
}

/* Dark logo visible on scrolled (light) nav */
.nav.scrolled .nav-logo .logo-white {
  opacity: 0;
  position: absolute
}

.nav.scrolled .nav-logo .logo-dark {
  opacity: 1;
  position: relative
}

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  transition: color .3s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white)
}

.nav.scrolled .nav-links a {
  color: var(--muted)
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a[aria-current="page"] {
  color: var(--charcoal)
}

.nav-cta {
  font-size: 12px;
  padding: 12px 24px
}

.nav-hamburger {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: 8px
}

.nav.scrolled .nav-hamburger {
  color: var(--charcoal)
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .btn {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--charcoal);
  padding: 16px;
  line-height: 1;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px
}

.hero-content .tag {
  color: var(--gold);
  margin-bottom: 20px
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, .95);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  color: var(--gold);
}

/* ============================
   INTRO / 2-COL
   ============================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split-text .tag {
  margin-bottom: 8px
}

.split-text h2 {
  margin-bottom: 16px
}

.split-text p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8
}

.split-img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================
   SERVICES CARDS
   ============================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

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

.card-imgwrap {
  overflow: hidden;
  height: 220px
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card:hover .card-img {
  transform: scale(1.04)
}

.card-body {
  padding: 24px
}

.card-body .tag {
  margin-bottom: 6px
}

.card-body h3 {
  margin-bottom: 8px
}

.card-body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px
}

.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
}

.card:hover .card-link {
  gap: 10px;
  color: var(--gold)
}

/* ============================
   PORTFOLIO GRID
   ============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05)
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 30, .8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1
}

.gallery-overlay span {
  font-size: 13px;
  font-weight: 500;
  color: var(--white)
}

/* ============================
   STATS
   ============================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 0;
  background: var(--dark);
  text-align: center;
}

.stat-num {
  font-family: var(--heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-top: 8px;
  letter-spacing: .08em
}

/* ============================
   WHY US
   ============================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px
}

.feature {
  padding-left: 20px;
  border-left: 2px solid var(--gold)
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.15rem
}

.feature p {
  font-size: 14px;
  line-height: 1.8
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.testi {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 32px;
}

.testi blockquote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.testi cite {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: var(--charcoal)
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  position: relative;
  text-align: center;
  background: var(--dark);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .15;
  z-index: 0;
}

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

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px
}

.cta-banner p {
  color: rgba(255, 255, 255, .6);
  margin: 0 auto 32px;
  max-width: 480px;
  font-size: 15px
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .5);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px
}

.footer h4 {
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 20px
}

.footer-brand .name {
  font-family: var(--heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px
}

.footer-brand p {
  font-size: 14px;
  margin-bottom: 4px
}

.footer a:hover {
  color: var(--gold)
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer ul a {
  font-size: 14px
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}

/* ============================
   FORMS
   ============================ */
.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--charcoal)
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand);
  border-radius: 3px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color .25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold)
}

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

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1
}

.page-hero .tag {
  color: var(--gold)
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px
}

.page-hero p {
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  font-size: 16px
}

/* ============================
   SERVICE DETAIL (services page)
   ============================ */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.svc-detail.flip {
  direction: rtl
}

.svc-detail.flip>* {
  direction: ltr
}

.svc-detail img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/3;
  object-fit: cover
}

.svc-detail ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px
}

.svc-detail ul li {
  font-size: 15px;
  color: var(--muted)
}

/* ============================
   CONTACT
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inline-link {
  color: var(--charcoal);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  transition: border-color .25s
}

.inline-link:hover {
  border-color: var(--charcoal)
}

/* ============================
   WHATSAPP FLOAT
   ============================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
  z-index: 900;
  transition: transform .25s;
}

.wa-float:hover {
  transform: scale(1.1)
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff
}

/* Mobile sticky bar */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--charcoal);
  text-align: center;
}

.sticky-cta a {
  display: block;
  padding: 16px;
  color: var(--white);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase
}

/* ============================
   MOBILE MENU
   ============================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ivory);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-menu.active {
  display: flex
}

.mobile-menu a {
  font-family: var(--heading);
  font-size: 1.75rem;
  color: var(--charcoal)
}

.mobile-menu .btn {
  margin-top: 12px
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.75rem;
  color: var(--charcoal)
}

/* ============================
   REVEAL ANIMATION
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease
}

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

.d1 {
  transition-delay: .1s
}

.d2 {
  transition-delay: .2s
}

.d3 {
  transition-delay: .3s
}

/* ============================
   RESPONSIVE
   ============================ */
@media(max-width:1024px) {

  .cards-grid,
  .features {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  section {
    padding: clamp(64px, 8vw, 80px) 0
  }

  .nav-links,
  .nav-cta {
    display: none
  }

  .nav-hamburger {
    display: block
  }

  .hero {
    height: 100svh;
    min-height: 500px
  }

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

  .hero-sub {
    margin-left: auto;
    margin-right: auto
  }

  .hero-btns {
    justify-content: center
  }

  .split,
  .svc-detail,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .svc-detail.flip {
    direction: ltr
  }

  .cards-grid,
  .features,
  .gallery,
  .testimonials-grid,
  .stats {
    grid-template-columns: 1fr
  }

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

  .stats {
    padding: 40px 0
  }

  .sticky-cta {
    display: block
  }

  body {
    padding-bottom: 52px
  }

  .wa-float {
    bottom: 72px
  }

  .page-hero {
    padding: 120px 0 48px
  }
}

@media(max-width:480px) {
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important
  }
}