:root {
  --bg: #f7f3ec;
  --ink: #181612;
  --muted: #665f55;
  --line: #d9d0c2;
  --paper: #fffaf2;
  --accent: #f2d22f;
  --accent-dark: #1f6d5a;
  --deep: #25211a;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(28, 24, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(247, 243, 236, 0.9);
  border-bottom: 1px solid rgba(217, 208, 194, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.hero-stats,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 100px;
  height: auto;
  place-items: center;
 
  
  
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 69px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 22, 18, 0.9) 0%, rgba(24, 22, 18, 0.66) 42%, rgba(24, 22, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(24, 22, 18, 0.78) 0%, rgba(24, 22, 18, 0) 48%);
}

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

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(28px, 6vw, 78px) clamp(18px, 5vw, 72px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6.3vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-width: 138px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  max-width: 980px;
  color: var(--muted);
  font-size: 1.1rem;
}

.offices {
  display: grid;
  gap: 22px;
  padding-top: 0;
}

.office {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.office-pecera {
  background: #f8f8f4;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.office-copy {
  align-self: center;
}

.office-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--deep);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 3px;
  background: var(--accent-dark);
  border-radius: 999px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.photo-carousel {
  position: relative;
  align-self: center;
  overflow: hidden;
  min-height: 40px!important;
  aspect-ratio: 16 / 11;
  background: #ece7dd;
  border-radius: 8px;
}

.carousel-track {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 22, 18, 0.72);
  color: var(--white);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-button-prev {
  left: 14px;
}

.carousel-button-next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  max-width: calc(100% - 110px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 22, 18, 0.34);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 20px;
  background: var(--accent);
}

.services {
  background: var(--deep);
  color: var(--white);
}

.services .section-heading {
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-item {
  min-height: 190px;
  padding: 24px;
  background: var(--deep);
}

.service-item p {
  color: rgba(255, 255, 255, 0.72);
}

.conversion {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison div {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.comparison div:last-child {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

.comparison p,
.contact-copy p {
  color: var(--muted);
}

.comparison div:last-child p {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: #ebe2d4;
}

.contact-copy {
  max-width: 680px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 0.86rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c8bda9;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  color: var(--accent);
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .office,
  .conversion,
  .contact {
    grid-template-columns: 1fr;
  }

  .office-pecera .office-copy {
    order: -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(24, 22, 18, 0.93) 0%, rgba(24, 22, 18, 0.64) 62%, rgba(24, 22, 18, 0.28) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
  }

  .hero-stats div {
    flex: 1 1 140px;
  }

  .intro-grid,
  .comparison,
  .lead-form,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .office {
    padding: 18px;
  }

  .photo-carousel {
    min-height: auto;
  }

  .photo-carousel {
    aspect-ratio: 4 / 5;
  }
}
