:root {
  --primary: #235787;
  --primary-dark: #1a4166;
  --primary-hover: #204e7a;
  --accent: #fbb018;
  --accent-hover: #e09c0f;
  --secondary: #c3512f;
  --text: #2b2b2b;
  --text-muted: #6b6b6b;
  --light: #f4f6f8;
  --white: #ffffff;
  --dark: #1a1f26;
  --border: #e2e6ea;
  --font: "Mulish", system-ui, sans-serif;
  --font-display: "Outfit", "Mulish", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 80px;
  --header-clear: calc(var(--header-h) + 1.25rem);
  --radius: 4px;
  --btn-radius: 4px;
  --shadow: 0 8px 28px rgba(26, 65, 102, 0.12);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.45rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background:
  radial-gradient(ellipse at 90% 0%, rgba(251, 176, 24, 0.08), transparent 40%),
  linear-gradient(165deg, #08131d 0%, #0d1c2c 55%, #0a1622 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    height var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(14, 22, 34, 0.99);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(251, 176, 24, 0.22);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), background var(--transition);
}

.logo:hover {
  transform: translateY(-1px);
  background: rgba(189, 161, 161, 0.14);
}

.logo img {
  height: 62px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height var(--transition);
}

.site-header.is-scrolled .logo img {
  height: 44px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.nav-desktop a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  transition: color var(--transition);
}

.nav-desktop a span {
  position: relative;
  z-index: 1;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.4rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--white);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.header-social a:hover {
  color: var(--accent);
  border-color: rgba(251, 176, 24, 0.35);
  background: rgba(251, 176, 24, 0.08);
  transform: translateY(-1px);
}

.btn-header {
  padding: 0.52rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--accent);
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

.btn-header:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(251, 176, 24, 0.28);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 12, 18, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay[hidden] {
  display: block;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(100%, 380px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top right, rgba(35, 87, 135, 0.35), transparent 55%),
    linear-gradient(165deg, #121820 0%, #0c121a 100%);
  padding: 1.5rem 1.75rem 2rem;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.nav-mobile-top img {
  height: 42px;
  width: auto;
}

.nav-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
}

.nav-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
}

.nav-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.nav-mobile-links a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.95rem 0.85rem;
  border-radius: 12px;
  border-bottom: 0;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}

.nav-mobile-links a:hover,
.nav-mobile-links a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  padding-left: 1.15rem;
}

.nav-mobile-links a.is-active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.nav-mobile-footer {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile-footer .btn {
  width: 100%;
  border-radius: var(--btn-radius);
}

.nav-mobile-footer .header-social {
  justify-content: center;
}

.nav-mobile-phone {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-mobile-phone:hover {
  color: var(--accent);
}

body.nav-open {
  overflow: hidden;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(300px, 42vh, 420px);
  display: grid;
  grid-template-rows: calc(var(--header-h) + 0.5rem) 1fr;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background-color: var(--primary-dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-img, url("../img/general/contacto-hero.jpg")) center / cover no-repeat;
  transform: scale(1.04);
  animation: heroBgIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.88) 0%, rgba(14, 28, 46, 0.58) 45%, rgba(10, 16, 26, 0.86) 100%);
}

.page-hero-inner {
  position: relative;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: min(100% - 2rem, 820px);
  padding: 1.75rem 0 3rem;
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.page-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.12;
}

.page-hero-text {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.page-hero-nosotros {
  min-height: clamp(420px, 60vh, 600px);
  box-shadow: 0 28px 60px rgba(6, 16, 24, 0.45);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: heroBgIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 8s ease-out;
}

.page-hero-nosotros:hover .page-hero-bg {
  transform: scale(1);
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.88) 0%, rgba(8, 12, 18, 0.55) 42%, rgba(8, 12, 18, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.55) 0%, transparent 32%, transparent 62%, rgba(8, 12, 18, 0.82) 100%);
}

.page-hero-nosotros::before {
  display: none;
}

.page-hero-nosotros::after {
  display: none;
}

.page-hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(251, 176, 24, 0.2) 40%, transparent 75%);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.35);
}

.page-hero-nosotros .page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  text-align: left;
  justify-self: start;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.page-hero-nosotros h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  letter-spacing: -0.035em;
  max-width: 10ch;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-hero-nosotros .page-hero-text {
  margin-left: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-nosotros .page-hero-line {
  margin-left: 0;
  width: 64px;
  box-shadow: 0 0 24px rgba(251, 176, 24, 0.45);
}

.page-hero-nosotros .page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.page-hero-nosotros .page-hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.page-hero-nosotros .page-hero-eyebrow::after {
  display: none;
}

@keyframes heroBgIn {
  from { transform: scale(1.1); opacity: 0.6; }
  to { transform: scale(1.04); opacity: 1; }
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Home slider ---------- */
.hero-slider {
  position: relative;
  height: 92svh;
  min-height: 620px;
  max-height: 980px;
  overflow: hidden;
  background: #0a1018;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: calc(var(--header-h) + 1rem) minmax(0, 1fr);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;
  z-index: 0;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.slide-bg,
.slide-overlay {
  grid-column: 1;
  grid-row: 1 / -1;
  z-index: 0;
}

.slide-overlay { z-index: 1; }

.slide-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease-out;
  will-change: transform;
}

.slide.is-active .slide-bg { transform: scale(1); }

.slide-overlay {
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.92) 0%, rgba(8, 12, 18, 0.72) 38%, rgba(8, 12, 18, 0.28) 68%, rgba(8, 12, 18, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.55) 0%, transparent 28%, transparent 70%, rgba(8, 12, 18, 0.75) 100%);
}

.slide-content {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 1.5rem 0 5.5rem;
  color: var(--white);
  box-sizing: border-box;
}

.slide-copy {
  max-width: 640px;
}

.slide-eyebrow,
.slide-copy h2,
.slide-text,
.slide-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide.is-active .slide-eyebrow,
.slide.is-active .slide-copy h2,
.slide.is-active .slide-text,
.slide.is-active .slide-actions {
  opacity: 1;
  transform: none;
}

