:root {
  --hermes: #f37021;
  --hermes-deep: #d85a0a;
  --hermes-light: #ff9a4d;
  --hermes-soft: rgba(243, 112, 33, 0.12);
  --hermes-gradient-h: linear-gradient(90deg, #f37021 0%, #d85a0a 100%);
  --hermes-glow: rgba(243, 112, 33, 0.28);
  --bg: #ffffff;
  --bg-soft: #f8f7f5;
  --ink: #1f1f1f;
  --muted: #5a5a5a;
  --line: rgba(31, 31, 31, 0.09);
  --glass: rgba(255, 255, 255, 0.94);
  --nav-h: 4.5rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow: none;
  --shadow-lg: none;
  --img-filter: saturate(1.08) contrast(1.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--bg);
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hermes-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--hermes);
  border-radius: 1px;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--hermes-gradient-h, var(--hermes));
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--hermes-light, #ff9a4d) 0%, var(--hermes-deep) 100%);
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(243, 112, 33, 0.45);
  background: var(--hermes-soft);
  color: var(--hermes-deep);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(26, 29, 35, 0.06);
}

.header-inner {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 3rem;
  width: auto;
  max-width: min(320px, 58vw);
  object-fit: contain;
}

.nav-item-mobile-only,
.nav-item-more {
  display: none;
}

.nav.is-open .nav-item-more {
  display: list-item;
}

.nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown.is-active-section .nav-dropdown-toggle {
  color: var(--hermes);
}

.nav-dropdown-chevron {
  width: 0.9rem;
  height: 0.9rem;
}

.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 150;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
  background: var(--hermes-soft);
  color: var(--hermes-deep);
}

@media (max-width: 820px) {
  .nav-dropdown {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--hermes);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .call,
.header-call {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--hermes-deep);
  white-space: nowrap;
}

.header-actions .call:hover,
.header-call:hover {
  color: var(--hermes);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.menu-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(1.15) contrast(1.1) brightness(0.95);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
}

.hero-grid {
  display: none;
}

.hero-sparks {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(243, 112, 33, 0.22);
  background: var(--hermes-soft);
  color: var(--hermes-deep);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.18;
  font-weight: 600;
  max-width: 14ch;
  margin-bottom: 1.15rem;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero h1 #heroHighlight {
  color: var(--hermes);
}

.hero-lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 42rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--hermes);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 32rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 32rem;
  filter: var(--img-filter);
  transition: transform 0.8s ease;
}

.about-media:hover img {
  transform: scale(1.03);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.about-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.about-card small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 112, 33, 0.4);
  box-shadow: var(--shadow-lg);
}

.service-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #e8e8e8;
}

.service-body h3 a {
  color: inherit;
  text-decoration: none;
}

.service-body h3 a:hover {
  color: var(--hermes-deep);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-thumb img {
  transform: scale(1.08);
}

.service-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.service-num {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--hermes);
  font-size: 0.78rem;
  font-weight: 600;
}

.service-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.service-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: var(--hermes-soft);
  color: var(--hermes);
  margin-bottom: 0.85rem;
}

.service-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.service-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.service-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-subs {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-subs span {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* Why */
.why {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  padding: 1.5rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 112, 33, 0.3);
  box-shadow: var(--shadow);
}

.why-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--hermes);
  margin-bottom: 0.85rem;
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--hermes-deep);
  border-color: rgba(243, 112, 33, 0.45);
  background: var(--hermes-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 112, 33, 0.4);
  box-shadow: var(--shadow-lg);
}

.project-card.is-hidden {
  display: none;
}

.project-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-thumb img {
  transform: scale(1.1);
}

.project-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.project-tag {
  display: inline-block;
  color: var(--hermes-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}

.project-body h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.project-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* References */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ref-card {
  min-height: 6.5rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ref-card:hover {
  border-color: rgba(243, 112, 33, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--hermes-deep);
}

/* Process */
.process {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--hermes), rgba(243, 112, 33, 0.35));
  opacity: 0.5;
}

.step {
  position: relative;
  padding-top: 2.5rem;
}

.step-dot {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--hermes);
  box-shadow: 0 0 16px var(--hermes-glow);
}

.step-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(243, 112, 33, 0.4);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-box {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 112, 33, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 112, 33, 0.15), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(243, 112, 33, 0.1), transparent 40%),
    linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 0.85rem;
}

.cta-box p {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-item h3 {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--hermes-deep);
  margin-bottom: 0.35rem;
}

.contact-item p,
.contact-item a {
  font-size: 1.05rem;
  font-weight: 650;
}

.contact-item a:hover {
  color: var(--hermes);
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(243, 112, 33, 0.55);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 0.85rem;
}

.map {
  margin-top: 2rem;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}

.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 3rem;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--muted);
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer h4 {
  font-size: 0.875rem;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--hermes);
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.socials a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  border-color: rgba(243, 112, 33, 0.45);
  background: var(--hermes-soft);
  color: var(--hermes);
}

.socials svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Floating */
.whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 90;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
}

.whatsapp:hover {
  transform: scale(1.06);
}

