﻿:root {
  --bg: #f6f6f7;
  --bg-soft: #ececef;
  --text: #0f1013;
  --muted: #3b3d45;
  --brand: #d40018;
  --brand-strong: #a60014;
  --accent: #1a1b20;
  --accent-2: #2f3038;
  --card: #ffffff;
  --line: #dddddf;
  --whatsapp: #25d366;
  --shadow: 0 16px 36px rgba(23, 24, 29, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(212, 0, 24, 0.08) 0%, transparent 28%),
    linear-gradient(315deg, rgba(15, 16, 19, 0.08) 0%, transparent 36%),
    var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0 0 0.6rem;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
}

p { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section { padding: 5.5rem 0; }
.section-soft {
  background: linear-gradient(180deg, #f1f1f4 0%, #fbfbfc 100%);
  border-block: 1px solid rgba(221, 221, 223, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 246, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 221, 223, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.14rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.main-nav a:hover { color: var(--brand); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 800;
}

.hero {
  padding-top: 6.6rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem 0 auto;
  height: 220px;
  background: linear-gradient(90deg, rgba(212, 0, 24, 0.14), rgba(30, 31, 38, 0.1));
  filter: blur(38px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: center;
}

.dev-strip {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.dev-strip-item {
  margin: 0;
  padding: 0.7rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dev-strip-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.dev-strip-item p {
  margin: 0.55rem 0 0.2rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
}

.hero-title-strong {
  color: #101116;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: var(--brand);
}

.hero-card,
.card,
.process-wrap,
.cta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f8 100%);
}

.hero-card ul { margin: 0.8rem 0 0; padding-left: 1rem; }
.hero-card li { margin: 0.4rem 0; color: var(--muted); }

.hero-logo-wrap {
  margin-bottom: 0.8rem;
  border-radius: 8px;
  padding: 0.9rem;
  background: linear-gradient(130deg, #ffe9ec 0%, #f2f2f5 100%);
  border: 1px solid #e2d7da;
  text-align: center;
}

.hero-logo {
  width: clamp(180px, 30vw, 280px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(24, 24, 30, 0.24));
}

.hero-tagline {
  margin-top: 0.95rem;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--brand-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #eb112c 44%, var(--accent) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(212, 0, 24, 0.28);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions {
  justify-content: flex-start;
}

.btn-whatsapp {
  background: linear-gradient(120deg, #1fb75a 0%, var(--whatsapp) 58%, #128c4d 100%);
}

.whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.section-head { margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }

.about-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.card {
  padding: 1.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-image {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  border: 1px solid #d2d4dc;
  box-shadow: 0 12px 24px rgba(20, 22, 30, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .service-image {
  transform: scale(1.02);
  box-shadow: 0 16px 30px rgba(20, 22, 30, 0.2);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(23, 24, 29, 0.18);
}

.values {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.values span {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-strong);
  border-radius: 8px;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.kpi-label {
  margin: 0 0 0.3rem;
  color: #5a5d67;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-value {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand);
}

.kpi-note {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.dash-panel {
  background: linear-gradient(145deg, #12141b 0%, #20232f 100%);
  border: 1px solid #333747;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.dash-panel h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f0f1f5;
  font-weight: 600;
  margin: 0.65rem 0 0.3rem;
}

.dash-bar {
  width: 100%;
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.dash-bar span {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff2d45 0%, #d40018 55%, #8f0010 100%);
}

.process-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  padding: 1.5rem;
}

.process-wrap ol {
  margin: 0;
  padding-left: 1.2rem;
}

.process-wrap li {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.cta-box {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(130deg, #111218 0%, #2f3038 45%, #d40018 100%);
  color: #fff;
}

.cta-box h2,
.cta-box p { color: #fff; }

.btn-light {
  background: #fff;
  color: #9b0012;
}

.btn-contact {
  color: #128c4d;
}

.contact-mail {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-mail:hover { border-color: #fff; }

.floating-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #25d366 0%, #128c4d 100%);
  box-shadow: 0 14px 28px rgba(18, 140, 77, 0.32);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(18, 140, 77, 0.38);
}

.floating-whatsapp .whatsapp-icon {
  width: 2rem;
  height: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 920px) {
  .hero-grid,
  .dev-strip,
  .about-grid,
  .kpi-grid,
  .services-grid,
  .process-wrap {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 4%;
    width: min(260px, 92%);
    display: none;
    flex-direction: column;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .menu-btn { display: inline-block; }

  .hero-logo {
    width: clamp(160px, 50vw, 220px);
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
  }
}
