/* =============================================
   YUHER - Constructora e Inmobiliaria
   Design System: Industrial Premium
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700&family=Barlow:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* ─── CSS Variables ─── */
:root {
  --gold:        #F4B61A;
  --gold-dark:   #C9910D;
  --gold-light:  #FFD55A;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --dark-3:      #242424;
  --mid:         #3A3A3A;
  --light-gray:  #B0B0B0;
  --off-white:   #F5F3EE;
  --white:       #FFFFFF;

  --font-display: 'Bebas Neue', sans-serif;
  --font-head:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:     4px;
  --radius-lg:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
  overflow-y: auto;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--off-white);
  overflow-x: hidden;
}

/* Typography rendering improvements */
body, input, button, textarea { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

h1,h2 { line-height: 1.05; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.display-giant {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.section-label {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Navbar ─── */
.navbar {
  background: var(--black) !important;
  padding: 0;
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
  z-index: 1000;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  filter: none;
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: translateY(-2px) scale(1.02);
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-gray) !important;
  padding: 1.5rem 1.2rem !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--gold);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F4B61A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Hero Section ─── */
.hero {
  background: var(--black);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

.hero-bg-num {
  position: absolute;
  left: 3%;
  bottom: -4rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(244,182,26,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.04em;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(244,182,26,0.03) 40px,
      rgba(244,182,26,0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(244,182,26,0.03) 40px,
      rgba(244,182,26,0.03) 41px
    );
}

.hero-bg-text {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 22rem);
  line-height: 1;
  color: rgba(244,182,26,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

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

.hero-content .row { min-height: 68vh; padding: 1rem 0 2rem; }

/* Ocultar la línea y eyebrow encima del título (solicitud B) */
.hero .hero-line,
.hero .hero-eyebrow { display: none !important; }

.hero h1 { margin-top: 0; }

.hero-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 1.1rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--gold);
  display: block;
  font-size: 0.92em;
}

.hero-desc {
  color: var(--light-gray);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  z-index: -1;
}

/* subtle dark overlay for better contrast on hero image */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.28) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* Limit hero text column width for better readability */
.hero .hero-content > .row > .col-lg-6:first-child {
  max-width: 640px;
}

.hero-image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  display: block;
}

@media (max-width: 991px) {
  .hero-image { height: 320px; object-position: center center; }
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244,182,26,0.2);
}

/* make stats stack nicely on small screens */
@media (max-width: 576px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
  .hero-stat-num { font-size: 1.4rem; }
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Marquee ─── */
.marquee-wrap {
  background: var(--gold);
  color: var(--black);
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  animation: marquee 24s linear infinite;
}

.marquee-item {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}

.marquee-item::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  display: inline-block;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Buttons ─── */
.btn-gold {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

/* Buttons: subtle elevation and focus */
.btn-gold, .btn-outline-gold {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.btn-gold:focus-visible, .btn-outline-gold:focus-visible {
  outline: 3px solid rgba(244,182,26,0.18);
  outline-offset: 4px;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* ─── Section Headers ─── */
.section-header {
  margin-bottom: 3.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--dark);
  position: relative;
}

.section-header h2.light { color: var(--white); }

/* Make white section headings slightly smaller */
.section-header h2.light {
  color: var(--white);
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-top: 0.75rem;
}

.section-header.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--mid);
  font-size: 1rem;
  max-width: 540px;
  margin-top: 1rem;
}

.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ─── Services Section ─── */
.services-section {
  background: var(--off-white);
  padding: 6rem 0;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(244,182,26,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--black);
}

.service-card h5 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Services Include List ─── */
.services-include {
  background: var(--dark);
  padding: 5rem 0;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.include-item:hover {
  background: rgba(244,182,26,0.08);
  border-color: rgba(244,182,26,0.2);
}

.include-item i {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.include-item span {
  color: var(--light-gray);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Projects Section ─── */
.projects-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  border-radius: 8px 8px 0 0;
}

.project-info {
  padding: 1.25rem 1.4rem;
  background: var(--white);
}

.project-info h6 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card-wrapper { height: 100%; }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--black);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'YUHER';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(244,182,26,0.04);
  white-space: nowrap;
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 900;
}

.cta-section p {
  color: var(--light-gray);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 1rem auto 2rem;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: var(--black);
  padding: 5rem 0 4rem;
  position: relative;
  border-bottom: 3px solid var(--gold);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(244,182,26,0.02) 20px,
    rgba(244,182,26,0.02) 21px
  );
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
}

.page-hero p {
  color: var(--light-gray);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ─── About Section ─── */
.about-section { padding: 6rem 0; }

.about-img-frame {
  position: relative;
}

.about-img-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 400px;
}

.mission-card {
  background: var(--dark);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  height: 100%;
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mission-card h4 {
  font-size: 1.4rem;
  margin: 1.2rem 0 1rem;
  color: var(--white);
}

.mission-card p { color: var(--light-gray); font-size: 0.95rem; }

.value-item {
  text-align: center;
  padding: 2rem 1rem;
}

.value-icon {
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--black);
  transition: var(--transition);
}

.value-item:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--dark);
  color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold);
}

