/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  background: #faf9f7;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.2; }
em { font-family: 'DM Serif Display', serif; font-style: italic; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.nav__logo span { color: #c45d3e; }
.nav__links { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__links a { opacity: 0.7; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  background: #1a1a1a; color: #faf9f7 !important; padding: 10px 24px;
  border-radius: 8px; opacity: 1 !important; transition: background 0.2s;
}
.nav__cta:hover { background: #333; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #1a1a1a; transition: 0.3s; }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  min-height: 85vh;
  display: flex; align-items: center;
}
.hero__tag {
  font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: #c45d3e; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 24px; color: #111; letter-spacing: -1px; }
.hero em { color: #c45d3e; }
.hero__sub { font-size: 19px; max-width: 560px; color: #555; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s;
  border: none; font-family: inherit;
}
.btn--primary { background: #1a1a1a; color: #faf9f7; }
.btn--primary:hover { background: #333; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #1a1a1a; border: 1.5px solid rgba(0,0,0,0.15); }
.btn--ghost:hover { border-color: #1a1a1a; }
.btn--full { width: 100%; text-align: center; }

/* ── SECTION COMMONS ── */
.section-tag {
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: #c45d3e; margin-bottom: 16px;
}
.section-intro { font-size: 18px; color: #666; max-width: 600px; margin-bottom: 48px; }
section h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; letter-spacing: -0.5px; }

/* ── SERVICES ── */
.services { padding: 100px 0; background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; margin-top: 16px; }
.card {
  padding: 40px; border-radius: 16px; background: #faf9f7; border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card__icon { font-size: 28px; margin-bottom: 20px; color: #c45d3e; }
.card h3 { font-size: 24px; margin-bottom: 16px; }
.card p { color: #555; margin-bottom: 12px; }
.card__list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.card__list li { padding-left: 20px; position: relative; color: #444; font-size: 15px; }
.card__list li::before { content: '→'; position: absolute; left: 0; color: #c45d3e; font-weight: 600; }

/* ── PROCESS ── */
.process { padding: 100px 0; }
.process__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 48px; }
.step { position: relative; }
.step__num { font-family: 'DM Serif Display', serif; font-size: 48px; color: rgba(196, 93, 62, 0.15); display: block; margin-bottom: 8px; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: #666; font-size: 16px; }

/* ── PRICING ── */
.pricing { padding: 100px 0; background: #fff; }
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.price-card {
  padding: 40px; border-radius: 16px; background: #faf9f7; border: 1px solid rgba(0,0,0,0.06);
  position: relative; display: flex; flex-direction: column;
}
.price-card--accent { background: #1a1a1a; color: #faf9f7; border-color: transparent; }
.price-card--accent .price-card__desc { color: rgba(255,255,255,0.6); }
.price-card--accent ul li { color: rgba(255,255,255,0.8); }
.price-card--accent ul li::before { color: #e8856c; }
.price-card--accent .btn--primary { background: #c45d3e; }
.price-card--accent .btn--primary:hover { background: #d4715a; }
.price-card__badge {
  position: absolute; top: -12px; right: 24px;
  background: #c45d3e; color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; letter-spacing: 0.5px;
}
.price-card h3 { font-size: 24px; margin-bottom: 8px; }
.price-card__desc { color: #888; font-size: 15px; margin-bottom: 20px; }
.price-card__price { font-size: 18px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.price-card--accent .price-card__price { border-color: rgba(255,255,255,0.1); }
.price-card__price strong { font-family: 'DM Serif Display', serif; font-size: 36px; }
.price-card__price span { color: #888; font-size: 15px; }
.price-card ul { flex: 1; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { padding-left: 20px; position: relative; font-size: 15px; color: #555; }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: #c45d3e; font-weight: 700; }
.pricing__note { margin-top: 32px; font-size: 14px; color: #999; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── PORTFOLIO ── */
.portfolio { padding: 100px 0; }
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.pf-card {
  display: block; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; color: inherit;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); border-color: rgba(196,93,62,0.2); }
.pf-card__preview {
  position: relative; width: 100%; height: 220px; overflow: hidden; background: #f0efed;
}
.pf-card__preview iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px;
  transform: scale(0.26); transform-origin: top left;
  border: none; pointer-events: none;
  opacity: 0; transition: opacity 0.5s;
}
.pf-card:hover .pf-card__preview iframe { opacity: 1; pointer-events: none; }
.pf-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,26,0.03); transition: all 0.3s;
}
.pf-card__overlay span {
  padding: 10px 24px; background: rgba(26,26,26,0.85); color: #faf9f7;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all 0.3s;
}
.pf-card:hover .pf-card__overlay { background: rgba(26,26,26,0.15); }
.pf-card:hover .pf-card__overlay span { opacity: 1; transform: translateY(0); }
.pf-card__info { padding: 20px 24px 24px; }
.pf-card__info h3 { font-size: 18px; margin-bottom: 6px; }
.pf-card__info p { font-size: 14px; color: #888; line-height: 1.5; margin-bottom: 12px; }
.pf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-card__tags span {
  padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 600;
  background: #faf9f7; color: #888; border: 1px solid rgba(0,0,0,0.06);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

.contact__link--whatsapp {
  background: #25d366 !important; border-color: #25d366 !important; color: #fff !important;
}
.contact__link--whatsapp span { color: #fff !important; }
.contact__link--whatsapp .contact__link-label { color: rgba(255,255,255,0.8) !important; }

/* ── ABOUT ── */
.about { padding: 100px 0; }
.about__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
.about__text p { color: #555; margin-bottom: 16px; }
.about__text h2 { margin-bottom: 24px; }
.about__facts { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.fact {
  padding: 28px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}
.fact__num { font-family: 'DM Serif Display', serif; font-size: 32px; color: #c45d3e; display: block; margin-bottom: 4px; }
.fact__label { font-size: 14px; color: #888; }

/* ── TECH ── */
.tech { padding: 80px 0; background: #fff; }
.tech__tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tech__tags span {
  padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
  background: #faf9f7; border: 1px solid rgba(0,0,0,0.08); color: #555;
}

/* ── CONTACT ── */
.contact { padding: 100px 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__text p { color: #555; margin-bottom: 24px; }
.contact__channels { display: flex; flex-direction: column; gap: 16px; }
.contact__link {
  display: flex; flex-direction: column; padding: 20px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); transition: border-color 0.2s;
}
.contact__link:hover { border-color: #c45d3e; }
.contact__link-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #c45d3e; margin-bottom: 4px; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 14px 18px; border-radius: 10px; border: 1.5px solid rgba(0,0,0,0.1);
  font-family: inherit; font-size: 15px; background: #fff; color: #1a1a1a;
  transition: border-color 0.2s; outline: none;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { border-color: #c45d3e; }
.contact__form textarea { resize: vertical; min-height: 100px; }

/* ── FOOTER ── */
.footer { padding: 40px 0; text-align: center; font-size: 14px; color: #aaa; border-top: 1px solid rgba(0,0,0,0.06); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0; background: rgba(250,249,247,0.98);
    backdrop-filter: blur(12px); padding: 32px; gap: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav__links.open .nav__cta { text-align: center; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__sub { font-size: 17px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__facts { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .about__facts .fact { flex: 1; min-width: 120px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 60px 0; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero__sub, .hero__actions, .hero__tag {
  animation: fadeUp 0.7s ease-out both;
}
.hero__tag { animation-delay: 0s; }
.hero h1 { animation-delay: 0.1s; }
.hero__sub { animation-delay: 0.2s; }
.hero__actions { animation-delay: 0.3s; }

/* ── SCROLL REVEAL ── */
.card, .step, .price-card, .fact, .tech__tags span, .pf-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.card.visible, .step.visible, .price-card.visible, .fact.visible, .tech__tags span.visible, .pf-card.visible {
  opacity: 1; transform: translateY(0);
}