.slide.is-active .slide-eyebrow { transition-delay: 0.15s; }
.slide.is-active .slide-copy h2 { transition-delay: 0.28s; }
.slide.is-active .slide-text { transition-delay: 0.4s; }
.slide.is-active .slide-actions { transition-delay: 0.52s; }

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.slide-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.slide-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
  max-width: 14ch;
  color: #fff;
}

.slide-copy h2 span {
  color: var(--accent);
  position: relative;
  display: inline;
  text-shadow: 0 0 28px rgba(251, 176, 24, 0.28);
}

.slide-text {
  max-width: 34rem;
  margin-bottom: 1.85rem;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.slide-actions .btn {
  border-radius: var(--btn-radius);
  padding: 0.68rem 1.55rem;
  font-size: 0.88rem;
  min-height: 42px;
}

.slide-actions .btn-accent {
  box-shadow: 0 10px 26px rgba(251, 176, 24, 0.28);
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--btn-radius);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    gap var(--transition),
    transform var(--transition);
}

.slide-link i {
  font-size: 0.75rem;
  transition: transform var(--transition);
}

.slide-link:hover {
  color: var(--dark);
  background: #fff;
  border-color: #fff;
  gap: 0.7rem;
}

.slide-link:hover i {
  transform: translateX(2px);
}

.slider-arrow {
  position: absolute;
  top: calc(var(--header-h) + (100% - var(--header-h)) / 2);
  z-index: 6;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 16, 26, 0.45);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.slider-arrow svg { width: 20px; height: 20px; }

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  transform: translateY(-50%) scale(1.04);
}

.slider-arrow:active { transform: translateY(-50%) scale(0.96); }
.slider-arrow-prev { left: clamp(0.85rem, 2.2vw, 1.75rem); }
.slider-arrow-next { right: clamp(0.85rem, 2.2vw, 1.75rem); }

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  width: auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 10, 16, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(251, 176, 24, 0.55);
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--light);
}

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  color: var(--primary);
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head h2 span {
  color: var(--accent);
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.split-copy .lead {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ---------- About home ---------- */
.section-about-home {
  position: relative;
  padding-top: clamp(5rem, 8vw, 6.5rem);
  padding-bottom: clamp(5rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at 12% 20%, rgba(35, 87, 135, 0.07), transparent 42%),
    radial-gradient(ellipse at 90% 80%, rgba(251, 176, 24, 0.08), transparent 40%),
    linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
  overflow: hidden;
}

.section-about-home::before {
  content: "SIME";
  position: absolute;
  left: -2%;
  bottom: -10%;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(35, 87, 135, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-about-home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 87, 135, 0.14), transparent);
}

.about-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.75rem, 5.5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-home-media {
  position: relative;
}

.about-home-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px 32px 4px 32px;
  box-shadow:
    0 30px 70px rgba(26, 65, 102, 0.18),
    0 0 0 1px rgba(35, 87, 135, 0.08);
}

.about-home-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px 24px 2px 24px;
  z-index: 2;
  pointer-events: none;
}

.about-home-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 19, 29, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-home-frame img {
  width: 100%;
  height: clamp(380px, 48vw, 560px);
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-home:hover .about-home-frame img {
  transform: scale(1.045);
}

.about-home-caption {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.about-home-caption span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.about-home-kicker-line {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: var(--accent);
}

.about-home-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  max-width: 15ch;
}

.about-home-copy h2 span {
  color: var(--accent);
}

.about-home-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 34rem;
}

.about-home-pillars {
  list-style: none;
  margin: 0 0 2.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(35, 87, 135, 0.12);
}

.about-home-pillars li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(35, 87, 135, 0.12);
  transition: padding-left var(--transition);
}

.about-home-pillars li:hover {
  padding-left: 0.35rem;
}

.about-home-num {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.about-home-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.about-home-pillars p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.about-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition), gap var(--transition);
}

.about-home-link i {
  font-size: 0.72rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.about-home-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.about-home-link:hover i {
  transform: translateX(3px);
}

.section-why {
  position: relative;
  padding-top: clamp(5rem, 8vw, 6.5rem);
  padding-bottom: clamp(5rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(251, 176, 24, 0.1), transparent 38%),
    radial-gradient(ellipse at 10% 90%, rgba(35, 87, 135, 0.35), transparent 42%),
    linear-gradient(150deg, #08131d 0%, #0d1c2c 48%, #0a1622 100%);
  overflow: hidden;
  color: #fff;
}

.section-why::before {
  content: "SIME";
  position: absolute;
  right: -3%;
  bottom: -8%;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-why::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 22px,
    rgba(255, 255, 255, 0.012) 22px,
    rgba(255, 255, 255, 0.012) 23px
  );
  pointer-events: none;
  z-index: 0;
}

.why-home {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.75rem, 5.5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.why-home-kicker-line {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: var(--accent);
}

.why-home-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 14ch;
}

.why-home-copy h2 span {
  color: var(--accent);
}

.why-home-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
  max-width: 34rem;
}

.why-home-pillars {
  list-style: none;
  margin: 0 0 2.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why-home-pillars li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left var(--transition);
}

.why-home-pillars li:hover {
  padding-left: 0.35rem;
}

.why-home-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.why-home-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.3rem;
}

.why-home-pillars p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.why-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.why-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition), gap var(--transition);
}

.why-home-link i {
  font-size: 0.72rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.why-home-link:hover {
  color: #fff;
  gap: 0.75rem;
}

.why-home-link:hover i {
  transform: translateX(3px);
}

.why-home-media {
  position: relative;
}

.why-home-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px 32px 4px 32px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.why-home-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px 24px 2px 24px;
  z-index: 2;
  pointer-events: none;
}

.why-home-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 19, 29, 0.82) 100%);
  z-index: 1;
  pointer-events: none;
}

