@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0a0d11;
  --bg-soft: #10151b;
  --bg-strip: #141920;
  --card: #11161d;
  --line: #2c3138;
  --line-strong: #3a4049;
  --text: #eef2f6;
  --muted: #9da7b2;
  --accent: #39c9b5;
  --accent-soft: rgba(57, 201, 181, 0.18);
  --radius: 10px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
  font-family: 'Sora', sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h3 { font-size: 1.1rem; }

p {
  margin: 0 0 14px;
  color: var(--muted);
}

strong,
b { font-weight: 700; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(19, 23, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 94px;
}

.logo img {
  width: 96px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.86rem;
  color: #b0bcc8;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.nav-close {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
  border-radius: 8px;
  padding: 8px 12px;
}

main {
  padding-bottom: 58px;
}

.breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: #0b0f14;
}

.breadcrumb-bar .breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
}

.breadcrumb-bar .breadcrumbs a,
.breadcrumb-bar .breadcrumbs span,
.breadcrumbs-sep {
  font-size: 0.76rem;
  color: #7f8a96;
}

.hero {
  padding: 24px 0 14px;
  background: var(--bg);
}

.hero--home {
  border-bottom: 1px solid var(--line);
}

.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.home-page .site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.58) 42%,
    rgba(0, 0, 0, 0.2) 72%,
    rgba(0, 0, 0, 0) 100%
  );
}

.home-page .site-header .nav {
  position: relative;
  z-index: 1;
}

.home-page .site-header .nav-links a { color: rgba(255, 255, 255, 0.88); }
.home-page .site-header .nav-links a:hover { color: #fff; }

.hero--home {
  position: relative;
  padding: 0;
  height: min(500px, 70svh);
  min-height: 0;
  max-height: 500px;
  overflow: hidden;
  background: #050505;
}

.hero--home::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 32%, rgba(0, 0, 0, 0.12));
}