.value-item h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* ─── Contact Section ─── */
.contact-section { padding: 6rem 0; }

.contact-info-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-card h5 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(244,182,26,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  color: var(--white);
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h4 {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
  color: var(--dark);
}

.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.form-control {
  border: 1.5px solid #DDD;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--off-white);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,182,26,0.12);
  background: var(--white);
  outline: none;
}

/* ─── Filter Buttons (Projects) ─── */
.filter-btn {
  background: transparent;
  color: var(--mid);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid #CCC;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Improved filter button focus and transitions */
.filter-btn {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 200ms ease;
}
.filter-btn:focus-visible {
  outline: 3px solid rgba(244,182,26,0.18);
  outline-offset: 4px;
  transform: translateY(-2px);
}

/* ─── Stats Bar ─── */
.stats-bar {
  background: var(--gold);
  padding: 3rem 0;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  margin-top: 0.35rem;
}

/* ─── Workflow (Projects page) ─── */
.workflow-section {
  background: var(--dark);
  padding: 6rem 0;
}

.workflow-step-card {
  position: relative;
  padding: 2rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(244,182,26,0.15);
  margin-bottom: 0.5rem;
}

.workflow-step-card h5 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.workflow-step-card p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.workflow-step-card::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: bold;
}

.workflow-step-card:last-child::after { display: none; }

/* ─── Specialties (Services) ─── */
.specialty-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.specialty-card:hover {
  background: var(--dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.specialty-card:hover h6 { color: var(--gold); }
.specialty-card:hover p { color: var(--light-gray); }
.specialty-card:hover .specialty-icon { background: var(--gold); color: var(--black); }

.specialty-icon {
  width: 60px;
  height: 60px;
  background: rgba(244,182,26,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
}

.specialty-card h6 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.specialty-card p {
  font-size: 0.85rem;
  color: #777;
  transition: var(--transition);
}

/* ─── Badge ─── */
.badge-gold {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

/* ─── Footer ─── */
footer {
  background: var(--black);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold);
}

.footer-brand img {
  height: 52px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--light-gray);
  font-size: 0.85rem;
}

.footer-head {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(244,182,26,0.2);
}

.footer-link {
  display: block;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: var(--transition);
}

.footer-link:hover { color: var(--gold); padding-left: 8px; }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light-gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-line i { color: var(--gold); }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
  margin: 0.2rem;
}

.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ─── WhatsApp Floating Button ─── */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.34);
  color: #FFFFFF;
}

.wa-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wa-text {
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
  }

  .wa-text {
    display: none;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fadeup { animation: fadeUp 0.7s ease forwards; }
.animate-fadein { animation: fadeIn 0.6s ease forwards; }

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--dark-2);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-top: 0.75rem;
  }
  .nav-link { padding: 0.7rem 1rem !important; }
  .nav-link::after { display: none; }
  .hero { min-height: auto; padding: 4rem 0; }
  .hero-content .row { min-height: auto; padding: 0; }
  .hero-image { height: 320px; }
  .hero-stats { gap: 1.5rem; }
  .include-grid { grid-template-columns: 1fr; }
  .projects-section { padding: 5rem 0; }
  .project-card img { height: 240px; }
  .workflow-step-card::after { right: -0.15rem; }
  .stats-bar { padding: 2.5rem 0; }
  .hero-bg-num,
  .hero-bg-text {
    opacity: 0.03;
  }
}