.why-home-frame img {
  width: 100%;
  height: clamp(380px, 48vw, 560px);
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-home:hover .why-home-frame img {
  transform: scale(1.045);
}

.why-home-caption {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.why-home-caption span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-cta-final {
  position: relative;
  padding-top: 5.25rem;
  padding-bottom: 5.25rem;
  background:
    radial-gradient(ellipse at top right, rgba(35, 87, 135, 0.08), transparent 45%),
    linear-gradient(180deg, #f3f6fa 0%, #e8eef5 100%);
  overflow: hidden;
}

.section-cta-final::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.cta-final {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  position: relative;
  z-index: 1;
}

.cta-final-copy .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.cta-final-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.cta-final-copy h2 span {
  color: var(--accent);
}

.cta-final-text {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.cta-final-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
  transition: color var(--transition), gap var(--transition);
}

.cta-final-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(35, 87, 135, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  transition: background var(--transition), color var(--transition);
}

.cta-final-link:hover {
  color: var(--primary);
  gap: 0.85rem;
}

.cta-final-link:hover i {
  background: var(--accent);
  color: var(--dark);
}

.cta-final-aside {
  padding: 1.75rem 1.85rem;
  border-left: 1px solid rgba(35, 87, 135, 0.16);
}

.cta-final-aside-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.cta-final-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  transition: color var(--transition);
}

.cta-final-mail:hover {
  color: var(--accent);
}

.cta-final-aside-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 22rem;
}

/* ---------- Services grid ---------- */
.section-services {
  position: relative;
  overflow: hidden;
  padding-top: clamp(5rem, 8vw, 6.5rem);
  padding-bottom: clamp(5rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(35, 87, 135, 0.07), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(251, 176, 24, 0.06), transparent 40%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 50%, #f8fafc 100%);
}

.section-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 87, 135, 0.18), transparent);
}

.services-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(35, 87, 135, 0.12);
}

.services-intro .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.services-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.12;
  max-width: 16ch;
}

.services-intro h2 span {
  color: var(--accent);
}

.services-intro-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.services-intro-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.services-intro-count {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  width: fit-content;
  padding-top: 0.85rem;
  border-top: 2px solid var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.services-intro-count strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  text-transform: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.35rem;
  position: relative;
  z-index: 1;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 0;
  min-height: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 2px 22px 2px 2px;
  box-shadow: 0 18px 40px rgba(18, 37, 54, 0.18);
}

.service-card-media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1px 14px 1px 1px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 19, 29, 0.25) 0%, transparent 42%),
    linear-gradient(180deg, transparent 35%, rgba(8, 19, 29, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover .service-card-media {
  box-shadow: 0 26px 52px rgba(18, 37, 54, 0.28);
}

.service-card:hover .service-card-media::before {
  opacity: 1;
}

.service-card-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--dark);
  background: var(--accent);
  padding: 0.42rem 0.65rem;
  box-shadow: 0 12px 24px rgba(251, 176, 24, 0.38);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card-body {
  position: relative;
  z-index: 4;
  margin: -2.6rem 0.85rem 0;
  padding: 1.35rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  background: #fff;
  border: 1px solid rgba(35, 87, 135, 0.1);
  border-radius: 2px 2px 18px 2px;
  box-shadow: 0 16px 36px rgba(20, 40, 70, 0.1);
  transition:
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.service-card:hover .service-card-body {
  border-color: rgba(35, 87, 135, 0.2);
  box-shadow: 0 22px 44px rgba(20, 40, 70, 0.16);
}

.service-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--primary-dark);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(35, 87, 135, 0.1);
  position: relative;
}

.service-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-title::after {
  width: 4rem;
}

.service-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.15rem 0 0.35rem;
  flex: 1;
}

.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.service-card-more {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color var(--transition);
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(35, 87, 135, 0.08);
  color: var(--primary);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.service-card-arrow i {
  font-size: 0.7rem;
}

.service-card:hover .service-card-more {
  color: var(--primary-dark);
}

.service-card:hover .service-card-arrow {
  background: var(--accent);
  color: var(--dark);
  transform: translateX(3px);
}

.services-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 3.5rem;
  padding: 1.65rem 1.85rem;
  background: linear-gradient(135deg, #122536 0%, #1a4166 55%, #235787 100%);
  border-radius: 4px 20px 4px 20px;
  box-shadow: 0 20px 44px rgba(18, 37, 54, 0.28);
}

.services-footer-copy p {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.services-footer-copy span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.services-footer .btn-services {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: 0 12px 28px rgba(251, 176, 24, 0.28);
}

.services-footer .btn-services i {
  color: var(--dark);
}

.services-footer .btn-services:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

.btn-services {
  padding: 0.82rem 1.9rem;
  border-radius: var(--btn-radius);
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(35, 87, 135, 0.25);
  gap: 0.75rem;
}

.btn-services i {
  font-size: 0.75rem;
  color: var(--accent);
  transition: transform var(--transition), color var(--transition);
}

.btn-services:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: 0 16px 34px rgba(251, 176, 24, 0.3);
}

.btn-services:hover i {
  color: var(--dark);
  transform: translateX(4px);
}

/* ---------- Service detail / Servicios page ---------- */
.page-hero-servicios {
  min-height: clamp(400px, 56vh, 560px);
  box-shadow: 0 28px 60px rgba(6, 16, 24, 0.45);
}

.page-hero-servicios:hover .page-hero-bg {
  transform: scale(1);
}

.page-hero-servicios::before,
.page-hero-servicios::after {
  display: none;
}

.page-hero-servicios .page-hero-inner {
  position: relative;
  z-index: 3;
  text-align: left;
  justify-self: start;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  max-width: none;
}

.page-hero-servicios h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  letter-spacing: -0.035em;
  max-width: 10ch;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-hero-servicios .page-hero-text {
  margin-left: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-servicios .page-hero-line {
  margin-left: 0;
  width: 64px;
  box-shadow: 0 0 24px rgba(251, 176, 24, 0.45);
}

.page-hero-servicios .page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.page-hero-servicios .page-hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.section-services-page {
  padding-top: clamp(4.5rem, 7vw, 6.25rem);
  padding-bottom: clamp(4.75rem, 7.5vw, 6.5rem);
  background:
    radial-gradient(ellipse at top right, rgba(35, 87, 135, 0.05), transparent 40%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 48%, #f8fafc 100%);
}

.services-page-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem 2.5rem;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(35, 87, 135, 0.12);
}

.services-page-intro .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.7rem;
  color: var(--primary);
}

.services-page-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.15;
}

.services-page-intro h2 span {
  color: var(--accent);
}

