/*=============================================================
  DECORETTE — THEME V4 | Shared Dark-Gold Design System
  Applies to: about, contact, portfolio, blog, careers, blog-posts
=============================================================*/

/* ── TOKENS ── */
:root {
  --g:  #C9A84C;
  --g2: #E8C870;
  --g3: #F5E0A0;
  --ga: rgba(201,168,76,.18);
  --bk: #000;
  --d1: #060606;
  --d2: #0C0C0C;
  --d3: #141414;
  --d4: #1a1a1a;
  --w:  #fff;
  --t7: rgba(255,255,255,.7);
  --t5: rgba(255,255,255,.5);
  --t3: rgba(255,255,255,.3);
  --e1: cubic-bezier(.76,0,.24,1);
  --e2: cubic-bezier(.22,1,.36,1);
  --e3: cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { overflow-x: hidden; scroll-behavior: smooth }
body {
  background: var(--bk);
  color: var(--w);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button { cursor: pointer; border: none; background: none; font-family: inherit }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .028;
  animation: grain .5s steps(3) infinite;
}
@keyframes grain {
  0%  { transform: translate(0,0) }
  25% { transform: translate(-2%,-1%) }
  50% { transform: translate(2%,1%) }
  75% { transform: translate(-1%,2%) }
  100%{ transform: translate(1%,-2%) }
}

/* ── NAVBAR ── */
.v4-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s, padding .4s, backdrop-filter .5s;
}
.v4-nav.scrolled {
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(24px);
  padding: 13px 56px;
  border-bottom: 1px solid rgba(201,168,76,.09);
}
.v4-nav-logo { display: flex; align-items: center; gap: 12px }
.v4-nav-logo img { width: 34px; height: 34px; border-radius: 5px; object-fit: contain }
.v4-nav-brand { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 900; letter-spacing: 3px; color: var(--g) }
.v4-nav-sub { font-size: .55rem; letter-spacing: 1px; color: var(--t5); margin-top: 1px }
.v4-nav-links { display: flex; gap: 32px; list-style: none }
.v4-nav-links a {
  font-size: .78rem; letter-spacing: .5px; color: var(--t7);
  position: relative; transition: color .3s;
}
.v4-nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--g); transition: width .3s var(--e2);
}
.v4-nav-links a:hover, .v4-nav-links a.active { color: var(--w) }
.v4-nav-links a:hover::after, .v4-nav-links a.active::after { width: 100% }
.v4-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g); color: #000;
  padding: 9px 22px; border-radius: 3px;
  font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: background .3s, transform .2s;
}
.v4-nav-cta:hover { background: var(--g2); transform: translateY(-1px) }
.v4-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px }
.v4-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--w); transition: .3s }
.v4-mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 790;
  background: rgba(0,0,0,.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.v4-mobile-menu.open { display: flex }
.v4-mobile-menu a { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--t7); transition: color .3s }
.v4-mobile-menu a:hover { color: var(--g) }

/* ── PAGE HERO ── */
.v4-hero {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 24px 80px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,.06) 0%, transparent 65%);
}
.v4-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bk));
}
.v4-hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.v4-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto }
.v4-eyebrow {
  font-size: .65rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--g); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.v4-eyebrow::before, .v4-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px; background: rgba(201,168,76,.4);
}
.v4-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px;
}
.v4-hero-h1 em { font-style: italic; color: var(--g) }
.v4-hero-sub {
  font-size: 1rem; color: var(--t7); line-height: 1.75;
  max-width: 580px; margin: 0 auto 36px;
}
.v4-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }

/* ── SECTION BASE ── */
.v4-section { padding: 96px 24px }
.v4-section-dark { background: var(--d2) }
.v4-section-darker { background: var(--d1) }
.v4-section-card { background: var(--d3) }
.v4-inner { max-width: 1100px; margin: 0 auto }
.v4-inner-sm { max-width: 860px; margin: 0 auto }
.v4-section-head { margin-bottom: 56px }
.v4-section-head.center { text-align: center }
.v4-label {
  font-size: .63rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--g); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.v4-label.center { justify-content: center }
