/* =============================================
   TIMMY — Estilos principales
   ============================================= */

/* ---- Variables ---- */
:root {
  --bg: oklch(98% 0.012 85);
  --bg-alt: oklch(94% 0.015 85);
  --ink: oklch(20% 0.02 260);
  --ink-soft: oklch(38% 0.02 260);
  --navy: oklch(28% 0.06 250);
  --navy-dark: oklch(22% 0.05 250);
  --navy-darker: oklch(16% 0.04 250);
  --orange: oklch(62% 0.15 40);
  --orange-hover: oklch(56% 0.15 40);
  --orange-soft-bg: oklch(94% 0.03 40);
  --orange-soft-ink: oklch(45% 0.13 40);
  --border: oklch(85% 0.02 85);
  --border-soft: oklch(88% 0.015 85);
}

/* ---- Reset & base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
}
a {
  color: oklch(38% 0.09 45);
  text-decoration: none;
}
a:hover {
  color: oklch(48% 0.13 45);
}
::selection {
  background: oklch(62% 0.15 40 / 0.3);
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Top info bar ---- */
.topbar {
  background: var(--navy-darker);
  color: oklch(94% 0.01 250);
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}
.topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: oklch(94% 0.01 250);
  text-decoration: none;
  line-height: 1.3;
}
.topbar-item svg {
  flex-shrink: 0;
  color: var(--orange);
}
a.topbar-item:hover {
  color: white;
}
a.topbar-item:hover svg {
  color: oklch(70% 0.14 40);
}

/* ---- Header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(98% 0.012 85 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 1;
  min-width: 0;
}
nav.main-nav a {
  color: oklch(25% 0.02 260);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.btn-whatsapp:hover {
  background: var(--orange-hover);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero slider ---- */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
}
.slide-bg.img-01 {
  background: url("../slider2.webp") center / cover no-repeat;
}
.slide-bg.img-02 {
  background: url("../slider3.webp") center / cover no-repeat;
}
.slide-bg.img-03 {
  background: url("../slider4.webp") center / cover no-repeat;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    oklch(20% 0.03 255 / 0.72) 0%,
    oklch(20% 0.03 255 / 0.42) 48%,
    oklch(20% 0.03 255 / 0.1) 100%
  );
}
.slide-content {
  position: relative;
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.slide-copy {
  max-width: 620px;
}
.slide-tag {
  display: inline-block;
  background: oklch(94% 0.03 40 / 0.95);
  color: var(--orange-soft-ink);
  padding: 7px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.slide-title {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 24px;
  color: white;
}
.slide-text {
  font-size: 17px;
  line-height: 1.6;
  color: oklch(94% 0.01 250);
  margin: 0 0 36px;
  max-width: 500px;
}
.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--orange);
  color: white;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}
.btn-ghost-dark {
  background: oklch(100% 0 0 / 0.1);
  color: white;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid oklch(100% 0 0 / 0.4);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 100px;
  border: none;
  background: oklch(100% 0 0 / 0.18);
  color: white;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease;
}
.hero-arrow:hover {
  background: oklch(100% 0 0 / 0.3);
}
.hero-arrow.prev {
  left: 20px;
}
.hero-arrow.next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: oklch(100% 0 0 / 0.4);
  cursor: pointer;
  padding: 0;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.hero-dot.active {
  width: 28px;
  background: var(--orange);
}

/* ---- Trust strip ---- */
.trust {
  background: var(--navy);
  padding: 40px;
  display: flex;
  justify-content: center;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  width: 100%;
  text-align: center;
}
.trust-item {
  border-right: 1px solid oklch(100% 0 0 / 0.12);
  padding: 0 16px;
}
.trust-item:last-child {
  border-right: none;
}
.trust-value {
  font-family: "Source Serif 4", serif;
  font-size: 34px;
  font-weight: 700;
  color: white;
}
.trust-value .counter {
  display: inline-block;
}
.trust-label {
  font-size: 13px;
  color: oklch(85% 0.01 250);
  margin-top: 6px;
}

/* ---- Section shared ---- */
.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 96px 40px;
}
.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-soft-ink);
  margin-bottom: 14px;
}
h2.section-title {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: 36px;
  margin: 0;
}

/* ---- Nosotros ---- */
.nosotros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 420px;
}
.nosotros-grid .big {
  grid-row: 1 / 3;
  border-radius: 14px;
  overflow: hidden;
}
.nosotros-grid .big img {
  transition: transform 0.5s ease;
  height: 100%;
}
.nosotros-grid .big:hover img {
  transform: scale(1.08);
}
.nosotros-grid .cell {
  border-radius: 14px;
  overflow: hidden;
}
.nosotros-grid .cell img {
  transition: transform 0.5s ease;
  height: 100%;
}
.nosotros-grid .cell:hover img {
  transform: scale(1.08);
}
.nosotros h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: 36px;
  margin: 0 0 20px;
  line-height: 1.15;
}
.nosotros p {
  font-size: 16px;
  line-height: 1.7;
  color: oklch(35% 0.02 260);
  margin: 0 0 18px;
}