.services-page-intro > p {
  margin: 0;
  max-width: 28rem;
  justify-self: end;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.svc-card {
  --svc-radius: 4px 20px 4px 20px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--svc-radius);
  background:
    linear-gradient(145deg, #ffffff 0%, #f7fafc 52%, #eef4f9 100%);
  border: 1px solid rgba(35, 87, 135, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 42px rgba(20, 40, 70, 0.08);
  scroll-margin-top: 6.5rem;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 4;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(251, 176, 24, 0.35) 38%, transparent 72%);
  opacity: 0.95;
}

.svc-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -40%;
  width: 52%;
  height: 78%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(35, 87, 135, 0.09), transparent 68%);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(35, 87, 135, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 60px rgba(20, 40, 70, 0.16),
    0 0 0 1px rgba(251, 176, 24, 0.12);
}

.svc-card:hover::after {
  opacity: 1;
  transform: translate(-6%, -4%) scale(1.08);
}

.svc-card:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
  --svc-radius: 20px 4px 20px 4px;
}

.svc-card:nth-child(even)::before {
  background: linear-gradient(270deg, var(--accent) 0%, rgba(251, 176, 24, 0.35) 38%, transparent 72%);
}

.svc-card:nth-child(even) .svc-card-media {
  order: 2;
}

.svc-card:nth-child(even) .svc-card-body {
  order: 1;
}

.svc-card-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  z-index: 1;
}

.svc-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.18) 0%, transparent 34%, transparent 58%, rgba(8, 16, 24, 0.42) 100%),
    linear-gradient(115deg, rgba(35, 87, 135, 0.28), transparent 48%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.svc-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0.85;
}

.svc-card:nth-child(even) .svc-card-media::after {
  background: linear-gradient(270deg, var(--accent), transparent 70%);
}

.svc-card:hover .svc-card-media::before {
  opacity: 0.85;
}

.svc-card-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: saturate(0.92) contrast(1.04);
}

.svc-card:hover .svc-card-media img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.06);
}

.svc-card-media-frame {
  position: absolute;
  inset: 1rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  opacity: 0.55;
  transition: opacity 0.45s ease, inset 0.45s ease;
}

.svc-card-media-frame::before,
.svc-card-media-frame::after {
  content: "";
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border-color: var(--accent);
  border-style: solid;
}

.svc-card-media-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.svc-card-media-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.svc-card:hover .svc-card-media-frame {
  opacity: 1;
}

.svc-card-media-glow {
  position: absolute;
  left: 12%;
  bottom: 10%;
  width: 42%;
  height: 34%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(251, 176, 24, 0.28), transparent 70%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.svc-card:hover .svc-card-media-glow {
  opacity: 1;
}

.svc-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  min-width: 2.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--dark);
  background: linear-gradient(180deg, #ffc84a 0%, var(--accent) 100%);
  padding: 0.55rem 0.7rem;
  border-radius: var(--btn-radius);
  box-shadow:
    0 12px 28px rgba(251, 176, 24, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card:nth-child(even) .svc-card-badge {
  left: auto;
  right: 1.25rem;
}

.svc-card:hover .svc-card-badge {
  transform: translateY(-2px) scale(1.04);
}

.svc-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.85rem, 3.8vw, 3rem) clamp(1.6rem, 3.4vw, 2.85rem);
  overflow: hidden;
}

.svc-card-watermark {
  position: absolute;
  right: 0.35rem;
  top: 0.1rem;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(35, 87, 135, 0.06);
  pointer-events: none;
  user-select: none;
  transition: color 0.45s ease, transform 0.6s ease;
}

.svc-card:nth-child(even) .svc-card-watermark {
  right: auto;
  left: 0.35rem;
}

.svc-card:hover .svc-card-watermark {
  color: rgba(35, 87, 135, 0.1);
  transform: translateY(-4px);
}

.svc-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.svc-card-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.svc-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(35, 87, 135, 0.08);
  border: 1px solid rgba(35, 87, 135, 0.12);
  border-radius: var(--btn-radius);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.svc-card:hover .svc-card-chip {
  background: rgba(251, 176, 24, 0.16);
  border-color: rgba(251, 176, 24, 0.35);
  color: #8a5a00;
}

.svc-card-body h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin: 0 0 1.05rem;
  padding-bottom: 1.05rem;
  max-width: 18ch;
  line-height: 1.18;
}

.svc-card-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(251, 176, 24, 0.4);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card:hover .svc-card-body h2::after {
  width: 5rem;
}

.svc-card-text {
  position: relative;
  z-index: 1;
  margin: 0 0 1.65rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.svc-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(35, 87, 135, 0.1);
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.35s ease;
}

.svc-card-link i {
  font-size: 0.72rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.svc-card-link:hover i {
  transform: translateX(3px);
}

.svc-card:hover .svc-card-link {
  color: var(--primary-dark);
}
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail h2 {
  color: var(--primary);
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.service-detail p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
/* ---------- Values / Nosotros page ---------- */
.section-page-about {
  padding-top: clamp(4.5rem, 7vw, 6rem);
  padding-bottom: clamp(4.5rem, 7vw, 6rem);
}

.section-page-about .about-home-pillars li {
  grid-template-columns: 2.75rem 1fr;
  align-items: start;
}

.about-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--btn-radius);
  background: rgba(35, 87, 135, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.section-page-pillars {
  position: relative;
  padding-top: clamp(5.25rem, 8vw, 7.25rem);
  padding-bottom: clamp(5.25rem, 8vw, 7.25rem);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(251, 176, 24, 0.1), transparent 34%),
    radial-gradient(ellipse at 5% 100%, rgba(35, 87, 135, 0.25), transparent 42%),
    linear-gradient(168deg, #061018 0%, #0b1826 52%, #08141f 100%);
  color: #fff;
  overflow: hidden;
}

.section-page-pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.015), transparent);
  pointer-events: none;
}

