:root {
  --color-primary: #00a3ff;
  --color-primary-2: #0078ff;
  --color-primary-soft: rgba(0, 163, 255, 0.16);
  --color-dark: #05070b;
  --color-dark-2: #0b1018;
  --color-dark-3: #111827;
  --color-light: #f4f8fc;
  --color-light-2: #eaf2fb;
  --color-text: #d9e4ef;
  --color-muted: #a9b6c7;
  --color-white: #ffffff;
  --color-title-dark: #101828;
  --color-text-dark: #475467;
  --color-border: rgba(255, 255, 255, 0.11);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.20);
  --shadow-blue: 0 18px 44px rgba(0, 163, 255, 0.20);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--color-dark);
  color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.section-pro {
  padding: 105px 0;
}

.section-header {
  max-width: 860px;
  margin: 0 auto 42px;
}

.section-header h2 {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.04rem;
  line-height: 1.9;
  margin-bottom: 0;
  color: inherit;
}

.section-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.30);
  background: rgba(0, 163, 255, 0.08);
  color: #9cddff;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.section-pill--light {
  color: #0078ff;
  background: rgba(0, 163, 255, 0.08);
  border-color: rgba(0, 120, 255, 0.18);
}

.section-dark-pro {
  background:
    radial-gradient(circle at top left, rgba(0, 163, 255, 0.11), transparent 26%),
    linear-gradient(180deg, #05070b 0%, #0b1018 100%);
}

.section-light-pro {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  color: var(--color-title-dark);
}

.section-projects-pro {
  background:
    radial-gradient(circle at top right, rgba(0, 163, 255, 0.10), transparent 24%),
    linear-gradient(180deg, #f6fafe 0%, #edf4fb 100%);
  color: var(--color-title-dark);
}

.section-contact-pro {
  background:
    radial-gradient(circle at top right, rgba(0, 163, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #06090f 0%, #0b111a 100%);
}

/* NAVBAR */
.pro-navbar {
  background: rgba(5, 9, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.pro-navbar.scrolled {
  background: rgba(5, 9, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 163, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  padding: 10px 0;
}

.pro-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white) !important;
  letter-spacing: 1px;
}

.pro-navbar .nav-link {
  color: #d9e4ef;
  margin-left: 12px;
  font-size: 0.96rem;
  transition: all 0.3s ease;
}

.pro-navbar .nav-link:hover {
  color: var(--color-primary);
}

.pro-navbar .nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
}

.pro-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 14px;
}

.btn-nav-cta {
  background: rgba(0, 163, 255, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(0, 163, 255, 0.35);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-nav-cta:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* HERO */
.hero-pro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.96) 12%, rgba(8, 17, 28, 0.92) 56%, rgba(0, 163, 255, 0.15) 100%),
    url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
}

.hero-pro__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 163, 255, 0.20), transparent 18%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.05), transparent 15%);
}

.hero-pro__content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-pro__copy {
  max-width: 720px;
}

.hero-logo-wrap {
  margin-bottom: 24px;
}

.hero-logo-pro {
  width: 210px;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.40);
}

.hero-chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #b7e6ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.28);
  font-size: 0.92rem;
}

.hero-title-pro {
  font-size: 3.6rem;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 700px;
}

.hero-title-pro span {
  color: #7fd7ff;
}

.hero-text-pro {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--color-text);
  max-width: 670px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary-pro,
.btn-secondary-pro {
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary-pro {
  background: linear-gradient(135deg, #00a3ff, #006de0);
  border: none;
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary-pro:hover {
  transform: translateY(-2px);
  color: var(--color-white);
  box-shadow: 0 22px 46px rgba(0, 163, 255, 0.24);
}

.btn-secondary-pro {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary-pro:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--color-white);
}

.hero-mini-data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-mini-data__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce8f4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
}

.hero-mini-data__item i {
  color: #7fd7ff;
}

.hero-side-card {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.hero-side-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  color: #8fd5ff;
  font-size: 0.88rem;
}

.hero-side-card h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-side-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-side-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
  line-height: 1.6;
}

.hero-side-list__item i {
  color: #59c9ff;
  margin-top: 2px;
}

.hero-side-contact {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-side-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-side-contact__item i {
  color: var(--color-primary);
}

.hero-side-contact__item a {
  color: #dce8f4;
}

/* ACCESS */
.access-card {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(9, 15, 24, 0.96));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.access-card h2 {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.access-card p {
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 22px;
}

/* SERVICES */
.service-card-pro {
  background: var(--color-white);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
  transition: all 0.3s ease;
}

.service-card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 42px rgba(0, 163, 255, 0.14);
}

.service-card-pro__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.12), rgba(0, 120, 255, 0.18));
  color: #0078ff;
  font-size: 1.6rem;
}

.service-card-pro h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--color-title-dark);
  min-height: 58px;
  margin-bottom: 12px;
}

.service-card-pro p {
  color: var(--color-text-dark);
  line-height: 1.84;
  margin-bottom: 18px;
}

.service-link {
  color: #0078ff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  color: #005fd1;
}