/* ---- Servicios teaser ---- */
.servicios-teaser {
  background: var(--bg-alt);
}
.servicios-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.servicios-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.servicios-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.servicio-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  cursor: default;
}
.servicio-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px oklch(0% 0 0 / 0.08);
}
.servicio-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--orange-soft-bg);
  color: var(--orange-soft-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Source Serif 4", serif;
  font-size: 18px;
  margin-bottom: 16px;
  transition: transform 0.35s ease;
}
.servicio-card:hover .servicio-icon {
  transform: scale(1.15);
}
.servicio-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.servicio-short {
  font-size: 14px;
  color: oklch(45% 0.02 260);
  line-height: 1.5;
}

/* ---- Bloque de confianza ---- */
.proof {
  background: var(--bg-alt);
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 40px);
}
.proof-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.proof-content h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 40px);
  margin: 0 0 14px;
  max-width: 16ch;
  line-height: 1.12;
  color: var(--navy);
}
.proof-content > p {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.proof-divider {
  height: 2px;
  width: 100%;
  max-width: 420px;
  background: var(--orange);
  margin: 28px 0 24px;
  opacity: 0.85;
}
.proof-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 460px;
}
.proof-points li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-points-wide {
  grid-column: 1 / -1;
}
.proof-points strong {
  font-family: "Source Serif 4", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.proof-points span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.proof-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.proof-wa {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1.5px solid oklch(62% 0.15 40 / 0.55);
  padding-bottom: 2px;
}
.proof-wa:hover {
  color: var(--orange-soft-ink);
  border-color: var(--orange);
}
.proof-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 480px);
  padding: 0 18px 18px 0;
}
.proof-frame {
  position: absolute;
  inset: 18px 0 0 18px;
  border: 2px solid var(--orange);
  border-radius: 999px 999px 18px 18px;
  z-index: 0;
}
.proof-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  aspect-ratio: 5 / 6;
  background: var(--border);
}
.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.proof-badge {
  position: absolute;
  left: 0;
  bottom: 28px;
  z-index: 2;
  background: var(--navy-dark);
  color: white;
  border-radius: 12px;
  padding: 16px 18px;
  max-width: min(170px, 48%);
  box-shadow: 0 12px 28px oklch(16% 0.04 250 / 0.28);
}
.proof-badge-value {
  font-family: "Source Serif 4", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: oklch(96% 0.01 85);
}
.proof-badge-label {
  font-size: 12px;
  line-height: 1.4;
  color: oklch(82% 0.01 250);
}

/* ---- Galeria teaser ---- */
.galeria-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.galeria-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: var(--border-soft);
  cursor: pointer;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.galeria-item:hover img {
  transform: scale(1.08);
}