.whatsapp svg {
  width: 1.45rem;
  height: 1.45rem;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  color: var(--hermes);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  place-items: center;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top svg {
  width: 1.1rem;
  height: 1.1rem;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

/* Trust band */
.trust-band {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0 0;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.75rem;
}

.trust-stat {
  text-align: center;
  padding: 1.15rem 0.85rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 112, 33, 0.35);
  box-shadow: var(--shadow-lg);
}

.trust-stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--hermes);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.trust-stat span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-track span::before {
  content: "●";
  color: var(--hermes);
  margin-right: 0.65rem;
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About values */
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.value-chip svg {
  width: 1rem;
  height: 1rem;
  color: var(--hermes);
  flex-shrink: 0;
}

/* Capabilities tabs */
.cap-layout {
  display: grid;
  gap: 1.25rem;
}

.cap-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cap-tab {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cap-tab.is-active,
.cap-tab:hover {
  color: var(--hermes-deep);
  border-color: rgba(243, 112, 33, 0.4);
  background: var(--hermes-soft);
}

.cap-panels {
  position: relative;
  min-height: 20rem;
}

.cap-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  animation: capFade 0.35s ease;
}

.cap-panel.is-active {
  display: grid;
}

@keyframes capFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cap-panel-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: #e8e8e8;
}

.cap-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform 0.6s ease;
}

.cap-panel.is-active .cap-panel-media img {
  transform: scale(1.02);
}

.cap-panel-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.cap-panel-body ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.cap-panel-body li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cap-panel-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--hermes);
}

.service-filters {
  margin-bottom: 1.5rem;
}

.service-card.is-hidden {
  display: none;
}

/* Testimonials */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 10% 0%, rgba(243, 112, 33, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 100%, rgba(243, 112, 33, 0.07), transparent 50%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.testimonials-head .section-head {
  margin-bottom: 0;
  max-width: 36rem;
}

.testimonials-score {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 112, 33, 0.18);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 9.5rem;
}

.testimonials-score-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hermes);
}

.testimonials-stars {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
}

.testimonials-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--hermes);
}

.testimonials-score > span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.testimonials-stat {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonials-stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--hermes);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.testimonials-stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.testimonials-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-viewport {
  overflow: hidden;
  padding: 0.35rem 0.15rem;
}

.testimonial-track {
  display: flex;
  gap: 1.15rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  min-width: 0;
}

.testimonial-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 112, 33, 0.28);
  box-shadow: var(--shadow-lg);
}

.testimonial-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--hermes-soft);
  color: var(--hermes-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.testimonial-quote {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  fill: rgba(243, 112, 33, 0.12);
}

.testimonial-text {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.35rem;
  padding-right: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  border: 2px solid rgba(243, 112, 33, 0.25);
  background: var(--hermes-soft);
  box-shadow: 0 4px 14px rgba(31, 31, 31, 0.12);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.testimonial-avatar--initials {
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--hermes-gradient-h);
  user-select: none;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.12rem;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.8rem;
}

.testimonial-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.testimonial-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.testimonial-nav:hover {
  border-color: rgba(243, 112, 33, 0.4);
  color: var(--hermes);
  background: var(--hermes-soft);
}

.testimonial-nav:active {
  transform: scale(0.96);
}

.testimonial-controls {
  max-width: 28rem;
  margin: 1.35rem auto 0;
}

.testimonial-progress {
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.testimonial-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hermes), var(--hermes-deep));
  border-radius: inherit;
  transition: width 0.15s linear;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.testimonial-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.25s ease;
}

.testimonial-dot.is-active {
  background: var(--hermes);
  width: 1.35rem;
  border-radius: 999px;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.is-open {
  border-color: rgba(243, 112, 33, 0.35);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  color: var(--hermes);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > p {
  overflow: hidden;
  padding: 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  transition: padding 0.3s ease;
}

.faq-item.is-open .faq-a > p {
  padding: 0 1.15rem 1.1rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger .service-card,
.reveal-stagger .project-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-stagger.is-visible .service-card,
.reveal-stagger.is-visible .project-card,
.services-grid.reveal-stagger.is-visible .service-card {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible .service-card:nth-child(1),
.reveal-stagger.is-visible .project-card:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible .service-card:nth-child(2),
.reveal-stagger.is-visible .project-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible .service-card:nth-child(3),
.reveal-stagger.is-visible .project-card:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-visible .service-card:nth-child(4),
.reveal-stagger.is-visible .project-card:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.is-visible .service-card:nth-child(n+5),
.reveal-stagger.is-visible .project-card:nth-child(n+5) { transition-delay: 0.2s; }

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(64px);
  }
}

@media (max-width: 1100px) {
  .testimonial-card {
    flex-basis: calc((100% - 1.15rem) / 2);
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav,
  .header-actions .btn {
    display: none;
  }

  .nav-item-mobile-only {
    display: list-item;
  }

  .menu-toggle {
    display: grid;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(var(--nav-h) + 0.5rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    padding: 0.85rem 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-head {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonials-score {
    align-self: flex-start;
  }

  .testimonials-stats {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

  .testimonials-shell {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .testimonial-nav {
    display: none;
  }

  .testimonial-viewport {
    padding: 0;
  }

  .cap-panel {
    grid-template-columns: 1fr;
  }

  .cap-panel-media {
    max-height: 14rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.2vw, 2.75rem);
    line-height: 1.15;
  }

  .hero h1 #heroTitleEnd {
    display: block;
    margin-top: 0.1em;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-content {
    padding: calc(var(--nav-h) + 2rem) 0 3rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: left;
  }

  .container,
  .header-inner {
    width: calc(100% - 1.5rem);
  }

  .services-grid,
  .projects-grid,
  .ref-grid,
  .why-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media video {
    opacity: 0.38;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }

  .header-actions .call {
    display: none;
  }

  .brand img {
    height: 2.5rem;
    max-width: 52vw;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem);
  }

  .stat {
    padding: 0.85rem 1rem;
  }

  .stat strong {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-grid,
  .marquee-track {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .reveal-stagger .service-card,
  .reveal-stagger .project-card {
    opacity: 1;
    transform: none;
  }
}
