:root {
  --hm-navy: #102033;
  --hm-navy-2: #162b45;
  --hm-yellow: #f2b705;
  --hm-yellow-2: #ffd15c;
  --hm-ink: #20242a;
  --hm-muted: #667085;
  --hm-light: #f3f6f8;
  --hm-line: #dce3ea;
  --hm-white: #ffffff;
  --hm-shadow: 0 20px 50px rgba(16, 32, 51, 0.14);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  color: var(--hm-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--hm-white);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 76px;
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(242, 183, 5, 0.35);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--hm-navy);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--hm-navy);
  background: #fff;
  font-weight: 900;
}

.brand-mark img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-link {
  color: var(--hm-navy);
  font-weight: 650;
}

.nav-link:hover,
.nav-link:focus {
  color: #8a6500;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn-tool {
  color: var(--hm-navy);
  background: var(--hm-yellow);
  border-color: var(--hm-yellow);
  box-shadow: 0 12px 24px rgba(242, 183, 5, 0.22);
}

.btn-tool:hover,
.btn-tool:focus {
  color: var(--hm-navy);
  background: #ffc928;
  border-color: #ffc928;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--hm-navy);
  border-color: var(--hm-navy);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hm-navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.94) 0%, rgba(16, 32, 51, 0.78) 46%, rgba(16, 32, 51, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 32, 51, 0.82) 0%, rgba(16, 32, 51, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--hm-white);
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #9a7410;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: var(--hm-yellow-2);
}

.eyebrow::before {
    display: none;
}

.hero h1 {
  margin: 1rem 0 0.4rem;
  color: var(--hm-white);
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: 0.92;
  font-weight: 900;
}

.hero-slogan {
  color: var(--hm-yellow);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 850;
  margin-bottom: 1.15rem;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.trust-panel {
  margin-left: auto;
  max-width: 420px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.trust-panel span {
  color: var(--hm-yellow-2);
  font-weight: 800;
}

.trust-panel strong {
  display: block;
  margin: 0.6rem 0 1.4rem;
  font-size: 1.65rem;
  line-height: 1.15;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-grid div {
  padding: 1rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-grid b,
.trust-grid small {
  display: block;
}

.trust-grid b {
  color: var(--hm-yellow);
  font-size: 1.35rem;
}

.trust-grid small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}

.section {
  padding: 6rem 0;
}

.band {
  background: var(--hm-light);
}

#servicios.band {
  background:
    linear-gradient(180deg, rgba(42, 63, 88, 0.96) 0%, rgba(52, 76, 104, 0.98) 58%, rgba(38, 58, 82, 0.96) 100%);
}

#servicios .section-heading h2 {
  color: var(--hm-white);
}

#servicios .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

#servicios .eyebrow {
  color: var(--hm-yellow-2);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.section-title {
  margin-top: 0.9rem;
  color: var(--hm-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
}

.section-heading p,
.lead-copy {
  color: var(--hm-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.reason-item,
.process-step,
.testimonial-card,
.ba-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: linear-gradient( 180deg, rgba(255,255,255,1) 0%, rgba(250,250,252,1) 100% );
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 10px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(10px);
}

    .service-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(242,183,5,0.08), transparent 35% );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-card::after {
        display: none;
    }
.service-card {
    display: flex;
    aspect-ratio: 1 / 1;
    min-height: 0;
    flex-direction: column;
    padding: 1.45rem;
    transition: transform 0.28s ease;
}

    .service-card:hover {
        transform: scale(1.035);
    }

.service-icon {
    position: relative;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    margin-bottom: 1.05rem;
    border-radius: 18px;
    color: var(--hm-navy);
    background: linear-gradient( 135deg, #fff7db, #ffe082 );
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 20px rgba(242,183,5,0.18);
}

    .service-icon::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        border: 1px solid rgba(255,255,255,0.6);
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
        fill: currentColor;
        transition: transform 0.25s ease;
    }

.service-card:hover .service-icon svg {
    transform: none;
}

.service-card h3,
.reason-item h3,
.process-step h3,
.ba-copy h3 {
    margin-bottom: 0.65rem;
    color: var(--hm-navy);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.service-card h3 {
    display: inline-flex;
    align-self: stretch;
    width: 100%;
    min-height: 4.45rem;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: var(--hm-white);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    line-height: 1.18;
}
.service-card p,
.reason-item p,
.process-step p,
.ba-copy p,
.testimonial-card p {
    color: #64748b;
    line-height: 1.58;
    font-size: 0.94rem;
}

.service-card p {
    margin-top: auto;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.service-card:not(.service-card-featured) h3 {
    order: 1;
}

.service-card:not(.service-card-featured) .service-icon {
    order: 2;
    margin-top: 1rem;
}

.service-card:not(.service-card-featured) p {
    order: 3;
}
.service-card-featured {
  grid-column: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: #0f172a;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), 0 4px 18px rgba(0, 0, 0, 0.18);
}

.service-card-featured::before {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.08) 0%, rgba(16, 32, 51, 0.22) 40%, rgba(16, 32, 51, 0.9) 100%);
}

.service-card-featured::after {
  display: none;
}

.service-featured-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
}

.service-featured-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
}