/* ---- Contacto ---- */
.contacto {
  background: var(--navy-dark);
}
.contacto-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px 40px;
}
.contacto h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: 36px;
  color: white;
  margin: 0 0 16px;
}
.contacto-intro {
  color: oklch(80% 0.01 250);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.contacto-intro strong {
  color: white;
}
.contacto-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contacto-item .dot {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: oklch(100% 0 0 / 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.contacto-item .text {
  color: oklch(90% 0.01 250);
  font-size: 15px;
  line-height: 1.5;
}
.contacto-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  background: oklch(26% 0.03 250);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* ---- Formulario ---- */
.contact-form-wrap {
  background: var(--bg);
  border-radius: 16px;
  padding: 40px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: oklch(30% 0.02 260);
}
.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border-soft);
  font-size: 15px;
  font-family: inherit;
}
.form-field textarea {
  resize: vertical;
}
.btn-submit {
  background: var(--orange);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}
.btn-submit:hover {
  background: var(--orange-hover);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: oklch(95% 0.04 25);
  color: oklch(40% 0.14 25);
  font-size: 14px;
  font-weight: 600;
}
.form-error[hidden] {
  display: none;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 360px;
  text-align: center;
  gap: 12px;
}
.form-success.visible {
  display: flex;
}
.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 100px;
  background: var(--orange-soft-bg);
  color: var(--orange-soft-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.form-success .title {
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  font-weight: 600;
}
.form-success .sub {
  color: oklch(45% 0.02 260);
  font-size: 15px;
  max-width: 280px;
}

/* ---- Footer ---- */
footer {
  background: var(--navy-darker);
  padding: 48px 40px 28px;
}
.footer-top {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-mark {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: oklch(75% 0.01 250);
  font-size: 14px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 100px;
  background: oklch(100% 0 0 / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 20px;
  font-size: 13px;
  color: oklch(55% 0.01 250);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-credit {
  font-size: 12px;
  color: oklch(50% 0.01 250);
}
.footer-credit a {
  color: oklch(72% 0.01 250);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid oklch(100% 0 0 / 0.18);
}
.footer-credit a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---- Página Servicios ---- */
.page-servicios .brand {
  text-decoration: none;
}

.svc-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
}
.svc-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, oklch(28% 0.05 250 / 0.2), transparent 45%),
    url("../slider2.webp") center / cover no-repeat;
  transform: scale(1.04);
  animation: svc-hero-ken 18s ease-out forwards;
}
.svc-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(16% 0.04 250 / 0.35) 0%,
    oklch(16% 0.04 250 / 0.55) 42%,
    oklch(16% 0.04 250 / 0.88) 100%
  );
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 72px 40px 80px;
  animation: svc-fade-up 0.9s ease both;
}
.svc-hero-brand {
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 18px;
}
.svc-hero h1 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 14ch;
}
.svc-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: oklch(94% 0.01 250);
  margin: 0 0 32px;
  max-width: 38ch;
}
.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.svc-index {
  position: sticky;
  top: 88px;
  z-index: 40;
  background: oklch(98% 0.012 85 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.svc-index-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  gap: 8px 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.svc-index a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.svc-index a:hover,
.svc-index a:focus-visible {
  color: var(--orange-soft-ink);
}

.svc-list {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px 30px;
  scroll-margin-top: 160px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.svc-card.is-visible {
  opacity: 1;
  transform: none;
}
.svc-card:hover {
  border-color: oklch(78% 0.04 40);
  box-shadow: 0 10px 28px oklch(28% 0.04 250 / 0.08);
}
.svc-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.svc-num .n {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--orange);
  font-feature-settings: "tnum" 1;
}
.svc-num .total {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: oklch(58% 0.02 85);
  font-feature-settings: "tnum" 1;
}
.svc-card h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.svc-card > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 12px 0 0;
  text-wrap: pretty;
  flex: 1;
}
.svc-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.svc-card li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: oklch(34% 0.02 260);
}
.svc-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
}
.svc-quote {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-soft-ink);
  text-decoration: none;
  border-bottom: 1.5px solid oklch(62% 0.15 40 / 0.45);
  padding-bottom: 2px;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.svc-quote:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.svc-gallery {
  background: var(--bg-alt);
  padding: clamp(64px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.svc-gallery-shell {
  max-width: 1280px;
  margin: 0 auto;
}
.svc-gallery-intro {
  margin: 0 0 40px;
  max-width: 34rem;
}
.svc-gallery-intro p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-g-item {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--border);
}
.svc-g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.svc-g-item:hover img {
  transform: scale(1.04);
}

.svc-cta {
  background:
    linear-gradient(135deg, var(--navy-darker), var(--navy)),
    radial-gradient(
      700px 240px at 85% 20%,
      oklch(45% 0.1 40 / 0.28),
      transparent 70%
    );
  color: white;
  padding: 88px 40px;
}
.svc-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  animation: none;
}
.svc-cta h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 14px;
}
.svc-cta p {
  margin: 0 auto 28px;
  max-width: 42ch;
  color: oklch(90% 0.01 250);
  font-size: 17px;
  line-height: 1.65;
}
.svc-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes svc-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes svc-hero-ken {
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-hero-media,
  .svc-hero-inner,
  .svc-card,
  .svc-g-item img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---- Floating WhatsApp ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px oklch(0% 0 0 / 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px oklch(0% 0 0 / 0.35);
  background: #22c35e;
}

@media (max-width: 1100px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .servicios-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .proof-inner {
    gap: 36px;
  }
  .proof-visual {
    width: min(100%, 400px);
  }
  .proof-content h2 {
    max-width: 14ch;
  }
}

@media (max-width: 900px) {
  .topbar-right {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    padding: 9px 16px;
    font-size: 12px;
  }
  .topbar-left {
    justify-content: center;
    gap: 8px 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  .brand-mark {
    height: 48px;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .btn-whatsapp {
    padding: 10px 14px;
    font-size: 13px;
  }
  nav.main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border-soft);
  }
  nav.main-nav.is-open {
    display: flex;
  }
  nav.main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border-soft);
  }
  nav.main-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    height: auto;
    min-height: 520px;
  }
  .slide-content {
    padding: 48px 24px;
    align-items: flex-end;
  }
  .slide-title {
    font-size: clamp(28px, 7vw, 34px);
  }
  .slide-text {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-arrow {
    display: none;
  }

  .trust {
    padding: 28px 16px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .trust-item {
    border-right: none;
    padding: 8px;
  }
  .trust-value {
    font-size: 28px;
  }

  .proof {
    padding: 56px 24px;
  }
  .proof-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .proof-content h2 {
    max-width: none;
  }
  .proof-content > p {
    max-width: none;
  }
  .proof-divider {
    max-width: none;
  }
  .proof-visual {
    width: min(100%, 380px);
    margin: 0 auto;
    padding: 0 14px 14px 0;
  }
  .proof-frame {
    inset: 14px 0 0 14px;
  }
  .proof-photo {
    aspect-ratio: 3 / 4;
  }
  .proof-badge {
    bottom: 20px;
    padding: 14px 16px;
    max-width: min(160px, 52%);
  }
  .proof-badge-value {
    font-size: 24px;
  }
  .proof-points {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    gap: 16px 20px;
  }
  .proof-points-wide {
    grid-column: 1 / -1;
  }
  .proof-actions {
    gap: 14px;
  }

  .section {
    padding: 64px 24px;
  }
  h2.section-title {
    font-size: 28px;
  }

  .nosotros,
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .nosotros {
    gap: 36px;
  }
  .nosotros-grid {
    height: 320px;
  }

  .servicios-cards,
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacto {
    padding: 64px 24px;
  }
  .contact-form-wrap {
    padding: 28px 20px;
  }
  .map-embed iframe {
    height: 240px;
  }

  footer {
    padding: 40px 24px 24px;
  }
  .footer-nav {
    gap: 16px 20px;
  }
  .footer-nav a {
    font-size: 13px;
  }

  .svc-hero {
    min-height: 70svh;
  }
  .svc-hero-inner {
    padding: 56px 24px 56px;
  }
  .svc-hero h1 {
    max-width: none;
  }
  .svc-index {
    top: 72px;
  }
  .svc-index-inner {
    padding: 12px 16px;
  }
  .svc-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 40px 24px 56px;
  }
  .svc-card {
    scroll-margin-top: 140px;
    padding: 22px 20px 24px;
  }
  .svc-gallery {
    padding: 56px 24px;
  }
  .svc-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .svc-cta {
    padding: 56px 24px;
  }
}

