@font-face {
  font-family: "TT Norms Pro";
  src: url("./Fonts/TT Norms Pro Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Norms Pro";
  src: url("./Fonts/TT Norms Pro Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.72);
  --line: rgba(255, 255, 255, 0.26);
  --shell: 1220px;
  --cta: #0f6d67;
  --cta-hover: #0b5a56;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "TT Norms Pro", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #b79400;
  outline-offset: 2px;
}

.shell {
  width: min(calc(100% - 72px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 26px;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 68px);
  justify-self: center;
}

.site-nav a,
.menu-toggle {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 4;
}

.hero-slider {
  background: #000000;
}

.hero-slides,
.hero-slide,
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 900ms ease,
    visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(1.1) saturate(0.94);
}

.hero-overlay {
  z-index: 1;
}

.hero-overlay-cool,
.hero-overlay-space,
.hero-overlay-forest,
.hero-overlay-warm {
  background:
    linear-gradient(180deg, rgba(7, 14, 10, 0.12), rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.06));
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 72px), var(--shell));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 118px 0 110px;
}

.hero-copy {
  max-width: min(820px, 100%);
  min-height: clamp(430px, 34vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease 150ms,
    transform 700ms ease 150ms;
}

.hero-logo {
  display: block;
  width: clamp(220px, 22vw, 310px);
  height: auto;
  margin: 0 0 28px;
}

.hero-slide.is-active .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #ffde17;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.feature-copy h2,
.services-heading h2,
.quote-panel h2,
.history-panel h2 {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(2.45rem, 3.85vw, 4.15rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-rule,
.section-rule {
  display: block;
  width: min(220px, 34vw);
  height: 2px;
  margin: 24px 0 22px;
  background: rgba(255, 255, 255, 0.86);
}

.hero-summary {
  max-width: 72ch;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid #ffde17;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero-shell {
    align-items: flex-start;
    padding-top: 96px;
    padding-bottom: 84px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-logo {
    width: clamp(160px, 15vw, 220px);
    margin-bottom: 18px;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: clamp(0.72rem, 0.85vw, 0.84rem);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 4.35vw, 4rem);
  }

  .hero-rule {
    margin: 18px 0 16px;
  }

  .hero-summary {
    max-width: 42ch;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .hero-scroll {
    bottom: 18px;
  }

  .hero-slider-nav {
    bottom: 72px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .feature-copy,
  .services-panel,
  .quote-panel,
  .history-panel {
    justify-content: flex-start;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .feature-copy h2,
  .services-heading h2,
  .quote-panel h2,
  .history-panel h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3vw, 3.2rem);
  }

  .feature-copy h2,
  .services-heading h2 {
    max-width: 7.2ch;
  }

  .quote-panel h2 {
    max-width: 12.5ch;
  }

  .history-panel h2 {
    max-width: 14ch;
  }

  .feature-copy p,
  .quote,
  .quote-role,
  .history-panel p,
  .cta-panel p {
    line-height: 1.55;
  }

  .feature-copy p {
    margin-bottom: 14px;
  }

  .quote-author {
    margin-top: 16px;
  }

  .quote-role {
    margin-top: 4px;
  }

  .section-logo {
    margin-bottom: 12px;
  }

  .section-logo img {
    width: clamp(80px, 6vw, 104px);
  }

  .section-logo-center {
    margin-bottom: 16px;
  }

  .section-kicker,
  .feature-copy-light .section-kicker,
  .services-heading .section-kicker,
  .quote-panel-light .section-kicker,
  .history-panel-light .section-kicker {
    margin-bottom: 12px;
    font-size: 0.74rem;
  }

  .section-quote .quote-panel-light {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .svc-tabs {
    gap: 4px clamp(16px, 2.2vw, 30px);
    padding: 16px clamp(20px, 3vw, 36px);
  }

  .svc-tab {
    font-size: 0.86rem;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .svc-media {
    min-height: 56vh;
  }

  .svc-media-copy {
    max-width: 40ch;
    padding: 28px clamp(28px, 4vw, 48px);
  }

  .svc-media-copy h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  }

  .svc-rule {
    margin: 14px 0 16px;
  }

  .svc-lead {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .svc-media-copy p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .svc-list {
    justify-content: flex-start;
    padding: 26px clamp(24px, 4vw, 48px);
  }

  .section-logo-services {
    margin-bottom: 16px;
  }

  .section-logo-services img {
    width: clamp(92px, 6.8vw, 118px);
  }

  .svc-list li {
    padding: 14px 0 14px 22px;
    font-size: clamp(0.94rem, 1.18vw, 1.14rem);
  }

  .section-trust {
    padding: 40px 0;
  }

  .trust-shell {
    width: min(calc(100% - 56px), var(--shell));
  }

  .trust-statement {
    margin-top: 6px;
    font-size: clamp(1.26rem, 1.9vw, 1.72rem);
    line-height: 1.24;
  }

  .trust-stats {
    margin-top: 28px;
    gap: 18px;
  }

  .trust-stat-num {
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  }

  .trust-stat-label {
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .trust-sectors {
    margin-top: 26px;
    font-size: 0.88rem;
  }

  .section-cta {
    padding: 46px 24px 56px;
  }

  .cta-panel h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  }

  .cta-form {
    margin-top: 24px;
    padding: 22px;
    gap: 12px 16px;
  }

  .cta-field textarea {
    min-height: 96px;
  }

  .cta-form-foot {
    gap: 12px;
  }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 6;
  width: 46px;
  height: 46px;
  margin-left: -23px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
}

.hero-scroll span:nth-child(1) {
  top: 4px;
}

.hero-scroll span:nth-child(2) {
  top: 14px;
  opacity: 0.72;
}

.hero-slider-nav {
  position: absolute;
  left: 50%;
  bottom: 104px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero-slider-dot.is-active {
  border-color: #ffde17;
  background: #ffde17;
  transform: scale(1.12);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid rgba(255, 222, 23, 0.74);
  outline-offset: 3px;
}

.back-to-menu {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(8, 74, 69, 0.42);
  border-radius: 50%;
  background: rgba(15, 109, 103, 0.92);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(15, 109, 103, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.back-to-menu:hover {
  background: #117772;
  box-shadow: 0 22px 40px rgba(15, 109, 103, 0.28);
  transform: translateY(-2px);
}

.back-to-menu.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 71;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(18, 140, 126, 0.34);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(18, 140, 126, 0.42);
  filter: saturate(1.04);
}

.whatsapp-float:focus-visible {
  outline: 2px solid rgba(255, 222, 23, 0.74);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.section {
  background: #000000;
}

.feature-grid,
.site-footer {
  width: min(100%, var(--shell));
  margin: 0 auto;
}

.history-panel {
  width: 100%;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.section-split-light {
  background: #ffffff;
  color: #161616;
}

.section-split-light + .section-split-light {
  border-top: 1px solid rgba(22, 22, 22, 0.08);
}

.section-split-light .feature-grid {
  width: 100%;
  max-width: none;
  min-height: max(720px, 100svh);
}

.section-split-light .feature-media {
  height: auto;
  min-height: max(720px, 100svh);
}

.section-intro.section-split-light .feature-grid {
  height: 100svh;
  min-height: 100svh;
}

.section-quote.section-split-light .feature-grid {
  min-height: 100svh;
}

.section-intro.section-split-light .feature-media {
  display: flex;
  height: 100%;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

.section-quote.section-split-light .feature-media {
  display: flex;
  height: 100%;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

.section-intro .feature-copy-light {
  height: 100%;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  justify-content: center;
}

.section-quote .quote-panel-light {
  min-height: 100svh;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.feature-copy,
.services-panel,
.quote-panel,
.history-panel {
  padding: clamp(54px, 8vw, 112px);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy-light,
.services-panel-light,
.quote-panel-light,
.history-panel-light {
  min-height: max(720px, 100svh);
  background: #ffffff;
  color: #161616;
}

.feature-grid-intro .feature-copy-light,
.feature-grid-quote .quote-panel-light {
  padding-left: max(26px, calc((100vw - var(--shell)) / 2 + 26px));
  padding-right: clamp(28px, 5vw, 78px);
}

.feature-grid-services .services-panel-light,
.feature-grid-history .history-panel-light {
  padding-left: clamp(28px, 5vw, 78px);
  padding-right: max(26px, calc((100vw - var(--shell)) / 2 + 26px));
}

.feature-copy h2,
.services-heading h2 {
  max-width: 6ch;
}

.feature-copy h2 span,
.services-heading h2 span {
  display: block;
}

.feature-copy p,
.services-note,
.quote,
.quote-role,
.history-panel p,
.footer-meta {
  color: var(--muted);
  line-height: 1.8;
}

.feature-copy-light p,
.services-panel-light .services-note,
.quote-panel-light .quote,
.quote-panel-light .quote-role,
.history-panel-light p {
  color: #525252;
}

.feature-copy p {
  max-width: 56ch;
  margin: 0 0 18px;
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.feature-media {
  min-height: 620px;
}

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

.feature-grid-intro .feature-media img {
  flex: 1 1 auto;
  object-position: center top;
}

.feature-grid-quote .feature-media img {
  flex: 1 1 auto;
  object-position: center 8%;
}

.section-kicker {
  margin: 0 0 18px;
  color: #b79400;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-copy-light .section-kicker,
.services-heading .section-kicker,
.quote-panel-light .section-kicker,
.history-panel-light .section-kicker {
  max-width: none;
  margin: 0 0 18px;
  color: #b79400;
}

.section-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 18px;
}

.section-logo img {
  display: block;
  width: clamp(94px, 8vw, 122px);
  height: auto;
}

.section-logo-center {
  margin-bottom: 22px;
}

.services-panel,
.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-quote .quote-panel-light {
  justify-content: flex-start;
  padding-top: 72px;
  padding-bottom: 48px;
}

.quote-panel h2 {
  max-width: 11ch;
}

.quote {
  margin: 0;
  font-size: clamp(1.08rem, 1.65vw, 1.4rem);
}

.quote-author,
.quote-role {
  margin: 22px 0 0;
}

.quote-author {
  color: #ffffff;
  font-weight: 600;
}

.quote-panel-light .quote-author {
  color: #111111;
}

.quote-role {
  margin-top: 6px;
}

.portrait-media {
  min-height: 700px;
}

.history-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.history-panel-light {
  border-top: 0;
  text-align: left;
}

.history-panel h2 {
  max-width: 12ch;
}

.history-panel-light h2 {
  max-width: 20ch;
}

.history-panel p {
  max-width: 62ch;
  margin: 0 auto;
}

.history-panel-light p {
  max-width: 56ch;
  margin: 0;
}

.section-cta {
  background: #f4f4f2;
  color: #161616;
  padding: 78px 24px 92px;
  border-top: 1px solid rgba(22, 22, 22, 0.08);
}

.cta-panel {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
}

.cta-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cta-panel p {
  max-width: 52ch;
  margin: 0 auto;
  color: #525252;
  line-height: 1.75;
}

.cta-form {
  width: min(100%, 860px);
  margin: 32px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.06);
  text-align: left;
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cta-field span {
  color: #6f6b62;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-field input,
.cta-field textarea {
  width: 100%;
  border: 1px solid rgba(22, 22, 22, 0.14);
  background: #ffffff;
  color: #161616;
  font: inherit;
  padding: 14px 15px;
  border-radius: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.cta-field textarea {
  min-height: 122px;
  resize: vertical;
}

.cta-field input:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: #b79400;
  box-shadow: 0 0 0 3px rgba(183, 148, 0, 0.22);
}

.cta-field-full,
.cta-form-foot {
  grid-column: 1 / -1;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-recaptcha {
  margin-top: 2px;
}

.cta-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.cta-form-foot small {
  color: #6f6b62;
  font-size: 0.82rem;
  line-height: 1.5;
}

.cta-form-status {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #4d4a43;
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.cta-form-status.is-loading {
  color: #4d4a43;
}

.cta-form-status.is-success {
  color: #0c5c33;
  border-color: rgba(12, 92, 51, 0.18);
  background: rgba(222, 239, 225, 0.8);
}

.cta-form-status.is-error {
  color: #8c2430;
  border-color: rgba(140, 36, 48, 0.16);
  background: rgba(251, 235, 238, 0.9);
}

.cta-form-status a {
  color: #0b5a56;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 90, 86, 0.28);
}

.cta-form-status a:hover {
  border-bottom-color: rgba(11, 90, 86, 0.56);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  min-height: 56px;
  margin-top: 0;
  padding: 0 16px 0 26px;
  border: 1px solid rgba(8, 74, 69, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, #0f6d67 0%, #0b5a56 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  box-shadow:
    0 14px 28px rgba(15, 109, 103, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-button::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.94rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #117772 0%, #0c615c 100%);
  border-color: rgba(8, 74, 69, 0.62);
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(15, 109, 103, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cta-button:hover::after {
  transform: translate(2px, -1px);
  background: rgba(255, 255, 255, 0.2);
}

.cta-button:focus-visible {
  outline: 2px solid #b79400;
  outline-offset: 3px;
  box-shadow:
    0 18px 34px rgba(15, 109, 103, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cta-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-map-block {
  width: min(100%, 860px);
  margin: 28px auto 0;
}

.contact-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #0f6d67;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-map-frame {
  overflow: hidden;
  border: 1px solid rgba(22, 22, 22, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.06);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 36px 48px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.footer-meta li + li {
  position: relative;
  padding-left: 16px;
}

.footer-meta li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0.82em;
  background: rgba(22, 22, 22, 0.22);
  transform: translateY(-50%);
}

.footer-brand {
  justify-self: start;
}

.footer-meta a {
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #161616;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 109, 103, 0.32);
  background: rgba(15, 109, 103, 0.08);
  color: #0f6d67;
}

.footer-social-mark {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-social-mark-x {
  width: 16px;
  height: 16px;
}

.footer-social-mark-facebook,
.footer-social-mark-linkedin {
  width: 22px;
  height: 22px;
}

/* ===== Sección Confianza / prueba social (CONT-2) ===== */
.section-mvv {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: #f4f1ea;
  color: #161616;
  padding: clamp(18px, 2.4vw, 34px) 0 clamp(30px, 4vw, 56px);
  border-top: 1px solid rgba(22, 22, 22, 0.06);
  display: flex;
  align-items: flex-start;
}

.mvv-vine {
  position: absolute;
  top: 0;
  height: 100%;
  width: 64px;
  z-index: 1;
  color: #c2a24d;
  opacity: 0.6;
  pointer-events: none;
}

.mvv-vine-left { left: 16px; }
.mvv-vine-right { right: 16px; transform: scaleX(-1); }

.mvv-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 72px), var(--shell));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
}

.section-mvv .section-logo-center {
  margin-bottom: 10px;
}

.section-mvv .section-kicker {
  color: #b79400;
  text-align: center;
  margin-bottom: 8px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.6vw, 44px);
}

.mvv-block {
  border-top: 2px solid #b79400;
  padding-top: 16px;
}

.mvv-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #161616;
}

.mvv-text {
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #161616;
}

.mvv-values {
  border-top: 1px solid rgba(22, 22, 22, 0.12);
  padding-top: clamp(18px, 2.8vw, 28px);
  width: min(calc(100vw - 112px), 1360px);
  align-self: center;
}

.mvv-values .mvv-label {
  margin-bottom: 14px;
  text-align: center;
}

.mvv-values-lexicon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(14px, 1.8vw, 24px);
  row-gap: 10px;
  width: 100%;
}

.mvv-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #161616;
  line-height: 1.14;
  text-align: center;
}

.mvv-sep {
  display: none;
}

@media (max-width: 760px) {
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mvv-values {
    width: 100%;
  }
  .mvv-values-lexicon {
    justify-content: flex-start;
  }
  .mvv-val {
    justify-content: flex-start;
    text-align: left;
  }
  .mvv-vine {
    display: none;
  }
}

.section-trust {
  background: #0c0c0c;
  color: var(--text);
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-shell {
  width: min(calc(100% - 72px), var(--shell));
  margin: 0 auto;
  text-align: center;
}

.section-trust .section-kicker {
  text-align: center;
  color: #b79400;
}

.trust-statement {
  max-width: 32ch;
  margin: 8px auto 0;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #f6f3ee;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: clamp(44px, 6vw, 72px) auto 0;
}

.trust-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.trust-stat + .trust-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-stat-num {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.trust-stat-label {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #b79400;
}

.trust-sectors {
  margin: clamp(40px, 5vw, 60px) auto 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(246, 243, 238, 0.5);
}

@media (max-width: 640px) {
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-stat {
    padding: 0;
  }

  .trust-stat + .trust-stat::before {
    display: none;
  }
}

/* ===== Servicios: panel de pestañas a pantalla completa (UX-1) ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.section-services {
  background: #ffffff;
  color: #161616;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px clamp(20px, 3.5vw, 52px);
  padding: 24px clamp(20px, 4vw, 52px);
  background: #f1efea;
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
}

.svc-tab {
  position: relative;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 500;
  color: #6f6b62;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  cursor: pointer;
  transition: color 180ms ease;
}

.svc-tab:hover {
  color: #161616;
}

.svc-tab.is-active {
  color: #111111;
  font-weight: 700;
}

.svc-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #b79400;
}

.svc-tab:focus-visible {
  outline: 2px solid rgba(183, 148, 0, 0.6);
  outline-offset: 4px;
}

.svc-panels {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.svc-panel {
  grid-area: 1 / 1;
  display: none;
  grid-template-columns: 1fr 1fr;
}

.svc-panel.is-active {
  display: grid;
  animation: svcFade 460ms ease both;
}

@keyframes svcFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.svc-media {
  position: relative;
  min-height: 64vh;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.svc-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.74) 100%);
}

.svc-media-0 { background-image: url("./images/servicio-tributaria.webp"); }
.svc-media-1 { background-image: url("./images/servicio-financiera.webp"); }
.svc-media-2 { background-image: url("./images/servicio-legal.webp"); }
.svc-media-3 { background-image: url("./images/servicio-laboral.webp"); }
.svc-media-4 { background-image: url("./images/servicio-proyectos.webp"); }

.svc-media-copy {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  padding: clamp(36px, 5vw, 76px);
  color: #f6f3ee;
}

.svc-media-copy h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: #ffffff;
}

.svc-rule {
  display: block;
  width: 120px;
  height: 2px;
  margin: 18px 0 22px;
  background: #b79400;
}

.svc-lead {
  margin: 0 0 14px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.5;
  font-weight: 500;
  color: #ffffff;
}

.svc-media-copy p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(246, 243, 238, 0.82);
}

.svc-media-copy p:last-child {
  margin-bottom: 0;
}

.svc-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 92px) clamp(28px, 5vw, 84px);
}

.section-logo-services {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.section-logo-services img {
  width: clamp(106px, 8.4vw, 132px);
}

.svc-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-list li {
  position: relative;
  padding: 18px 0 18px 26px;
  border-bottom: 1px solid rgba(22, 22, 22, 0.1);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b79400;
}

.svc-list li:last-child {
  border-bottom: 0;
}

@media (max-width: 860px) {
  .section-services {
    min-height: 0;
  }

  .svc-panels {
    grid-template-rows: auto;
  }

  .svc-tabs {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6px clamp(20px, 4vw, 52px);
  }

  .svc-tab {
    white-space: normal;
    text-align: left;
    padding: 14px 12px 14px 16px;
    border-bottom: 1px solid rgba(22, 22, 22, 0.08);
  }

  .svc-tab:last-child {
    border-bottom: 0;
  }

  .svc-tab.is-active {
    background: #ffffff;
  }

  .svc-tab.is-active::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }

  .svc-panel.is-active {
    grid-template-columns: 1fr;
  }

  .svc-media {
    min-height: 58vw;
  }

  .svc-list {
    padding: 32px 26px;
  }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: auto;
    max-width: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 8px 0 0;
    text-align: right;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-nav.is-open {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-split-light .feature-grid {
    min-height: 0;
  }

  .section-quote.section-split-light .feature-grid {
    height: auto;
    min-height: 0;
  }

  .hero-shell {
    width: min(calc(100% - 44px), var(--shell));
    padding-top: 160px;
    padding-bottom: 132px;
    align-items: flex-start;
  }

  .hero-copy {
    min-height: 430px;
  }

  .feature-media,
  .portrait-media {
    min-height: 420px;
  }

  .section-split-light .feature-media {
    min-height: 420px;
  }

  .section-intro.section-split-light .feature-media,
  .section-quote.section-split-light .feature-media,
  .section-intro .feature-copy-light,
  .section-quote .quote-panel-light {
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .feature-copy-light,
  .services-panel-light,
  .quote-panel-light,
  .history-panel-light {
    min-height: auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  .feature-grid-intro .feature-media,
  .feature-grid-quote .quote-panel,
  .feature-grid-history .history-panel {
    order: -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    padding-top: 18px;
  }

  .hero-shell {
    width: min(calc(100% - 32px), var(--shell));
    padding-top: 132px;
    padding-bottom: 92px;
    align-items: flex-start;
  }

  .hero-copy {
    min-height: 390px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
    max-width: 10ch;
  }

  .section-logo img {
    width: 96px;
  }

  .section-logo-services img {
    width: 108px;
  }

  .hero-summary {
    max-width: 34ch;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .feature-copy,
  .services-panel,
  .quote-panel,
  .history-panel {
    padding: 40px 26px;
  }

  .feature-copy-light,
  .services-panel-light,
  .quote-panel-light,
  .history-panel-light {
    padding-left: 26px;
    padding-right: 26px;
  }

  .section-quote .quote-panel-light {
    overflow: visible;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .quote-panel h2 {
    max-width: none;
  }

  .hero-scroll {
    bottom: 22px;
  }

  .hero-slider-nav {
    bottom: 82px;
  }

  .back-to-menu {
    right: 18px;
    bottom: 86px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
  }

  .footer-meta {
    font-size: 0.88rem;
  }

  .contact-map-frame iframe {
    height: 260px;
  }

  .section-cta {
    padding: 58px 20px 72px;
  }

  .cta-form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .cta-form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-shell {
    width: min(calc(100% - 24px), var(--shell));
    padding-top: 132px;
    padding-bottom: 84px;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
    min-height: 390px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11.4vw, 2.8rem);
    line-height: 0.97;
    letter-spacing: -0.05em;
    max-width: 9ch;
  }

  .hero-rule {
    width: min(148px, 46vw);
    margin: 18px 0 16px;
  }

  .hero-summary {
    max-width: 100%;
    padding-left: 10px;
    border-left-width: 2px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-scroll {
    bottom: 20px;
    width: 38px;
    height: 38px;
    margin-left: -19px;
  }

  .hero-slider-nav {
    bottom: 72px;
    gap: 8px;
  }

  .back-to-menu {
    right: 14px;
    bottom: 78px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .hero-slider-dot {
    width: 10px;
    height: 10px;
  }

  .hero-scroll span {
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }

}

@media (max-width: 360px) {
  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-copy {
    font-size: 0.88rem;
  }

  .hero-logo {
    width: min(250px, 62vw);
    margin-bottom: 22px;
  }

  .menu-toggle {
    padding: 8px 14px;
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(1.82rem, 10.8vw, 2.34rem);
  }

  .hero-summary {
    font-size: 0.86rem;
  }
}