.v4-label::before {
  content: ''; display: block; width: 24px; height: 1px;
  background: rgba(201,168,76,.5);
}
.v4-label.center::after {
  content: ''; display: block; width: 24px; height: 1px;
  background: rgba(201,168,76,.5);
}
.v4-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15; color: var(--w);
}
.v4-h2 em { font-style: italic; color: var(--g) }
.v4-lead {
  font-size: .97rem; color: var(--t7); line-height: 1.8;
  margin-top: 14px; max-width: 640px;
}
.v4-lead.center { margin: 14px auto 0 }

/* ── BUTTONS ── */
.v4-btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--g); color: #000;
  padding: 13px 30px; border-radius: 3px;
  font-weight: 700; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase;
  transition: background .3s, transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.v4-btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25), transparent 70%);
  transform: translateX(-100%); transition: transform .5s;
}
.v4-btn-gold:hover { background: var(--g2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,.25) }
.v4-btn-gold:hover::before { transform: translateX(100%) }
.v4-btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(201,168,76,.4); color: var(--g);
  padding: 12px 28px; border-radius: 3px;
  font-weight: 500; font-size: .8rem; letter-spacing: .5px;
  transition: border-color .3s, background .3s, transform .3s;
}
.v4-btn-outline:hover { border-color: var(--g); background: rgba(201,168,76,.07); transform: translateY(-2px) }
.v4-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--t7); font-size: .8rem; font-weight: 500;
  transition: color .3s; position: relative; padding-bottom: 2px;
}
.v4-btn-ghost::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--g); transition: width .3s var(--e2);
}
.v4-btn-ghost:hover { color: var(--g) }
.v4-btn-ghost:hover::after { width: 100% }

/* ── STAT STRIP ── */
.v4-stats {
  background: var(--d2);
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
  padding: 44px 48px;
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
}
.v4-stat { text-align: center }
.v4-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 900; color: var(--g);
  line-height: 1;
}
.v4-stat-lab {
  font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--t5); margin-top: 6px;
}

/* ── CARDS ── */
.v4-card {
  background: var(--d3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .35s var(--e2), transform .35s var(--e2), box-shadow .35s;
}
.v4-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.v4-card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(201,168,76,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--g); font-size: 1.2rem; margin-bottom: 16px;
  transition: background .3s;
}
.v4-card:hover .v4-card-icon { background: rgba(201,168,76,.2) }
.v4-card-title { font-weight: 600; font-size: .95rem; margin-bottom: 8px }
.v4-card-text { font-size: .83rem; color: var(--t5); line-height: 1.65 }

/* ── TIMELINE ── */
.v4-timeline { position: relative; padding-left: 32px }
.v4-timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(to bottom, var(--g), transparent);
}
.v4-timeline-item { position: relative; margin-bottom: 40px }
.v4-timeline-item::before {
  content: ''; position: absolute; left: -29px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--g); box-shadow: 0 0 0 3px rgba(201,168,76,.2);
}
.v4-timeline-year {
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--g); margin-bottom: 6px;
}
.v4-timeline-title { font-weight: 600; font-size: .95rem; margin-bottom: 6px }
.v4-timeline-text { font-size: .82rem; color: var(--t5); line-height: 1.6 }