.service-card-featured h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.18;
}

.service-accent {
  display: none;
}

.service-card-featured p {
  margin-top: auto;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.service-card-featured .service-mini-grid,
.service-card-featured .service-featured-badge {
  display: none;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reason-item {
  padding: 1.5rem;
}

.reason-item span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--hm-yellow);
  font-weight: 900;
}

.process-section {
  background: var(--hm-navy);
  color: var(--hm-white);
}

.process-section .section-heading h2 {
  color: var(--hm-white);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.process-step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  color: var(--hm-navy);
  background: var(--hm-yellow);
  font-weight: 900;
}

.process-step h3 {
  color: var(--hm-white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ba-card {
  overflow: hidden;
}

.ba-image {
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background-size: cover;
  background-position: center;
}

.ba-image.before {
  background-image: linear-gradient(0deg, rgba(16, 32, 51, 0.82), rgba(16, 32, 51, 0.08)), url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1200&q=80");
}

.ba-image.after {
  background-image: linear-gradient(0deg, rgba(16, 32, 51, 0.82), rgba(16, 32, 51, 0.08)), url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1200&q=80");
}

.ba-image span {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: var(--hm-navy);
  background: var(--hm-yellow);
  font-weight: 900;
}

.ba-copy {
  padding: 1.4rem;
}

.testimonial-card {
  height: 100%;
  padding: 1.5rem;
}

.testimonial-card p {
  color: var(--hm-ink);
  font-size: 1.03rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--hm-navy);
  font-weight: 900;
}

.testimonial-card span {
  color: var(--hm-muted);
}

.faq-section .accordion-item {
  border-color: var(--hm-line);
}

.accordion-button {
  color: var(--hm-navy);
  font-weight: 850;
}

.accordion-button:not(.collapsed) {
  color: var(--hm-navy);
  background: #fff6d8;
  box-shadow: inset 0 -1px 0 var(--hm-line);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.18rem rgba(242, 183, 5, 0.24);
}

.contact-section {
  background: linear-gradient(135deg, var(--hm-navy), var(--hm-navy-2));
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
  color: var(--hm-white);
}

.contact-copy {
  padding: 2rem 0;
}

.contact-copy h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.contact-form {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
  color: var(--hm-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-form .form-select option {
  color: var(--hm-ink);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.74);
  background: #0b1725;
}

.site-footer h2 {
  color: var(--hm-white);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--hm-yellow);
}

.footer-brand {
  color: var(--hm-white);
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1050;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: var(--hm-white);
  background: #22c55e;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.34);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  color: var(--hm-white);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(16, 32, 51, 0.92), rgba(16, 32, 51, 0.78));
  }

  .trust-panel {
    max-width: none;
    margin-left: 0;
  }

  .process-line,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .site-header .btn {
    margin-top: 0.75rem;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero-content {
    padding-top: 4.6rem;
    padding-bottom: 4rem;
  }

  .services-grid,
  .reason-grid,
  .before-after {
    grid-template-columns: 1fr;
  }



.service-card-featured {
    min-height: auto;
  }

  .service-card-featured::before {
    background: linear-gradient(180deg, rgba(16, 32, 51, 0.1) 0%, rgba(16, 32, 51, 0.28) 48%, rgba(16, 32, 51, 0.92) 100%);
  }

  .service-featured-image {
    opacity: 1;
    object-position: center;
  }

  .service-featured-content {
    width: 100%;
    min-height: auto;
    padding: 2rem 1.4rem;
  }

  .service-mini-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn-tool,
  .service-card,
  .whatsapp-float {
    transition: none;
  }
}