.page-pillars-intro {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.page-pillars-intro .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-pillars-intro .section-eyebrow::before,
.page-pillars-intro .section-eyebrow::after {
  content: "";
  width: 1.5rem;
  height: 1.5px;
  background: var(--accent);
}

.page-pillars-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.page-pillars-intro h2 span {
  color: var(--accent);
}

.page-pillars-intro p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-pillars-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.page-pillar-card {
  --pillar-radius: 4px 20px 4px 20px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.7rem 2rem;
  border-radius: var(--pillar-radius);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    background 0.4s ease;
}

.page-pillar-card:nth-child(2) {
  --pillar-radius: 20px 4px 20px 4px;
}

.page-pillar-card:nth-child(3) {
  --pillar-radius: 4px 20px 4px 20px;
}

.page-pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(251, 176, 24, 0.35) 42%, transparent 78%);
  opacity: 0.95;
}

.page-pillar-card:nth-child(2)::before {
  background: linear-gradient(270deg, var(--accent) 0%, rgba(251, 176, 24, 0.35) 42%, transparent 78%);
}

.page-pillar-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -25%;
  width: 70%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(251, 176, 24, 0.12), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.page-pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 176, 24, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(251, 176, 24, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.page-pillar-card:hover::after {
  opacity: 1;
  transform: translate(-4%, 6%) scale(1.05);
}

.page-pillar-watermark {
  position: absolute;
  right: 0.4rem;
  top: 0.35rem;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 5.75rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  transition: color 0.45s ease, transform 0.55s ease;
}

.page-pillar-card:nth-child(2) .page-pillar-watermark {
  right: auto;
  left: 0.4rem;
}

.page-pillar-card:hover .page-pillar-watermark {
  color: rgba(251, 176, 24, 0.12);
  transform: translateY(-3px);
}

.page-pillar-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.page-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(251, 176, 24, 0.42);
  border-radius: var(--btn-radius);
  color: var(--accent);
  font-size: 1.05rem;
  background:
    linear-gradient(160deg, rgba(251, 176, 24, 0.16) 0%, rgba(251, 176, 24, 0.04) 100%);
  box-shadow:
    0 12px 28px rgba(251, 176, 24, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.page-pillar-card:hover .page-pillar-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 16px 32px rgba(251, 176, 24, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.page-pillar-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--btn-radius);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.page-pillar-card:hover .page-pillar-chip {
  color: #1a1f26;
  background: var(--accent);
  border-color: var(--accent);
}

.page-pillar-label {
  position: relative;
  z-index: 1;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-pillar-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.05rem;
  padding-bottom: 1rem;
}

.page-pillar-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(251, 176, 24, 0.45);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-pillar-card:hover h3::after {
  width: 4.5rem;
}

.page-pillar-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.64);
  flex: 1;
}

.page-pillar-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-pillar-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, padding-left 0.35s ease, background 0.3s ease;
}

.page-pillar-list li:last-child {
  border-bottom: 0;
}

.page-pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(251, 176, 24, 0.45);
}

.page-pillar-list li:hover {
  color: #fff;
  padding-left: 1.25rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-top: 4px solid var(--accent);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.value-card p,
.value-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.value-card li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.value-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Quote ---------- */
.quote-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.quote-block h2 {
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.quote-block blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.page-hero-contacto {
  min-height: clamp(400px, 56vh, 560px);
  box-shadow: 0 28px 60px rgba(6, 16, 24, 0.45);
}

.page-hero-contacto::before,
.page-hero-contacto::after {
  display: none;
}

.page-hero-contacto .page-hero-inner {
  position: relative;
  z-index: 3;
  text-align: left;
  justify-self: start;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  max-width: none;
}

.page-hero-contacto h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  letter-spacing: -0.035em;
  max-width: 10ch;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-hero-contacto .page-hero-text {
  margin-left: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-contacto .page-hero-line {
  margin-left: 0;
  width: 64px;
  box-shadow: 0 0 24px rgba(251, 176, 24, 0.45);
}

.page-hero-contacto .page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.page-hero-contacto .page-hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.section-contact {
  position: relative;
  padding-top: clamp(4.5rem, 7vw, 6.25rem);
  padding-bottom: clamp(4.75rem, 7.5vw, 6.5rem);
  background: #fff;
  border-bottom: 1px solid rgba(35, 87, 135, 0.08);
}

.section-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 87, 135, 0.14), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-aside .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--primary-dark);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.contact-aside h2 span {
  color: var(--accent);
}

.contact-aside-lead {
  margin: 0 0 2rem;
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-channels {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(35, 87, 135, 0.12);
}

.contact-channels li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(35, 87, 135, 0.12);
  transition: padding-left var(--transition);
}

.contact-channels li:hover {
  padding-left: 0.25rem;
}

.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--btn-radius);
  background: rgba(35, 87, 135, 0.08);
  border: 1px solid rgba(35, 87, 135, 0.1);
  color: var(--primary);
  font-size: 0.95rem;
}

.contact-channel-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-channels a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--primary-dark);
}

.contact-channels a:hover {
  color: var(--accent);
}

.contact-channels p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-aside-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
  border: 1px solid rgba(35, 87, 135, 0.1);
  border-left: 3px solid var(--accent);
}

.contact-aside-note i {
  color: var(--accent);
  margin-top: 0.2rem;
}

.contact-aside-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-form-panel {
  position: relative;
  background: #fff;
  border: 1px solid rgba(35, 87, 135, 0.12);
  padding: clamp(1.85rem, 3.2vw, 2.65rem);
  box-shadow:
    0 28px 56px rgba(20, 40, 70, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 55%, transparent 100%);
}

.contact-form-head {
  margin-bottom: 1.85rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(35, 87, 135, 0.1);
}

.contact-form-head .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.65rem;
  color: var(--primary);
}

.contact-form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin: 0;
}

.contact-form-head h2 span {
  color: var(--accent);
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem 1.2rem;
  margin-bottom: 0.15rem;
}

.contact-form .form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.contact-form .form-row label {
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-form .form-row input,
.contact-form .form-row textarea,
.contact-form .form-row select {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.9rem 1.05rem;
  border: 1.5px solid rgba(35, 87, 135, 0.14);
  border-radius: var(--btn-radius);
  font: inherit;
  font-size: 0.98rem;
  color: var(--primary-dark);
  background: #f4f7fb;
  box-shadow: inset 0 1px 2px rgba(20, 40, 70, 0.03);
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.contact-form .form-row select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: #f4f7fb;
  padding-right: 2.4rem;
  cursor: pointer;
}

.contact-form .form-row input::placeholder,
.contact-form .form-row textarea::placeholder {
  color: #93a0ae;
}

.contact-form .form-row input:hover,
.contact-form .form-row textarea:hover,
.contact-form .form-row select:hover {
  border-color: rgba(35, 87, 135, 0.28);
  background: #f8fafc;
}

.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus,
.contact-form .form-row select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(35, 87, 135, 0.1),
    0 8px 20px rgba(35, 87, 135, 0.08);
}

