* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6fb;
  color: #111827;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

.container {
  width: min(92%, 1180px);
  margin: 0 auto;
}

/* HEADER */

.header {
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  min-width: max-content;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827, #4f46e5);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
}

.brand h1 {
  font-size: 18px;
  line-height: 1.1;
}

.brand span {
  font-size: 13px;
  color: #6b7280;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  color: #374151;
  font-size: 15px;
  font-weight: 600;
}

.menu a:hover {
  color: #4f46e5;
}

.btn-header {
  background: #111827;
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(
      circle at top left,
      rgba(79, 70, 229, 0.2),
      transparent 34%
    ),
    radial-gradient(circle at right, rgba(124, 58, 237, 0.15), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.contact-card span,
.cta-box span {
  display: inline-flex;
  width: fit-content;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-info h2 {
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.96;
  letter-spacing: -2.6px;
  margin-bottom: 22px;
  max-width: 700px;
}

.hero-info p {
  color: #4b5563;
  font-size: 18px;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-primary,
.btn-secondary,
.btn-light,
.card-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 20px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #111827, #4f46e5);
  color: white;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.28);
}

.btn-secondary {
  background: white;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.card-btn:hover {
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 590px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.hero-stats strong {
  display: block;
  font-size: 18px;
}

.hero-stats span {
  color: #6b7280;
  font-size: 13px;
}

/* PHONE MOCKUP */

.hero-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(360px, 100%);
  background: #111827;
  border: 10px solid #1f2937;
  border-radius: 42px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32);
}

.phone-top {
  width: 92px;
  height: 7px;
  background: #374151;
  border-radius: 999px;
  margin: 0 auto 22px;
}

.phone-content {
  background: linear-gradient(180deg, #ffffff, #eef2ff);
  border-radius: 28px;
  padding: 24px;
  min-height: 390px;
}

.mini-label {
  color: #4f46e5;
  font-size: 13px;
  font-weight: 800;
}

.phone-content h3 {
  font-size: 28px;
  margin: 5px 0 22px;
}

.booking-row {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}

.booking-row span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 3px;
}

.booking-row strong {
  font-size: 15px;
}

.phone-button {
  margin-top: 18px;
  background: #111827;
  color: white;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.14);
}

.floating-card span {
  display: block;
  color: #6b7280;
  font-size: 13px;
}

.floating-card strong {
  color: #111827;
}

.top-card {
  top: 72px;
  left: 20px;
}

.bottom-card {
  right: 16px;
  bottom: 68px;
}

/* SECTIONS */

.section {
  padding: 78px 0;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 38px;
}

.section-heading h3,
.contact-card h3,
.cta-box h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-heading p,
.contact-card > p,
.cta-box p,
.social-card-box p {
  color: #6b7280;
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.12);
}

.service-card h4 {
  font-size: 21px;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-meta span {
  font-size: 25px;
  font-weight: 900;
  color: #4f46e5;
}

.service-meta small {
  background: #f3f4f6;
  color: #374151;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
}

.card-btn {
  width: 100%;
  background: linear-gradient(135deg, #111827, #4f46e5);
  color: white;
  border-radius: 14px;
  font-weight: 800;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
}

/* CTA */

.dark-section {
  background: #111827;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at left, rgba(79, 70, 229, 0.35), transparent 30%),
    #111827;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
}

.cta-box p {
  color: #d1d5db;
}

.btn-light {
  background: white;
  color: #111827;
  min-width: 170px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.social-card-box {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.contact-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding: 16px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.contact-list p {
  color: #6b7280;
  margin-top: 4px;
}

.social-card-box h4 {
  font-size: 30px;
  margin-bottom: 10px;
}

.social-links {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.social-links a {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #111827;
  padding: 15px;
  border-radius: 16px;
  font-weight: 800;
  transition: 0.25s ease;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links i {
  font-size: 18px;
}

.social-links a:hover {
  background: #eef2ff;
  color: #4f46e5;
  transform: translateX(6px);
}

/* MAP */

.map-section {
  background: white;
}

.map-box {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

/* FOOTER */

.footer {
  background: #0b1120;
  color: #d1d5db;
  padding: 26px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: #d1d5db;
  margin-left: 16px;
}

/* MOBILE */

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 4px;
  }

  .menu a {
    white-space: nowrap;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
  }

  .btn-header {
    padding: 10px 15px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-info h2 {
    letter-spacing: -1.4px;
  }

  .hero-info p {
    font-size: 16px;
  }

  .hero-panel {
    min-height: 470px;
  }

  .top-card {
    left: 0;
    top: 40px;
  }

  .bottom-card {
    right: 0;
    bottom: 35px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .btn-light {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(94%, 1180px);
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand h1 {
    font-size: 16px;
  }

  .brand span {
    font-size: 12px;
  }

  .btn-header {
    font-size: 14px;
  }

  .hero-info {
    text-align: left;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  .phone-card {
    width: min(320px, 100%);
    border-radius: 36px;
  }

  .phone-content {
    min-height: 340px;
    padding: 20px;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-card,
  .social-card-box {
    border-radius: 22px;
    padding: 22px;
  }

  .desc {
    min-height: auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer a {
    margin-left: 0;
    margin-right: 14px;
  }
}

.whatsapp-flotante {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 9999;
}

.whatsapp-mensaje {
  background: #ffffff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  border: 1px solid #e5e7eb;
  position: relative;
}

.whatsapp-mensaje::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #ffffff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.whatsapp-mensaje strong {
  color: #16a34a;
}

.whatsapp-icono {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

@media (max-width: 640px) {
  .whatsapp-flotante {
    right: 14px;
    bottom: 16px;
  }

  .whatsapp-mensaje {
    font-size: 12px;
    padding: 9px 12px;
  }

  .whatsapp-icono {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

.whatsapp-icono svg {
  width: 28px;
  height: 28px;
}

/**/
/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.feature-card i {
  font-size: 34px;
  color: #4f46e5;
  margin-bottom: 18px;
}

.feature-card h4 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p {
  color: #6b7280;
}

/* TRUSTED */

.gray-section {
  background: #f8fafc;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trusted-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.trusted-logo {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: linear-gradient(135deg, #111827, #4f46e5);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 22px;
  font-weight: 900;
}

.trusted-card h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.trusted-card p {
  color: #6b7280;
}

/* BENEFITS */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-box {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.benefit-box strong {
  display: block;
  font-size: 21px;
  margin-bottom: 12px;
}

.benefit-box p {
  color: #6b7280;
}

/* MOBILE */

@media (max-width: 900px) {
  .feature-grid,
  .trusted-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .trusted-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}
