@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --piteco-navy-950: #071525;
  --piteco-navy-900: #0b1d33;
  --piteco-navy-800: #102b49;
  --piteco-ink: #172231;
  --piteco-ivory: #f7f4ed;
  --piteco-paper: #fffdf8;
  --piteco-muted: #667386;
  --piteco-line: #dce2e8;
  --piteco-burgundy: #922f39;
  --piteco-burgundy-dark: #74242d;
  --piteco-teal: #237d78;
  --piteco-gold: #d9a441;
  --piteco-radius-sm: 12px;
  --piteco-radius: 22px;
  --piteco-radius-lg: 34px;
  --piteco-shadow: 0 24px 70px rgba(7, 21, 37, .12);
  --piteco-shadow-soft: 0 14px 40px rgba(7, 21, 37, .08);
}

html { scroll-behavior: smooth; }
body {
  color: var(--piteco-ink);
  background: var(--piteco-paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -.035em;
}

a { text-underline-offset: 3px; }
::selection { color: #fff; background: var(--piteco-burgundy); }

.piteco-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.piteco-header .piteco-brand-lockup img { width: 58px !important; }
.piteco-footer .piteco-brand-lockup img { width: 64px !important; }
.trust-mark .piteco-brand-lockup img { width: 220px !important; max-width: 100%; }
.about-mark .piteco-brand-lockup img { width: 300px !important; max-width: 100%; }
.piteco-brand-name .elementor-heading-title { letter-spacing: -.04em; }
.piteco-header .elementor-nav-menu a { letter-spacing: -.01em; }

.piteco-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid var(--piteco-line);
  border-radius: 999px;
  background: #fff;
  color: var(--piteco-navy-800);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.piteco-hero .piteco-kicker,
.piteco-dark-panel .piteco-kicker {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.piteco-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--piteco-gold);
  box-shadow: 0 0 0 5px rgba(217,164,65,.14);
}

.piteco-hero {
  overflow: hidden;
  background-color: var(--piteco-navy-950);
}
.piteco-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% 42%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,47,57,.28), transparent 65%);
  pointer-events: none;
}
.piteco-hero-copy { position: relative; z-index: 2; }
.piteco-hero .elementor-heading-title { text-wrap: balance; }
.piteco-hero .elementor-widget-text-editor { max-width: 690px; }

.piteco-button .elementor-button,
.piteco-button-dark .elementor-button,
.piteco-button-light .elementor-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.piteco-button .elementor-button:hover,
.piteco-button-dark .elementor-button:hover,
.piteco-button-light .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.piteco-button .elementor-button,
.piteco-button-dark .elementor-button {
  color: #fff !important;
  border-color: var(--piteco-burgundy) !important;
  background: var(--piteco-burgundy) !important;
}
.piteco-button-light .elementor-button {
  color: var(--piteco-navy-900) !important;
  border-color: var(--piteco-ivory) !important;
  background: var(--piteco-ivory) !important;
}

.piteco-stat {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--piteco-burgundy);
}

.piteco-section-heading .elementor-heading-title { text-wrap: balance; }
.piteco-section-copy { max-width: 720px; }

.piteco-card,
.piteco-service-card,
.piteco-project-card {
  height: 100%;
  border: 1px solid var(--piteco-line);
  border-radius: var(--piteco-radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--piteco-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.piteco-card:hover,
.piteco-service-card:hover,
.piteco-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(146,47,57,.35);
  box-shadow: var(--piteco-shadow);
}
.piteco-service-card .elementor-icon { color: var(--piteco-burgundy); }
.piteco-service-card .elementor-icon-box-title { margin-top: 0; }

.process-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--piteco-radius);
  background: rgba(255,255,255,.055);
}

.piteco-project-card { overflow: hidden; }
.piteco-project-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 28px;
  background: #fff;
}

.piteco-logo-rail img {
  max-height: 54px;
  max-width: 150px;
  width: auto !important;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .2s ease, opacity .2s ease;
}
.piteco-logo-rail img:hover { filter: none; opacity: 1; }
.piteco-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 34px;
  padding: 30px;
  border: 1px solid var(--piteco-line);
  border-radius: var(--piteco-radius);
  background: #fff;
}

.piteco-dark-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(35,125,120,.28), transparent 32%),
    linear-gradient(135deg, var(--piteco-navy-950), var(--piteco-navy-800));
}
.piteco-dark-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  pointer-events: none;
}

.piteco-process-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--piteco-burgundy);
  font-weight: 800;
}

.piteco-form .elementor-field {
  min-height: 52px;
  border-radius: 12px !important;
  border-color: var(--piteco-line) !important;
  background: #fff !important;
}
.piteco-form textarea.elementor-field { min-height: 150px; }
.piteco-form .elementor-button { border-radius: 999px !important; }

.piteco-footer a { color: rgba(255,255,255,.76); }
.piteco-footer a:hover { color: #fff; }

@media (max-width: 1024px) {
  .piteco-header { backdrop-filter: none; background: var(--piteco-navy-950); }
  .piteco-header .piteco-brand-lockup img { width: 50px !important; }
}

@media (max-width: 767px) {
  .piteco-header .brand-row {
    width: 62% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
  }
  .piteco-header .brand-copy {
    width: auto !important;
    min-width: 0;
  }
  .piteco-header .brand-copy .elementor-heading-title {
    font-size: 17px !important;
    white-space: nowrap;
  }
  .piteco-header .brand-copy .elementor-widget-text-editor { display: none; }
  .piteco-header .header-cta { display: none !important; }
  .piteco-header .elementor-widget-nav-menu {
    width: auto !important;
    margin-left: auto;
  }
  .piteco-kicker { font-size: 11px; }
  .piteco-card:hover,
  .piteco-service-card:hover,
  .piteco-project-card:hover { transform: none; }
  .piteco-project-card img { padding: 20px; }
  .piteco-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