.hero--home .hero-carousel {
  width: 100%;
  height: 100%;
  max-height: 500px;
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.hero--home .carousel-slide img {
  object-position: center;
}

.hero--home .carousel-arrow {
  z-index: 3;
  opacity: 0.55;
}

.hero--home .hero-carousel[data-single="true"] .carousel-arrow {
  display: none;
}

.hero-intro {
  padding: 46px 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.hero-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.hero-intro .hero-heading {
  padding: 0;
}

.hero-intro .hero-heading h1 {
  margin: 10px 0 0;
  max-width: 100%;
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  line-height: 1.05;
  overflow-wrap: normal;
}

.hero-intro__content {
  padding-bottom: 4px;
}

.hero-intro__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.hero-intro .hero-subtitle {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-intro .hero-actions {
  margin-bottom: 0;
}

.hero-heading {
  padding: 12px 0 18px;
}

.hero-heading h1 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  text-transform: uppercase;
  line-height: 1;
}

.section-label {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: start;
}

.hero-copy,
.hero-panel__card {
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.95), rgba(11, 15, 21, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.hero-copy { padding: 12px; }

.hero-copy h1 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0d11;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  margin-bottom: 12px;
}

.carousel-track {
  display: grid;
  height: 100%;
}

.carousel-slide {
  grid-area: 1 / 1;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(9, 11, 14, 0.86);
  color: #d0d7df;
  cursor: pointer;
  line-height: 1;
  font-size: 20px;
  z-index: 2;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.hero-subtitle {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: #8895a4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.cta-primary,
.cta-secondary,
.lead-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cta-primary,
.lead-form button {
  background: var(--accent);
  color: #082820;
}

.cta-secondary {
  border-color: var(--line-strong);
  color: #d4dce4;
  background: #111821;
}

.cta-primary:hover,
.cta-secondary:hover,
.lead-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
}

.hero-metrics span {
  font-size: 0.76rem;
  color: #8a97a5;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel__card h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.hero-panel__card > p {
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.section {
  padding: 38px 0;
  background: var(--bg);
}

.section--alt {
  background: var(--bg-strip);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--strategy {
  background: var(--bg);
  border-top: 0;
  border-bottom: 0;
}

.section--about {
  background: #12161b;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.section--cta {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.section-head {
  margin-bottom: 18px;
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  font-size: 0.92rem;
  margin: 0;
}

.section-head--indent {
  margin-left: 2px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.card-link,
.steps > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.card::before,
.card::after,
.card-accent,
.card-kicker::before,
.steps div::after {
  content: none;
}

.card-link {
  display: grid;
  gap: 10px;
  min-height: 210px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-link:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.card-link h3,
.card-service h3,
.card-feature h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card-link p,
.card-service p,
.card-feature p {
  margin: 0;
  font-size: 0.86rem;
}

.card-link__cta {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.services-grid .card-link {
  min-height: 230px;
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-item {
  border-bottom: 1px solid var(--line);
}

.service-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}

.service-item summary::-webkit-details-marker { display: none; }
.service-item summary h3 { margin-bottom: 5px; }
.service-item summary p { margin: 0; max-width: 720px; font-size: 0.86rem; }

.service-toggle,
.service-full-link,
.social-inline {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.service-toggle::after { content: ' +'; }
.service-item[open] .service-toggle::after { content: ' −'; }

.service-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 4px 24px;
}

.service-detail p { font-size: 0.86rem; }
.service-detail .cta-primary { justify-self: start; }
.service-full-link { align-self: center; }

.card-feature {
  padding: 16px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a97a4;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  margin-bottom: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  color: #7ee5d6;
}

.card-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.card-eyebrow,
.portfolio-eyebrow {
  font-size: 0.74rem;
  color: #8795a4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rich-text {
  color: #b3beca;
  font-size: 0.94rem;
}

.rich-text p,
.card p,
.lead-form label {
  color: #95a3b1;
}

.steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps > div {
  padding: 16px;
}

.steps span {
  display: inline-block;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  font-size: 0.84rem;
  margin: 0;
}

.page-hero {
  padding: 18px 0 8px;
}

.page-hero .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-hero .page-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero .page-hero__text p {
  margin: 0;
}

.page-hero .page-hero__media {
  border-radius: 8px;
  border: 1px solid var(--line);
  min-height: 170px;
  background-size: cover;
  background-position: center;
}

.portfolio-grid {
  row-gap: 16px;
}

.portfolio-featured {
  margin: 30px 0 8px;
}

.portfolio-featured .card-portfolio--image {
  position: relative;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.portfolio-featured .card-portfolio--image::after {
  content: '';
  position: absolute;
  inset: 38% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 10, 0.88));
}

.portfolio-featured .card-portfolio--image .portfolio-thumb {
  aspect-ratio: 16 / 7;
  background-position: center;
}

.portfolio-featured__content {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 4vw, 44px);
  right: clamp(20px, 4vw, 44px);
  bottom: clamp(18px, 3.5vw, 38px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.portfolio-featured__label {
  padding: 7px 10px;
  border-radius: 999px;
  color: #06231e;
  background: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-featured__link {
  grid-column: 3;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.portfolio-intro {
  margin-bottom: 18px;
}

.portfolio-intro .section-head {
  margin-bottom: 12px;
}

.card-portfolio {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-portfolio:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.page-hero .page-hero__grid--text {
  grid-template-columns: minmax(0, 760px);
  padding: 30px;
}

.service-content { max-width: 820px; }
.service-info-grid { padding-bottom: 20px; }
.project-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.card-portfolio--image .portfolio-thumb {
  height: auto;
  aspect-ratio: 16 / 10;
  border-bottom: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.card-portfolio--image:hover .portfolio-thumb {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.card-portfolio--image.is-featured {
  position: relative;
  border-color: rgba(57, 201, 181, 0.62);
  box-shadow: 0 0 0 1px rgba(57, 201, 181, 0.12);
}

.featured-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 6px;
  color: #07231e;
  background: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.portfolio-thumb {
  height: 250px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.portfolio-meta {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.portfolio-meta strong,
.portfolio-meta h3 {
  margin: 0;
  font-size: 1.1rem;
}

.portfolio-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  padding: 16px;
}

.portfolio-hero img {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-grid {
  display: grid;
  gap: 14px;
}

.media-grid img,
.media-grid iframe,
.media-grid .video-embed {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-grid .video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080a0d;
}

.media-grid .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #0c1117;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.85rem;
}

.lead-form textarea {
  min-height: 94px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: #3f5566;
}

.lead-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.lead-consent input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  max-width: 520px;
}

.search-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0c1117;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.86rem;
}

.search-form input:focus {
  outline: none;
  border-color: #4a5a6a;
}

.search-form button {
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #082820;
  min-height: 42px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.search-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0c1015;
  padding: 30px 0;
}

.footer p {
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .95fr;
  gap: clamp(34px, 7vw, 90px);
  padding: 10px 0 28px;
}

.footer-brand img { width: 92px; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; line-height: 1.7; }
.footer-title { display: block; margin-bottom: 16px; color: var(--text); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-location,.footer-connect { padding-top: 4px; }
.footer-location .footer-address { margin-top: 0; }
.footer-location .footer-address address { line-height: 1.8; }
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.footer-legal a { color: var(--muted); font-size: .78rem; transition: color .2s ease; }
.footer-legal a:hover { color: var(--accent); }
.footer-bottom { padding-top: 18px; border-top: 1px solid var(--line); color: #6f7b86; font-size: .72rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; margin-top: 24px; align-items: start; }
.contact-details { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.contact-card div>span { display: block; margin-bottom: 5px; color: #778492; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-card a,.contact-card address { color: var(--text); font-size: .86rem; font-style: normal; line-height: 1.6; }
.contact-card a { display: block; width: fit-content; margin-bottom: 3px; }
.contact-card a:hover { color: var(--accent); }
.contact-form-card { margin: 0; }

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: var(--muted);
}

.footer-address > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 2px;
  color: var(--accent);
}

.footer-address strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-address address {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.65;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #1f8d65;
  background: #1fae73;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.whatsapp-fab__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #fff;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.footer-socials img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.lead-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.whatsapp-fab span {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .steps,
  .page-hero .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-detail { grid-template-columns: 1fr; }
  .project-story { grid-template-columns: 1fr; }
  .hero-intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .portfolio-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-featured .card-portfolio--image .portfolio-thumb { aspect-ratio: 16 / 8; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-connect { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }

  .search-form {
    grid-template-columns: 1fr;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  .nav { min-height: 88px; }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 88px 22px 24px;
    background: rgba(8, 11, 15, 0.98);
    pointer-events: none;
    z-index: 999;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-close {
    display: inline-flex;
  }

  .site-header {
    z-index: 1000;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    pointer-events: auto;
  }

  .site-header.nav-open {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }

  .hero,
  .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-page .site-header.nav-open {
    position: fixed;
    background: rgba(8, 11, 15, 0.98);
  }

  .home-page .site-header.nav-open::before { display: none; }

  .hero-heading { padding: 6px 0 14px; }
  .hero-grid { gap: 12px; }
  .hero--home {
    height: min(450px, 58svh);
    min-height: 0;
    max-height: 450px;
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }
  .hero--home .hero-carousel { height: 100%; min-height: 0; max-height: 450px; }
  .hero--home .carousel-arrow { display: none; }
  .hero-intro { margin-top: 0; padding: 38px 0; }
  .hero-intro .hero-heading h1 { font-size: clamp(2.25rem, 8vw, 3.35rem); }
  .service-item summary { gap: 12px; padding: 18px 0; }
  .service-toggle { white-space: nowrap; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-featured .card-portfolio--image .portfolio-thumb { aspect-ratio: 16 / 10; }
  .portfolio-featured__content {
    grid-template-columns: auto 1fr auto;
    gap: 8px 12px;
  }
  .portfolio-featured__label { grid-column: 1; justify-self: start; }
  .portfolio-featured__link { font-size: 0.76rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .footer-grid > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .footer-connect { grid-column: auto; }
  .footer-bottom { margin-top: 0; }
}

.portfolio-hero {
  padding: 30px;
}

@media (max-width: 480px) {
  .service-item summary { grid-template-columns: 1fr; }
  .service-toggle { justify-self: start; }
  .hero-actions .cta-primary,
  .hero-actions .cta-secondary { flex: 1 1 140px; }
}
