:root {
  --blue: #1F4A7C;
  --blue-dark: #0D2340;
  --gray: #707C88;
  --orange: #F28C30;
  --white: #ffffff;
  --light: #f4f7fb;
  --line: rgba(31, 74, 124, 0.12);
  --shadow: 0 24px 60px rgba(13, 35, 64, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--blue-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  width: 100%;
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -2px;
}

.logo-mark::after {
  content: ".";
  color: var(--orange);
}

.logo strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -1px;
}

.logo span {
  font-size: 0.65rem;
  color: var(--gray);
  display: block;
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 0.92rem;
  color: var(--blue-dark);
}

.nav a {
  position: relative;
}

.nav a:hover {
  color: var(--orange);
}

.btn-header,
.btn,
.outline-btn {
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-header {
  background: var(--orange);
  color: var(--white);
  padding: 14px 24px;
  font-size: 0.9rem;
}

.btn-header:hover,
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(242, 140, 48, 0.35);
}

.menu-btn {
  display: none;
  border: none;
  background: none;
  font-size: 1.8rem;
  color: var(--blue);
}

.hero {
  width: calc(100% - 48px);
  min-height: 720px;
  margin: 96px auto 24px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 70px;
  display: flex;
  align-items: center;
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.08) 100%),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1800&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.pill {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -5px;
  color: var(--blue-dark);
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  max-width: 620px;
  color: #26384d;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
}

.btn.secondary {
  background: var(--white);
  color: var(--blue-dark);
}

.btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.floating-card.top {
  position: absolute;
  right: 8%;
  top: 90px;
  z-index: 2;
  width: 280px;
  background: rgba(255,255,255,0.58);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.mini-img {
  height: 120px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=800&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.floating-card p {
  font-size: 0.9rem;
  color: var(--blue-dark);
  line-height: 1.5;
}

.stats-card {
  position: absolute;
  right: 6%;
  bottom: -20px;
  z-index: 3;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 520px;
}

.stats-card div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats-card div:last-child {
  border-right: none;
}

.stats-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2.4rem;
  letter-spacing: -2px;
}

.stats-card span {
  color: var(--gray);
  font-size: 0.85rem;
}

.intro,
.services,
.potenzia,
.contact {
  width: calc(100% - 140px);
  margin: 0 auto;
}

.intro {
  padding: 90px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.4px;
  font-size: 0.76rem;
  margin-bottom: 14px;
  display: inline-block;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -2px;
}

.intro p {
  color: var(--gray);
  line-height: 1.8;
}

.pillars {
  width: calc(100% - 140px);
  margin: 30px auto 80px;
  padding: 36px;
  background: var(--light);
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.pillars article {
  background: var(--white);
  border-radius: 24px;
  padding: 34px;
  min-height: 260px;
  box-shadow: 0 14px 40px rgba(31, 74, 124, 0.08);
  transition: 0.3s ease;
}

.pillars article:hover {
  transform: translateY(-8px);
}

.icon {
  width: 54px;
  height: 54px;
  background: rgba(31, 74, 124, 0.1);
  color: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.icon.orange {
  background: rgba(242, 140, 48, 0.14);
  color: var(--orange);
}

.pillars h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.pillars p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.92rem;
}

.services {
  padding: 40px 0 90px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 44px;
}

.outline-btn {
  border: 1px solid rgba(242, 140, 48, 0.45);
  color: var(--orange);
  padding: 14px 22px;
  white-space: nowrap;
}

.outline-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-item {
  display: flex;
  gap: 18px;
}

.service-item span {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--light);
  color: var(--blue);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.service-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-item p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-image {
  min-height: 430px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(13,35,64,0.05), rgba(13,35,64,0.25)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=1200&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.dashboard-card {
  position: absolute;
  left: 26px;
  bottom: 26px;
  background: var(--blue);
  color: var(--white);
  border-radius: 20px;
  padding: 24px;
  width: 65%;
}

.dashboard-card h3 {
  margin-bottom: 10px;
}

.dashboard-card p {
  color: rgba(255,255,255,0.8);
}

.potenzia {
  background: var(--light);
  border-radius: 30px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.potenzia p {
  color: var(--gray);
  line-height: 1.7;
  margin: 18px 0;
}

.text-link {
  color: var(--orange);
  font-weight: 800;
}

.media-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.media-icons div {
  background: var(--white);
  min-height: 130px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(31, 74, 124, 0.08);
}

.media-icons span {
  display: block;
  font-size: 0.85rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.contact {
  padding: 80px;
  background: var(--blue-dark);
  border-radius: 30px;
  color: var(--white);
  margin-bottom: 60px;
}

.contact p {
  color: rgba(255,255,255,0.75);
  margin: 18px 0 30px;
}

form {
  display: grid;
  gap: 16px;
  max-width: 700px;
}

input,
textarea {
  border: none;
  border-radius: 16px;
  padding: 17px 20px;
  font-family: inherit;
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

form button {
  border: none;
  cursor: pointer;
  width: fit-content;
}

footer {
  padding: 34px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray);
}

@media (max-width: 1100px) {
  .floating-card.top {
    display: none;
  }

  .pillars,
  .services-grid,
  .potenzia,
  .intro {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
    min-width: auto;
    width: 100%;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .header {
    padding: 18px 6%;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 6%;
    right: 6%;
    background: var(--white);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow);
    flex-direction: column;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .btn-header {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    width: calc(100% - 28px);
    padding: 42px 26px;
    min-height: auto;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .intro,
  .services,
  .potenzia,
  .contact,
  .pillars {
    width: calc(100% - 28px);
  }

  .pillars,
  .services-list,
  .media-icons,
  .stats-card {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-card {
    width: calc(100% - 52px);
  }

  .contact {
    padding: 42px 26px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
/* Página Nosotros */
.nav a.active {
  color: var(--orange);
  font-weight: 700;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.about-hero {
  width: calc(100% - 48px);
  min-height: 690px;
  margin: 96px auto 24px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 140, 48, 0.2), transparent 24%),
    linear-gradient(135deg, #0d2340 0%, #153b68 58%, #1f4a7c 100%);
  color: var(--white);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, #000 42%, #000);
  pointer-events: none;
}

.about-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -210px;
  border-radius: 50%;
  border: 80px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.about-hero-content,
.about-summary {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -4px;
  margin-bottom: 36px;
}

.about-hero h1 span {
  color: var(--orange);
}

.about-copy {
  max-width: 870px;
  display: grid;
  gap: 17px;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.78;
}

.about-copy .about-highlight {
  color: var(--white);
  font-weight: 600;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
}

.about-summary {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.summary-number {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-summary h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -1.5px;
  margin-bottom: 30px;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-tags span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 600;
}

.purpose-section,
.about-cta {
  width: calc(100% - 140px);
  margin-left: auto;
  margin-right: auto;
}

.purpose-section {
  padding: 96px 0;
}

.purpose-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 44px;
}

.purpose-heading > p {
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.purpose-card {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 44px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(31, 74, 124, 0.08);
}

.purpose-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  bottom: -110px;
  border-radius: 50%;
  border: 46px solid rgba(31, 74, 124, 0.04);
}

.mission-card {
  background: var(--white);
}

.vision-card {
  background: var(--light);
}

.purpose-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.vision-card .purpose-icon {
  background: var(--orange);
}

.purpose-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.purpose-card h3 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.purpose-card p {
  position: relative;
  z-index: 2;
  color: var(--gray);
  line-height: 1.85;
}

.about-cta {
  margin-bottom: 70px;
  padding: 54px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 30px;
  background: var(--light);
}

.about-cta h2 {
  max-width: 840px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.about-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-summary {
    max-width: 640px;
  }

  .purpose-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 800px) {
  .nav a.active::after {
    display: none;
  }

  .about-hero {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 48px 26px;
    gap: 38px;
  }

  .about-hero h1 {
    letter-spacing: -2.5px;
  }

  .about-summary {
    padding: 28px;
  }

  .purpose-section,
  .about-cta {
    width: calc(100% - 28px);
  }

  .purpose-section {
    padding: 72px 0;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    min-height: auto;
    padding: 34px 28px;
  }

  .about-cta {
    padding: 40px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}
