/* =========================
   VARIABLES
========================= */
:root {
  --color-bg-dark: #151518;
  --color-bg-light: #ffffff;
  --color-accent-hover: #f95700;
  --color-accent: #f17632;
  --color-accent-soft: #f6ede4;
  --color-text-main: #111111;
  --color-text-muted: #d0d0d0;
  --radius-lg: 1.25rem;
  --nav-offset: 120px; /* ajusta según tu navbar */
}

/* =========================
   BASE
========================= */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
}

/* =========================
   NAVBAR (MOBILE FIRST)
========================= */
#hero,
#services-intro,
#contact,
#projects,
#careers {
  scroll-margin-top: var(--nav-offset);
}

.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #121217;
  padding: 0.6rem 1.25rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.navbar-brand span.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  background-color: var(--color-accent);
  margin-left: 4px;
}

.navbar-toggler {
  border: 0;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  color: #ffffff;
}

/* =========================
   HERO (MOBILE FIRST)
========================= */
.hero {
  background: radial-gradient(circle at top left, #262631 0%, #0f0f11 55%);
  color: #ffffff;
  padding: 4.5rem 1.25rem 3.25rem; /* espacio para navbar fijo */
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-tagline {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-cta-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.5rem;
  font-size: 1rem;
  border-radius: 0;
}

.hero-cta-primary:hover {
  cursor: pointer;
  background-color: var(--color-accent-hover);
}


.hero-cta-secondary {
  border-radius: 0;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: 500;
  padding: 0.4rem 1.5rem;
  font-size: 1rem;
}

.hero-cta-secondary:hover {
  color: var(--color-accent);
  background-color: #111111;
  border-color: var(--color-accent);
  cursor: pointer;
}

.hero-cta-secondary .bi {
  color: currentColor;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* =========================
   SECTION INTRO
========================= */
.section-padding {
  padding: 2rem 1.25rem;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-text {
  font-size: 0.98rem;
  color: #5f5f5f;
}

/* =========================
   SERVICES (MOBILE FIRST)
========================= */

.services-wrapper {
  margin: 0 auto 3.5rem;
  padding: 0 1.25rem;       /* un poco de aire lateral en mobile */
}

.service-item {
  width: 95%;               /* 👈 deja margen a los lados */
  max-width: 420px;         /* 👈 límite de ancho del card */
  margin: 0 auto 2.75rem;   /* 👈 centra el card */


    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;


    height: 260px;        /* ajusta si quieres más o menos */
    flex-shrink: 0;
}

.service-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-card {
  background-color: var(--color-accent-soft);
  margin-top: -1.5rem;           /* 👈 más negativo para que suba encima */
  margin-left: 0.7rem;
  margin-right: 0.7rem;
  padding: 1.5rem 1.75rem;
  border-radius: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  position: relative;            /* 👈 asegura que quede encima */
  z-index: 2;                    /* 👈 sobre la imagen */
}

.service-icon {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-text {
  font-size: 0.94rem;
  color: #555555;
  margin-bottom: 0.9rem;
}

.service-link {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}


/* =========================
   OFFCANVAS MOBILE MENU
========================= */
.offcanvas {
  width: 280px;
}

.offcanvas .nav-link {
  font-size: 1.05rem;
  padding: 0.75rem 0;
  color: #ffffff;
}

.offcanvas .nav-link:hover {
  color: var(--color-accent);
}

.hero-image-col {
  margin-top: 1rem;        /* separa un poco la imagen del texto en mobile */
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;  /* curva suave en mobile */
}

/* =========================
   CONTACT FORM (Contact Form Two)
========================= */
.contact-section {
  background: #f3f3f3;
}

.contact-title {
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #9fb6c3; /* parecido al azul gris del ejemplo */
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card .input-group-text {
  border: 1px solid rgba(0,0,0,0.18);
  border-right: 0;
  color: #777;
}

.contact-card .form-control {
  border: 1px solid rgba(0,0,0,0.18);
  border-left: 0;
}

.contact-card .form-control:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,0.28);
}

.contact-message {
  resize: vertical;
  min-height: 260px;
}

/* Botón */
.contact-submit {
  background: #d28a2f; /* dorado/naranja */
  color: #fff;
  border: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-submit:hover {
  filter: brightness(0.95);
  color: #fff;
}











/* ========================================================================================================
   ======================================================================================================== 
   DESKTOP (≥ 992px)
========================= =================================================================================*/
@media (min-width: 992px) {
  body {
    /* background-color: #f3f3f3; */
  }
  
  .mobile-break {
    display: none;
  }

  .hero {
    padding-top: 5.5rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .hero-with-image {
    flex: 1;
    display: flex;
    align-items: stretch;
  }

  .hero-inner {
    max-width: 540px;
    margin: 0;
  }

  .hero-content-col {
    padding: 5.5rem 4.5rem 4.5rem;
    background: radial-gradient(circle at top left, #292933 0%, #111115 52%);
    z-index: 2;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-cta-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    max-width: 360px;
    justify-content: flex-start;
  }

  .hero-image-col {
    position: relative;
    overflow: hidden;
    background-color: #131318;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 40%;
  }

  /* NAVBAR DESKTOP */
  .main-navbar {
    background: linear-gradient(
      to bottom,
      #121217 0%,
      #121217f2 80%,
      transparent
    );
    padding: 1.1rem 4.5rem;
  }

  .navbar-nav .nav-link {
    color: #e7e7e7;
    margin-right: 1.2rem;
  }

  .navbar-nav .nav-link.active {
    color: #ffffff;
  }

  .navbar-cta {
    padding: 0.55rem 1.3rem;
    font-size: 0.85rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
  }

  .section-padding {
    padding: 4rem 4.5rem;
    background-color: #ffffff;
  }

  .services-wrapper {
    padding: 0 4.5rem 0;
    margin-bottom: 0;
  }

  /* El grid ya crea filas iguales → esto lo aprovechamos */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    align-items: stretch; /* 👈 CLAVE */
  }

  /* Cada item ocupa toda la altura de la fila */
  .service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .service-card {
    margin: -1.0rem 0.7rem 0;
  }

    .service-image-wrapper {
    height: 260px;        /* ajusta si quieres más o menos */
    flex-shrink: 0;
  }

  .service-image-wrapper img {
    height: 100%;
    object-fit: cover;
  }
}



