* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: black;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  width: 100%;
  position: relative;

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../img/banners/slide1.png") center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   NAVBAR (DESKTOP BASE)
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #fff;
  background: transparent;
  z-index: 9999;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== Logo ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .12em;
}

.logo img {
  height: 42px;
}

/* ===== Desktop Nav ===== */

.navbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  opacity: .9;
  transition: opacity .2s ease;
}

.navbar nav a:hover {
  opacity: 1;
}


/* =========================
   DROPDOWN SERVICIOS DESKTOP
========================= */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropbtn {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 300;
  cursor: pointer;
  padding: 0;

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropbtn .caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  opacity: .85;
  transform: translateY(1px);
}

/* menú */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 280px;

  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 0;

  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  z-index: 9999;

  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #084883;
  color: #fff;
}

/* hover */

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}


/* =========================
   BURGER (SOLO MOBILE)
========================= */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;

  position: relative;
  z-index: 10001;
}

.burger span {
  position: absolute;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: .3s ease;
}

.burger span:nth-child(1) { transform: translateY(-8px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(8px); }

.burger.active span:nth-child(1) { transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); }


/* =========================
   MOBILE OVERLAY
========================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 72, 131, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;

  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}


/* =========================
   MOBILE PANEL
========================= */

.mobile-menu-panel {
  position: absolute;
  left: -100%;
  top: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;

  background: #0a3f73;
  padding: 22px;

  transition: .35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active .mobile-menu-panel {
  left: 0;
}


/* =========================
   MOBILE HEADER
========================= */

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.close-menu {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}


/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a,
.mobile-dropbtn {
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: .95rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}


/* =========================
   MOBILE DROPDOWN
========================= */

.mobile-dropdown span {
  float: right;
  transition: .3s;
}

.mobile-dropdown.active span {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 12px;
  margin-bottom: 6px;
}

.mobile-dropdown.active .mobile-submenu {
  display: flex;
}

.mobile-submenu a {
  font-size: .88rem;
  opacity: .9;
  padding: 10px 0;
}

/* ===== HIDE NAVBAR ANIMATION ===== */

.navbar {
  transition: transform .35s ease, background .3s ease;
}

.navbar.navbar-hide {
  transform: translateY(-110%);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .navbar {
    padding: 18px 22px;
  }

  .navbar nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .logo span {
    display: none;
  }

}

.no-scroll {
  overflow: hidden;
}


/* ================= SOCIAL ================= */

.social {
  position: absolute;
  left: 30px;
  bottom: 40px;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social a {
  color: white;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  transform: rotate(-90deg);
  transform-origin: left;
  opacity: 0.8;
}

.social a:hover {
  opacity: 1;
}

/* ================= CONTENT ================= */

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: white;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* ================= BUTTON ================= */

.hero-content button {
  padding: 14px 40px;
  border: none;
  border-radius: 30px;
  background: #de6829;
  color: white;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-content button:hover {
  background: #8c52ff;
  transform: translateY(-3px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .navbar {
    padding: 20px 30px;
  }

  .navbar nav {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .social {
    display: none;
  }

}


.blueprint-banner {
  width: 100%;
  min-height: 260px;

  background:
   
    url("../img/divHomeF.png") center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 40px 20px;
}

.blueprint-banner h2 {
  color: #1f3c5b; /* azul marino */
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.25),
    0 0 1px rgba(0,0,0,0.4);
}


.blueprint-banner h2 span {
  font-weight: 600;
}

.blueprint-banner h2 i {
  font-style: italic;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blueprint-banner h2 {
    font-size: 2rem;
  }
}

/* ================= ABOUT SECTION ================= */

.about-section {
  width: 100%;
  min-height: 100vh;
  padding: 120px 8%;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;

  background: #ffffff;
}

/* IMAGEN */

.about-image img {
  width: 100%;
  max-width: 520px;
  display: block;
}

/* TEXTO */

.about-text small {
  letter-spacing: 2px;
  color: #888;
  font-size: 0.75rem;
}

.about-text h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin: 16px 0;
  color: #111;
}

.divider {
  width: 60px;
  height: 2px;
  background: #084883;
  margin: 20px 0 30px 0;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 520px;
}

/* BOTÓN */

.btn-primary {
  margin-top: 20px;
  padding: 14px 36px;
  border: none;
  background: #084883;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #06345f;
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    padding: 80px 6%;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto 40px auto;
  }

  .divider {
    margin: 20px auto 30px auto;
  }
}

.services-section {
  width: 100%;
  padding: 120px 8%;
  background: #ffffff;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header small {
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: #888;
}

.services-header h2 {
  font-size: 2.8rem;
  margin: 15px 0;
  font-weight: 400;
  color: #111;
}

.services-header .divider {
  width: 60px;
  height: 2px;
  background: #084883;
  margin: 20px auto 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  align-items: stretch;
}

/* Card con fondo tipo planos */
.service-card {
  position: relative;
  text-align: center;
  padding: 55px 40px;
  border: 1px solid #eee;
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    var(--card-bg) center/cover no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #111;
  font-weight: 500;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-card a {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #111;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
}

.service-card a::after {
  content: "";
  width: 26px;
  height: 2px;
  background: #084883;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border-color: rgba(8,72,131,0.18);
}

.service-card:hover a::after {
  width: 44px;
}

/* ================= COUNTERS ================= */

.counters {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-number {
  font-size: 3.2rem;
  font-weight: 300;
  color: #b9b9b9;
  letter-spacing: 1px;
}

.counter-number::after {
  content: "+";
}

.counter-label {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #111;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-card {
    padding: 50px 30px;
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 70px;
  }
}

@media (max-width: 520px) {
  .services-section {
    padding: 80px 6%;
  }

  .services-header h2 {
    font-size: 2.1rem;
  }

  .counter-number {
    font-size: 2.6rem;
  }

  .counters {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}


/* ================= IMAGE SERVICES ================= */

.image-services {
  width: 100%;
  padding: 80px 5%;
  background: #fff;
}

/* GRID */

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */

.image-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* marco */

.image-card::before,
.image-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  pointer-events: none;
}

/* overlay */

.image-card::after {
  background: rgba(0,0,0,0.35);
  border: none;
}

/* TEXTO */

.image-card span {
  position: relative;
  color: white;
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  z-index: 2;
  padding: 0 15px;
}

/* HOVER */

.image-card:hover {
  background-size: 110%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .image-card {
    height: 220px;
  }

  .image-card span {
    font-size: 1.2rem;
  }
}


/* ================= CTA BANNER ================= */

.cta-banner {
  width: 100%;
  padding: 80px 8%;
  background:
    linear-gradient(
      rgba(200,200,200,0.75),
      rgba(200,200,200,0.75)
    ),
    url("https://img.freepik.com/foto-gratis/plan-dibujo-arquitecto-irreconocible_23-2147710970.jpg?uid=R226113459&ga=GA1.1.2046338130.1761276142&semt=ais_hybrid&w=740&q=80") center/cover no-repeat;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  line-height: 1.6;
}

/* BOTÓN */

.cta-btn {
  padding: 14px 40px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: white;
  color: #084883;
}

/* ================= VALUES SECTION ================= */

.values-section {
  width: 100%;
  padding: 120px 8%;
  background: #084883;
  color: white;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-text small {
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.values-text h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin: 18px 0;
}

.divider.light {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  margin: 20px 0 30px 0;
}

.values-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 40px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.value-item span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: white;
}

.value-item .line {
  margin-top: 8px;
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,0.35);
  position: relative;
}

.value-item .line::after {
  content: "";
  width: 40%;
  height: 100%;
  background: white;
  position: absolute;
  left: 0;
}

.values-visual {
  min-height: 320px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .divider.light {
    margin: 20px auto 30px auto;
  }

  .values-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================= FOOTER ================= */

.site-footer {
  background: #121212;
  color: #cccccc;
  padding-top: 80px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* BRAND */

.footer-brand img {
  width: 160px;
  margin-bottom: 18px;
}

.brand-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* CONTACT */

.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 22px;
  color: white;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-item span {
  font-size: 1rem;
}

/* BOTTOM */

.footer-bottom {
  margin-top: 70px;
  padding: 20px 8%;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ================= FOOTER LINKS RESET ================= */

.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 0.75;
}



/* RESPONSIVE */

@media (max-width: 850px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}