@media (max-width: 560px) {
  .btn-whatsapp {
    padding: 9px 12px;
    font-size: 12px;
  }
  .brand-mark {
    height: 42px;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .slide-actions .btn-primary,
  .slide-actions .btn-ghost-dark {
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nosotros-grid {
    height: 260px;
    gap: 10px;
  }

  .proof {
    padding: 48px 20px;
  }
  .proof-visual {
    width: min(100%, 320px);
    padding: 0 10px 10px 0;
  }
  .proof-frame {
    inset: 10px 0 0 10px;
  }
  .proof-badge {
    left: 4px;
    bottom: 14px;
    padding: 12px 14px;
    max-width: min(148px, 55%);
  }
  .proof-badge-value {
    font-size: 22px;
  }
  .proof-badge-label {
    font-size: 11px;
  }
  .proof-points {
    grid-template-columns: 1fr;
  }
  .proof-points-wide {
    grid-column: auto;
  }
  .proof-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .proof-actions .btn-primary,
  .proof-wa {
    text-align: center;
  }
  .proof-wa {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }

  .servicios-cards,
  .galeria-grid,
  .svc-list,
  .svc-gallery-grid {
    grid-template-columns: 1fr;
  }

  .svc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-hero-actions .btn-primary,
  .svc-hero-actions .btn-ghost-dark {
    text-align: center;
  }
  .svc-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-cta-actions .btn-primary,
  .svc-cta-actions .btn-ghost-dark {
    text-align: center;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .map-embed iframe {
    height: 220px;
  }
}

/* ---- Lightbox galería ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(10% 0.03 250 / 0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-stage {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}
.lightbox-img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px oklch(0% 0 0 / 0.5);
}
.lightbox-caption {
  margin-top: 16px;
  color: oklch(90% 0.01 250);
  font-size: 15px;
  text-align: center;
}
.lightbox-counter {
  margin-top: 8px;
  color: oklch(70% 0.01 250);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: 1px solid oklch(100% 0 0 / 0.25);
  background: oklch(100% 0 0 / 0.12);
  color: white;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}
.lightbox-next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}
.lightbox-open {
  overflow: hidden;
}
@media (max-width: 560px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }
}