.contact-form .form-row textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form .btn {
  margin-top: 0.25rem;
  min-width: 210px;
  padding: 0.85rem 1.6rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--btn-radius);
  display: none;
}

.form-message.is-success {
  display: block;
  background: #e8f6ee;
  color: #1b6b3a;
}

.form-message.is-error {
  display: block;
  background: #fdecea;
  color: #9b1c1c;
}

.section-contact-map {
  position: relative;
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: clamp(4.75rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at top right, rgba(35, 87, 135, 0.07), transparent 42%),
    linear-gradient(180deg, #f4f7fb 0%, #e8eef5 100%);
  border-bottom: 1px solid rgba(35, 87, 135, 0.1);
}

.section-contact-map::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(8, 19, 29, 0.06));
  pointer-events: none;
}

.contact-map-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.85rem;
}

.contact-map-intro .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.7rem;
  color: var(--primary);
}

.contact-map-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin: 0 0 0.45rem;
}

.contact-map-intro h2 span {
  color: var(--accent);
}

.contact-map-address {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.contact-map-btn {
  gap: 0.65rem;
}

.contact-map-btn i {
  font-size: 0.75rem;
}

.contact-map-shell {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(35, 87, 135, 0.12);
  box-shadow:
    0 28px 60px rgba(20, 40, 70, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.contact-map-frame {
  position: relative;
  overflow: hidden;
  background: #dce4ec;
}

.contact-map-frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(35, 87, 135, 0.55) 55%, transparent);
  z-index: 1;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(340px, 44vw, 480px);
  border: 0;
}

.contact-map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border-top: 1px solid rgba(35, 87, 135, 0.1);
}

.contact-map-caption span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-map-caption i {
  color: var(--accent);
}

.contact-map-caption a {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-map-caption a:hover {
  color: var(--accent);
}

/* ---------- Legal ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--primary);
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.legal-content strong {
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(251, 176, 24, 0.08), transparent 40%),
    linear-gradient(165deg, #08131d 0%, #0d1c2c 55%, #0a1622 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.site-footer::before {
  content: "SIME";
  position: absolute;
  right: -2%;
  bottom: -6%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.028);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-top {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.75rem 0;
}

.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1.5px;
  background: var(--accent);
}

.footer-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  max-width: 22ch;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding: 3.5rem 0 3rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.15rem;
    background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), background var(--transition);
    line-height: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 12px;
}

.footer-brand img {
  height: 52px;
  width: auto;

  opacity: 0.95;
}

.footer-brand > p {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--btn-radius);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.03);
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.footer-social a:hover {
  color: var(--dark);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
  width: fit-content;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-contact-list a:hover {
  color: var(--accent);
}

.footer-contact-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35) !important;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 1400px) {
  .hero-slider {
    height: 90svh;
    min-height: 720px;
    max-height: 980px;
  }

  .slide-copy {
    max-width: 720px;
  }

  .slide-copy h2 {
    font-size: clamp(3rem, 4.2vw, 4.4rem);
  }

  .logo img {
    height: 56px;
  }

  .site-header.is-scrolled .logo img {
    height: 46px;
  }
}


/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  width: min(100% - 2rem, 340px);
  pointer-events: none;
}

.wa-float > * {
  pointer-events: auto;
}

.wa-float-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 4px 18px 4px 18px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  border: 1px solid rgba(35, 87, 135, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 56px rgba(8, 18, 30, 0.28);
  transform-origin: bottom right;
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s ease;
}

.wa-float.is-open .wa-float-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float-panel[hidden] {
  display: none !important;
}

.wa-float.is-open .wa-float-panel[hidden] {
  display: block !important;
}

.wa-float-panel-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(145deg, #0d1c2c 0%, #163552 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-float-panel-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}

.wa-float-panel-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--btn-radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.15rem;
}

.wa-float-panel-copy {
  min-width: 0;
  padding-right: 1.75rem;
}

.wa-float-panel-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}

.wa-float-panel-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.wa-float-panel-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.wa-float-panel-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

.wa-float-panel-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.wa-float-panel-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wa-float-panel-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(251, 176, 24, 0.4);
}

.wa-float-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.wa-float-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.wa-float-form .form-row label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.wa-float-form .form-row input,
.wa-float-form .form-row textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(35, 87, 135, 0.14);
  border-radius: var(--btn-radius);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wa-float-form .form-row textarea {
  resize: none;
  min-height: 78px;
}

.wa-float-form .form-row input:focus,
.wa-float-form .form-row textarea:focus {
  border-color: rgba(35, 87, 135, 0.45);
  box-shadow: 0 0 0 3px rgba(35, 87, 135, 0.1);
}

.wa-float-submit {
  width: 100%;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.wa-float-submit i {
  font-size: 1.05rem;
  color: var(--dark);
}

.wa-float-form .form-message {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
}

.wa-float-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px 18px 4px 18px;
  background: linear-gradient(145deg, #0d1c2c 0%, #163552 58%, #1a4166 100%);
  box-shadow:
    0 16px 40px rgba(8, 18, 30, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  cursor: pointer;
  text-align: left;
  color: #fff;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    padding 0.35s ease,
    gap 0.35s ease;
}

.wa-float-launcher::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.wa-float-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(251, 176, 24, 0.12), transparent 45%);
  pointer-events: none;
}

.wa-float-launcher-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: var(--btn-radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  font-size: 1.35rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease;
}

.wa-float-launcher-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding-right: 0.15rem;
  transition:
    opacity 0.28s ease,
    transform 0.35s ease,
    max-width 0.35s ease,
    margin 0.35s ease;
}

.wa-float-launcher-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.wa-float-launcher-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.wa-float-icon-open {
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.wa-float-icon-close {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7) rotate(-40deg);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-float-icon-close span {
  position: absolute;
  width: 13px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.wa-float-icon-close span:first-child {
  transform: rotate(45deg);
}

.wa-float-icon-close span:last-child {
  transform: rotate(-45deg);
}

.wa-float.is-open .wa-float-launcher {
  padding: 0.55rem;
  gap: 0;
  border-color: rgba(251, 176, 24, 0.35);
}

.wa-float.is-open .wa-float-launcher-copy {
  opacity: 0;
  visibility: hidden;
  max-width: 0;
  margin: 0;
  transform: translateX(8px);
  pointer-events: none;
  overflow: hidden;
}

.wa-float.is-open .wa-float-icon-open {
  opacity: 0;
  transform: scale(0.65) rotate(35deg);
}

.wa-float.is-open .wa-float-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.wa-float.is-open .wa-float-launcher-icon {
  background: rgba(251, 176, 24, 0.16);
  border-color: rgba(251, 176, 24, 0.4);
}

.wa-float-launcher:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 176, 24, 0.28);
  box-shadow:
    0 20px 44px rgba(8, 18, 30, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.wa-float-launcher:hover .wa-float-launcher-icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.wa-float-launcher:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

body.quote-modal-open .wa-float,
body.nav-open .wa-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .wa-float {
    right: 0.85rem;
    bottom: 0.85rem;
    width: min(100% - 1.5rem, 320px);
    gap: 0.7rem;
  }

  .wa-float-launcher {
    padding: 0.45rem 0.8rem 0.45rem 0.45rem;
    gap: 0.6rem;
  }

  .wa-float-launcher-icon {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.2rem;
  }

  .wa-float-launcher-title {
    font-size: 0.78rem;
  }

  .wa-float-launcher-text {
    font-size: 0.64rem;
  }

  .wa-float-panel-title {
    font-size: 0.9rem;
  }

  .wa-float.is-open .wa-float-launcher {
    padding: 0.45rem;
  }
}
/* ---------- Quote modal ---------- */
body.quote-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal[hidden] {
  display: none !important;
}

.quote-modal.is-open[hidden] {
  display: flex !important;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(35, 87, 135, 0.35), transparent 55%),
    rgba(5, 10, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  max-width: 100%;
  max-height: min(92vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  border-radius: 4px 20px 4px 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(35, 87, 135, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 32px 80px rgba(6, 14, 24, 0.5);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-modal.is-open .quote-modal-dialog {
  transform: translateY(0) scale(1);
}

.quote-modal-dialog::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(251, 176, 24, 0.45) 40%, transparent 78%);
}

.quote-modal-dialog::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 40%;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(35, 87, 135, 0.08), transparent 70%);
}