/* ── PROCESS STEPS ── */
.v4-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px }
.v4-step {
  text-align: center; padding: 32px 20px;
  border: 1px solid rgba(255,255,255,.05); border-radius: 12px;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.v4-step:hover { border-color: rgba(201,168,76,.25); transform: translateY(-4px) }
.v4-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  background: var(--d2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 900; color: var(--g);
  margin: 0 auto 18px;
}
.v4-step-title { font-weight: 600; font-size: .92rem; margin-bottom: 8px }
.v4-step-text { font-size: .78rem; color: var(--t5); line-height: 1.55 }

/* ── FORM ── */
.v4-form-group { position: relative; margin-bottom: 20px }
.v4-form-group label {
  display: block; font-size: .72rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--t5); margin-bottom: 8px;
}
.v4-input, .v4-textarea, .v4-select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: var(--w);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  padding: 13px 16px;
  transition: border-color .3s, background .3s;
  outline: none;
  appearance: none;
}
.v4-input:focus, .v4-textarea:focus, .v4-select:focus {
  border-color: var(--g);
  background: rgba(201,168,76,.05);
}
.v4-input::placeholder, .v4-textarea::placeholder { color: rgba(255,255,255,.25) }
.v4-textarea { resize: vertical; min-height: 130px }
.v4-select option { background: #111; color: var(--w) }

/* ── SCROLL REVEAL ── */
[data-v4r] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--e2), transform .8s var(--e2);
}
[data-v4r].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-v4r="fade"] { transform: none }
[data-v4r="left"] { transform: translateX(-32px) }
[data-v4r="right"] { transform: translateX(32px) }
[data-v4r="scale"] { transform: scale(.92) }

/* ── GOLD DIVIDER ── */
.v4-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.3), transparent);
  margin: 0;
}

/* ── GOLD GLOW BADGE ── */
.v4-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .7rem; letter-spacing: 1px; color: var(--g);
  text-transform: uppercase; font-weight: 600;
}

/* ── READING PROGRESS BAR ── */
#v4-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: linear-gradient(to right, var(--g), var(--g2));
  width: 0%; transition: width .1s linear;
}

/* ── FOOTER ── */
.v4-footer {
  background: var(--d1);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 72px 48px 40px;
}
.v4-footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.v4-footer-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; letter-spacing: 4px; color: var(--g) }
.v4-footer-tagline { font-size: .78rem; color: var(--t5); margin: 8px 0 20px; line-height: 1.6 }
.v4-footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px }
.v4-footer-contact-item i { color: var(--g); font-size: .8rem; margin-top: 3px; flex-shrink: 0 }
.v4-footer-contact-item a, .v4-footer-contact-item span { font-size: .8rem; color: var(--t5); line-height: 1.5; transition: color .3s }
.v4-footer-contact-item a:hover { color: var(--g) }
.v4-footer-col-title { font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--g); margin-bottom: 18px }
.v4-footer-links { list-style: none }
.v4-footer-links li { margin-bottom: 10px }
.v4-footer-links a { font-size: .8rem; color: var(--t5); transition: color .3s, padding-left .3s }
.v4-footer-links a:hover { color: var(--g); padding-left: 4px }
.v4-footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.v4-footer-copy { font-size: .72rem; color: rgba(255,255,255,.25) }
.v4-footer-legal { display: flex; gap: 20px }
.v4-footer-legal a { font-size: .72rem; color: rgba(255,255,255,.25); transition: color .3s }
.v4-footer-legal a:hover { color: var(--g) }

/* ── BACK TO TOP ── */
#v4-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 700;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--g); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
#v4-top.show { opacity: 1; pointer-events: all }
#v4-top:hover { transform: translateY(-3px) }

/* ── FLOATING WHATSAPP ── */
#v4-wa {
  position: fixed; bottom: 86px; right: 32px; z-index: 700;
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  transition: transform .3s;
}
#v4-wa:hover { transform: translateY(-3px) scale(1.1) }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .v4-nav { padding: 18px 28px }
  .v4-nav.scrolled { padding: 12px 28px }
  .v4-footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .v4-nav-links, .v4-nav-cta { display: none }
  .v4-hamburger { display: flex }
  .v4-nav { padding: 16px 20px }
  .v4-hero { padding: 110px 20px 60px }
  .v4-section { padding: 64px 20px }
  .v4-stats { gap: 32px; padding: 32px 20px }
  .v4-footer { padding: 48px 20px 32px }
  .v4-footer-grid { grid-template-columns: 1fr; gap: 32px }
  .v4-footer-bottom { flex-direction: column; text-align: center }
  .v4-stat-num { font-size: 2rem }
  #v4-top, #v4-wa { right: 20px }
}