/* WHY */
.section-why {
  overflow: hidden;
}

.why-copy h2 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.why-copy p {
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 24px;
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
  line-height: 1.7;
}

.why-item i {
  color: #62ceff;
  margin-top: 2px;
}

.why-card {
  background:
    linear-gradient(180deg, rgba(0, 163, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(0, 163, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.why-card__top {
  margin-bottom: 22px;
}

.why-card__top span {
  display: block;
  color: #9adfff;
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.why-card__top strong {
  font-size: 2rem;
  font-weight: 800;
}

.why-card__list {
  display: grid;
  gap: 14px;
}

.why-card__list div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.why-card__list i {
  color: #62ceff;
}

/* PROJECTS */
.project-card-pro {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 24, 40, 0.06);
  padding: 30px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
  transition: all 0.3s ease;
}

.project-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(0, 163, 255, 0.12);
}

.project-card-pro__header {
  margin-bottom: 18px;
}

.project-label {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.08);
  color: #0078ff;
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.project-card-pro h3 {
  color: var(--color-title-dark);
  font-size: 1.26rem;
  line-height: 1.35;
  margin-bottom: 0;
}

.project-card-pro ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.project-card-pro li {
  color: var(--color-text-dark);
  line-height: 1.85;
  margin-bottom: 8px;
}

/* CONTACT */
.contact-card-pro,
.form-card-pro {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-card-pro {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid var(--color-border);
  padding: 32px;
}

.contact-card-pro h3 {
  margin-bottom: 26px;
}

.contact-card-pro__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-card-pro__item i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 4px;
}

.contact-card-pro__item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card-pro__item p {
  margin-bottom: 0;
  color: var(--color-text);
}

.contact-card-pro__item a {
  color: #bde9ff;
}

.form-card-pro {
  background: rgba(255, 255, 255, 0.98);
  padding: 32px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  color: var(--color-title-dark);
}

.form-card-pro h3 {
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.form-card-pro .form-label {
  font-weight: 700;
  color: var(--color-title-dark);
}

.form-card-pro .form-control {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  box-shadow: none;
}

.form-card-pro .form-control:focus {
  border-color: #66c2ff;
  box-shadow: 0 0 0 0.25rem rgba(0, 163, 255, 0.12);
}

/* FOOTER */
.footer-pro {
  background: #05070b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

.footer-pro p {
  color: var(--color-muted);
}

.footer-pro a {
  color: #d7e5f5;
  margin-left: 18px;
}

.footer-pro a:hover {
  color: var(--color-primary);
}

/* WHATSAPP */
.whatsapp-pro {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--color-white);
  font-size: 1.8rem;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.28);
  z-index: 1050;
}

.whatsapp-pro:hover {
  color: var(--color-white);
  transform: translateY(-3px) scale(1.03);
}

/* INNER HERO FOR OTHER PAGES */
.inner-hero {
  padding-top: 150px;
  padding-bottom: 90px;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.95) 15%, rgba(8, 17, 28, 0.92) 65%, rgba(0, 163, 255, 0.18) 100%),
    url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
}

.inner-hero-content {
  max-width: 860px;
}

.hero-title {
  font-size: 2.7rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.inner-hero p {
  color: var(--color-text);
  font-size: 1.04rem;
  line-height: 1.9;
  max-width: 760px;
}

/* GALLERY */
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
  height: 100%;
}

.gallery-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .hero-title-pro {
    font-size: 3.1rem;
  }
}

@media (max-width: 991.98px) {
  .section-pro {
    padding: 82px 0;
  }

  .pro-navbar .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .pro-navbar .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .btn-nav-cta {
    width: 100%;
  }

  .hero-pro__content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-title-pro {
    font-size: 2.6rem;
  }

  .hero-logo-wrap,
  .hero-pro__copy,
  .hero-text-pro,
  .hero-actions,
  .hero-mini-data {
    text-align: center;
    justify-content: center;
  }

  .hero-logo-pro {
    margin: 0 auto;
  }

  .hero-side-card {
    margin-top: 6px;
  }

  .section-header h2,
  .why-copy h2 {
    font-size: 2rem;
  }

  .footer-pro a {
    margin: 0 8px;
  }

  .inner-hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .section-pro {
    padding: 72px 0;
  }

  .hero-title-pro {
    font-size: 2.2rem;
  }

  .hero-text-pro,
  .section-header p,
  .why-copy p,
  .inner-hero p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-side-card,
  .access-card,
  .service-card-pro,
  .project-card-pro,
  .contact-card-pro,
  .form-card-pro,
  .why-card {
    padding: 24px;
  }

  .section-header h2,
  .why-copy h2 {
    font-size: 1.8rem;
  }

  .gallery-img {
    height: 260px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .whatsapp-pro {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary-pro,
  .btn-secondary-pro {
    width: 100%;
    text-align: center;
  }

  .hero-logo-pro {
    width: 175px;
  }

  .hero-title-pro {
    font-size: 1.95rem;
  }

  .hero-mini-data {
    gap: 10px;
  }

  .hero-mini-data__item {
    width: 100%;
    justify-content: center;
  }
}