.quote-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(35, 87, 135, 0.14);
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.quote-modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
}

.quote-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.quote-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.quote-modal-close:hover {
  background: #fff;
  border-color: rgba(35, 87, 135, 0.3);
  transform: scale(1.05);
}

.quote-modal-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 1.75rem 1.75rem 1.35rem;
  background:
    linear-gradient(145deg, rgba(35, 87, 135, 0.06) 0%, rgba(251, 176, 24, 0.06) 48%, transparent 100%);
  border-bottom: 1px solid rgba(35, 87, 135, 0.1);
}

.quote-modal-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: var(--btn-radius);
  color: var(--dark);
  background: linear-gradient(180deg, #ffc84a 0%, var(--accent) 100%);
  box-shadow:
    0 12px 28px rgba(251, 176, 24, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  font-size: 1.05rem;
}

.quote-modal-head-copy {
  padding-right: 2rem;
  min-width: 0;
}

.quote-modal-head .section-eyebrow {
  display: block;
  text-align: left;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.quote-modal-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.quote-modal-head h2 span {
  color: var(--accent);
}

.quote-modal-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.quote-form {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.75rem 1.75rem;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.05rem;
  margin-bottom: 0;
}

.quote-form-row-full {
  grid-column: 1 / -1;
}

.quote-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.quote-form .form-row label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.quote-form .form-row input,
.quote-form .form-row textarea,
.quote-form .form-row select {
  width: 100%;
  max-width: 100%;
  padding: 0.82rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(35, 87, 135, 0.14);
  border-radius: var(--btn-radius);
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.quote-form .form-row select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.quote-form .form-row select.is-locked {
  border-color: rgba(251, 176, 24, 0.55);
  background-color: rgba(251, 176, 24, 0.09);
  box-shadow: 0 0 0 3px rgba(251, 176, 24, 0.12);
}

.quote-form .form-row input:hover,
.quote-form .form-row textarea:hover,
.quote-form .form-row select:hover {
  border-color: rgba(35, 87, 135, 0.28);
}

.quote-form .form-row input:focus,
.quote-form .form-row textarea:focus,
.quote-form .form-row select:focus {
  border-color: rgba(35, 87, 135, 0.5);
  box-shadow: 0 0 0 3px rgba(35, 87, 135, 0.12);
  background: #fff;
}

.quote-form .form-row textarea {
  resize: vertical;
  min-height: 96px;
  margin-bottom: 0;
}

.quote-form-footer {
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(35, 87, 135, 0.1);
}

.quote-form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
}

.quote-submit {
  width: 100%;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(251, 176, 24, 0.28);
}

.quote-submit i {
  font-size: 0.8rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-submit:hover i {
  transform: translateX(3px);
}

.quote-form-note,
.contact-form-note {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.quote-form .form-message {
  margin-top: 0.75rem;
  text-align: center;
}

.contact-form .btn i {
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .quote-modal {
    padding: 0;
    align-items: flex-end;
  }

  .quote-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 4px 20px 0 0;
    transform: translateY(28px);
  }

  .quote-modal.is-open .quote-modal-dialog {
    transform: translateY(0);
  }

  .quote-modal-head {
    padding: 1.35rem 1.2rem 1.15rem;
  }

  .quote-form {
    padding: 1.15rem 1.2rem 1.4rem;
  }

  .quote-modal-badge {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 1100px) {
  .header-actions > .header-social,
  .header-divider {
    display: none;
  }

  .nav-desktop a {
    padding: 0.65rem 0.8rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1024px) {
  .about-home,
  .why-home,
  .cta-final,
  .services-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-intro-text {
    justify-self: start;
    max-width: none;
  }

  .about-home-media,
  .why-home-media {
    max-width: 640px;
  }

  .why-home-copy {
    order: 1;
  }

  .why-home-media {
    order: 0;
  }

  .services-intro h2,
  .why-home-copy h2,
  .about-home-copy h2 {
    max-width: none;
  }

  .cta-final-copy h2 {
    max-width: none;
  }

  .cta-final-aside {
    border-left: 0;
    border-top: 1px solid rgba(35, 87, 135, 0.16);
    padding: 1.5rem 0 0;
  }

  .services-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .service-card-media {
    height: 200px;
  }

  .service-card-body {
    margin-inline: 0.7rem;
  }

  .split,
  .split.reverse,
  .service-detail,
  .svc-card,
  .svc-card:nth-child(even),
  .services-page-intro,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-page-intro {
    gap: 1rem;
    align-items: start;
  }

  .services-page-intro > p {
    justify-self: start;
    max-width: none;
  }

  .svc-card:nth-child(even) .svc-card-media,
  .svc-card:nth-child(even) .svc-card-body {
    order: 0;
  }

  .svc-card-media,
  .svc-card-media img {
    min-height: 250px;
  }

  .svc-card-watermark {
    font-size: 5.25rem;
    opacity: 0.9;
  }

  .svc-card-body h2 {
    max-width: none;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-cta h2 {
    max-width: none;
  }

  .split.reverse .split-media,
  .service-detail:nth-child(even) .service-detail-media {
    order: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .page-hero-nosotros .page-hero-inner,
  .page-hero-contacto .page-hero-inner,
  .page-hero-servicios .page-hero-inner {
    text-align: left;
  }

  .page-hero-contacto h1,
  .page-hero-nosotros h1,
  .page-hero-servicios h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-self: end;
  }
}

@media (max-width: 768px) {
  .btn-header {
    display: none;
  }

  .section-about-home,
  .section-why,
  .section-cta-final {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .about-home-frame img,
  .why-home-frame img {
    height: 300px;
  }

  .about-home-caption,
  .why-home-caption {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.1rem;
  }

  .about-home-actions,
  .why-home-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    max-width: 440px;
    margin-inline: auto;
  }

  .service-card-media {
    height: 210px;
  }

  .service-card-body {
    margin: -2.2rem 0.65rem 0;
    padding: 1.2rem 1.1rem 1.15rem;
  }

  .section-services {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .services-intro {
    margin-bottom: 2.5rem;
  }

  .services-footer {
    padding: 1.35rem 1.35rem;
    border-radius: 4px 14px 4px 14px;
  }

  .hero-slider {
    height: 92svh;
    min-height: 560px;
    max-height: none;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 5.75rem;
    transform: none;
  }

  .slider-arrow:hover,
  .slider-arrow:active {
    transform: scale(1.05);
  }

  .slider-arrow:active {
    transform: scale(0.96);
  }

  .slider-arrow-prev {
    left: 1rem;
  }

  .slider-arrow-next {
    right: 1rem;
  }

  .slide-content {
    padding: 1.25rem 0 7.5rem;
  }

  .slide-copy {
    max-width: 100%;
  }

  .slide-copy h2 {
    max-width: none;
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-inner {
    padding: 1.5rem 0 2.5rem;
  }

  .split-media img,
  .service-detail-media img {
    height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.75rem 0 2.25rem;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 28rem;
  }

  .footer-brand > p {
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col {
    width: 100%;
    max-width: 20rem;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a {
    width: auto;
    margin-inline: auto;
  }

  .footer-contact-list {
    align-items: center;
  }

  .footer-contact-list li {
    width: 100%;
    text-align: center;
  }

  .footer-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 0;
  }

  .footer-cta h2 {
    margin-inline: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .page-hero-text {
    font-size: 0.98rem;
  }

  .page-hero-nosotros h1,
  .page-hero-servicios h1 {
    max-width: none;
  }

  .section-services-page {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }

  .services-page-intro {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    text-align: center;
  }

  .services-page-intro .section-eyebrow,
  .services-page-intro h2,
  .services-page-intro > p {
    text-align: center;
    justify-self: center;
    margin-inline: auto;
  }

  .svc-list {
    gap: 1.75rem;
  }

  .svc-card {
    box-shadow: 0 12px 28px rgba(20, 40, 70, 0.08);
  }

  .svc-card:hover {
    transform: none;
  }

  .svc-card-media,
  .svc-card-media img {
    min-height: 180px;
    max-height: 180px;
  }

  .svc-card-media-frame {
    display: none;
  }

  .svc-card-media-glow {
    display: none;
  }

  .svc-card-watermark {
    display: none;
  }

  .svc-card-chip {
    display: none;
  }

  .svc-card-badge {
    top: 0.85rem;
    left: 0.85rem;
    min-width: 2.25rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.7rem;
  }

  .svc-card:nth-child(even) .svc-card-badge {
    left: 0.85rem;
    right: auto;
  }

  .svc-card-body {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .svc-card-meta {
    margin-bottom: 0.45rem;
  }

  .svc-card-label {
    font-size: 0.64rem;
  }

  .svc-card-body h2 {
    font-size: 1.28rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.7rem;
    max-width: none;
  }

  .svc-card-text {
    margin-bottom: 1.15rem;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .svc-card-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .svc-card-foot .btn {
    width: 100%;
    justify-content: center;
  }

  .svc-card-link {
    justify-content: center;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-header.is-scrolled {
    height: 70px;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    height: 44px;
  }

  .svc-list {
    gap: 1.5rem;
  }

  .svc-card-media,
  .svc-card-media img {
    min-height: 160px;
    max-height: 160px;
  }

  .svc-card-body {
    padding: 1.1rem 1rem 1.2rem;
  }

  .svc-card-body h2 {
    font-size: 1.18rem;
  }

  .svc-card-text {
    -webkit-line-clamp: 2;
    font-size: 0.88rem;
  }

  .svc-card-link {
    display: none;
  }

  .site-footer::before {
    font-size: 5.5rem;
    right: 50%;
    transform: translateX(50%);
    bottom: -4%;
  }
}