@media (max-width: 767px) {
  .navbar-brand img { height: 40px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-desc { font-size: 0.98rem; }
  .hero-image-wrap::before { display: none; }
  .hero-image { height: 280px; }
  .stats-bar .stat-num { font-size: 2.2rem; }
  .workflow-step-card::after { display: none; }
  .page-hero { padding: 4rem 0 3rem; }
  .page-hero h1 { font-size: 2.6rem; }
  .projects-section { padding: 4rem 0; }
  .project-filters { gap: 0.55rem; }
  .filter-btn { padding: 0.55rem 1rem; font-size: 0.72rem; }
  .project-card img { height: 220px; }
  .project-info { padding: 1rem 1.1rem; }
  .project-info h6 { font-size: 0.95rem; }
  .project-info p { font-size: 0.78rem; }
  .stats-bar { padding: 2rem 0; }
  .stat-num { font-size: 2.4rem; }
  .stat-label { font-size: 0.72rem; }
  .workflow-section { padding: 4rem 0; }
  .workflow-step-card { padding: 1.25rem 1rem; }
  .step-number { font-size: 4rem; }
  .cta-section { padding: 4rem 0; }
  .cta-section::before { font-size: 10rem; }
  .contact-section { padding: 4rem 0; }
  .contact-info-card,
  .contact-form-card,
  .mission-card { padding: 1.4rem; }
  .footer-brand img { height: 44px; }
  .cta-section::before,
  .hero::before {
    opacity: 0.35;
  }
}

@media (max-width: 576px) {
  #cursor {
    display: none;
  }
  .projects-section .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
  .project-card img { height: 200px; }
  .project-info { padding: 0.9rem 1rem; }
  .badge-gold { font-size: 0.62rem; padding: 0.25rem 0.65rem; }
  .project-filters { gap: 0.4rem; }
  .project-filters {
    gap: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    display: block;
    width: 88%;
    max-width: 420px;
    margin: 0.35rem auto;
    padding: 0.65rem 1rem;
    box-sizing: border-box;
  }
  .hero { padding: 2.5rem 0 1.75rem; }
  .hero-image { height: 220px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-stat-label { font-size: 0.66rem; }
  .hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .d-flex.flex-wrap.gap-3 > * {
    width: 100%;
  }
  .hero .d-flex.flex-wrap.gap-3 { gap: 0.75rem !important; }
  .btn-gold,
  .btn-outline-gold,
  .btn-outline-light { padding: 0.8rem 1.1rem; font-size: 0.74rem; }
  .section-header { margin-bottom: 2.4rem; }
  .service-card,
  .specialty-card { padding: 1.5rem; }
}

@media (hover: none) and (pointer: coarse) {
  #cursor { display: none; }
}
/* Mejoras móviles adicionales */
@media (max-width: 767px) {
  .hero { padding: 2rem 0 1.25rem; }
  .hero-content { padding: 0 1rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); text-align: left; }
  .hero-desc { text-align: left; margin: 0.8rem 0 1rem; }
  .hero-image-wrap { margin-top: 1rem; }
  .hero-image { width: 100%; height: auto; border-radius: 10px; }
  .hero .d-flex.flex-wrap.gap-3 { justify-content: flex-start; }
  .hero .d-flex.flex-wrap.gap-3 a { width: auto; min-width: 160px; }
  .hero-stats { margin-top: 1.25rem; }
  .hero-bg-num, .hero-bg-text { display: none !important; }
  .marquee-wrap { display: none !important; }
}

@media (max-width: 575px) {
  .project-filters { gap: 0.6rem; }
  /* Forzar ancho uniforme para todos los filtros en pantallas pequeñas */
  .project-filters .filter-btn {
    display: block !important;
    width: 90% !important;
    max-width: 460px !important;
    margin: 0.4rem auto !important;
    box-sizing: border-box;
    padding: 0.6rem 1rem !important;
  }
  /* Asegurar que el último botón no herede reglas extra y permanezca igual */
  .project-filters > .filter-btn:last-child {
    width: 90% !important;
    margin-inline: auto !important;
    max-width: 460px !important;
    box-sizing: border-box !important;
  }
  .hero .d-flex.flex-wrap.gap-3 a { width: 100%; max-width: 360px; }
  .hero-image { margin-top: 0.75rem; border-radius: 8px; }
  .footer-brand img { height: 38px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn-gold, .btn-outline-gold { touch-action: manipulation; }
}

/* --- Landing additions: cursor --- */
#cursor{position:fixed;width:12px;height:12px;background:var(--gold);border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);transition:transform .15s,width .3s,height .3s,background .3s;mix-blend-mode:difference}
#cursor.big{width:40px;height:40px}
