@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@300;400;500;600&family=Roboto+Mono:wght@400;500&display=swap");

:root {
  --ink: #08111f;
  --ink-soft: #111d2f;
  --paper: #f4f2ed;
  --white: #ffffff;
  --text: #132033;
  --muted: #667085;
  --line: rgba(15, 29, 48, 0.14);
  --accent: #f59e0b;
  --accent-dark: #b96d00;
  --blue: #173c63;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(5, 14, 28, 0.14);
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-family: "Roboto Mono", monospace;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 780px;
  margin-top: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-intro {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 16, 29, 0.93);
  color: white;
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.variant-switcher {
  position: fixed;
  z-index: 1100;
  right: 18px;
  bottom: 18px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 16, 29, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  color: white;
  backdrop-filter: blur(12px);
}

.variant-switcher a {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
}

.variant-switcher a:last-child {
  border-right: 0;
}

.variant-switcher a[aria-current="page"] {
  background: var(--accent);
  color: #101010;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 760px;
  align-items: center;
  gap: 64px;
  padding-top: 116px;
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  max-width: 820px;
  margin-top: 22px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.87;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 610px;
  margin-top: 30px;
  color: #c7d0dd;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #111;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-alt,
.hero-video {
  display: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 10, 20, 0.6));
  content: "";
  pointer-events: none;
}

.media-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: white;
}

.media-label strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-label span {
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0.78;
  text-transform: uppercase;
}

.trust {
  position: relative;
  z-index: 5;
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 174px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-value {
  color: var(--accent-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.trust-item h2,
.trust-item h3 {
  margin-top: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.trust-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.services,
.work,
.process,
.faq,
.contact {
  padding: 108px 0;
}

.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.service-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 18px 42px rgba(11, 25, 43, 0.1);
}

.service-number {
  color: var(--accent-dark);
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin-top: 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.work {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.work .section-intro {
  color: #9eabbb;
}

.work .eyebrow {
  color: var(--accent);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 56px;
}

.featured-card,
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.featured-card {
  min-height: 500px;
}

.featured-card video,
.featured-card img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card video {
  position: absolute;
  inset: 0;
}

.featured-card.vertical video {
  object-position: center;
}

.featured-card::after,
.photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 7, 14, 0.84));
  content: "";
  pointer-events: none;
}

.card-caption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  left: 26px;
}

.card-caption .tag {
  color: var(--accent);
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-caption h3 {
  margin-top: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.card-caption p {
  max-width: 560px;
  margin-top: 10px;
  color: #c8d0dc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.catastro-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.catastro-feature img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.catastro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.catastro-copy h3 {
  margin-top: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.15rem;
  line-height: 1;
  text-transform: uppercase;
}

.catastro-copy p {
  margin-top: 18px;
  color: #aeb9c7;
  font-size: 0.98rem;
}

.catastro-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem !important;
  letter-spacing: 0.03em;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.photo-card {
  min-height: 330px;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card h3 {
  font-size: 1.25rem;
}

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step {
  min-height: 250px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: rgba(20, 44, 74, 0.17);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  margin-top: 26px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  background: #ecf0f4;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

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

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

.faq-item summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--accent-dark);
  content: "+";
  font-family: "Roboto Mono", monospace;
  font-size: 1.4rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 650px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
  text-align: center;
}

.contact::before {
  position: absolute;
  top: -190px;
  left: 50%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(245, 158, 11, 0.17);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.contact .container {
  position: relative;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact .section-heading {
  margin-inline: auto;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin-top: 40px;
}

.contact-links a {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
}

.site-footer {
  padding: 26px 0;
  background: #030913;
  color: #7d8998;
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 18px;
  }

  .hero-inner {
    gap: 38px;
  }

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

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

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

  .trust-item:nth-child(2),
  .step:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2),
  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .navbar {
    min-height: 66px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 16, 29, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.25rem);
  }

  .hero-media {
    min-height: 380px;
  }

  .trust-grid,
  .process-grid,
  .services-grid,
  .photo-grid,
  .featured-grid,
  .catastro-feature {
    grid-template-columns: 1fr;
  }

  .photo-card.wide {
    grid-column: auto;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .step,
  .step:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child,
  .step:last-child {
    border-bottom: 0;
  }

  .services,
  .work,
  .process,
  .faq,
  .contact {
    padding: 78px 0;
  }

  .section-heading {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .service-card {
    min-height: 0;
  }

  .featured-card {
    min-height: 430px;
  }

  .featured-card.vertical {
    min-height: 540px;
  }

  .catastro-feature img {
    min-height: 270px;
  }

  .catastro-copy {
    padding: 30px 24px;
  }

  .photo-card {
    min-height: 390px;
  }

  .variant-switcher {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 330px;
  }

  .trust-item {
    padding: 28px 22px;
  }

  .featured-card {
    min-height: 390px;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-links a {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
