/* ═══════════════════════════════════════════
   EIXAMPLE — Estilos principales
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:     #FF5C00;
  --black:      #080808;
  --gray:       #5F5F5F;
  --light-gray: #F4F4F4;
  --white:      #FFFFFF;
  --dark-bg:    #111111;
  --section-pad: 100px 0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--black); background: var(--white); overflow-x: hidden; }

/* NAVBAR */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; height: 75px; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--black); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--orange); color: var(--white) !important; padding: 10px 22px; border-radius: 4px; }
.nav-cta:hover { background: #e04e00 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--black); transition: 0.3s; }

/* HERO */
#hero { min-height: 100vh; background: var(--dark-bg); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 75px; }
.hero-bg-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; z-index: 1; }
.hero-bg-pattern { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,92,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,92,0,0.06) 1px, transparent 1px); background-size: 60px 60px; }
.hero-road { position: absolute; bottom: 0; left: 0; right: 0; height: 220px; z-index: 1; background: linear-gradient(to top, #1a1a1a, transparent); }
.hero-road::before { content: ''; position: absolute; bottom: 60px; left: 10%; right: 10%; height: 4px; background: var(--orange); opacity: 0.4; border-radius: 2px; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
.hero-h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(42px, 5vw, 68px); font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 24px; }
.hero-h1 span { color: var(--orange); }
.hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 44px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--orange); color: var(--white); padding: 15px 32px; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: transform 0.2s, background 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: #e04e00; transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: var(--white); padding: 15px 32px; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: border-color 0.2s, background 0.2s; }
.btn-outline:hover { border-color: var(--orange); background: rgba(255,92,0,0.1); }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 28px 24px; transition: border-color 0.3s; }
.hero-stat:hover { border-color: rgba(255,92,0,0.4); }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-badge { background: rgba(255,92,0,0.12); border: 1px solid rgba(255,92,0,0.25); border-radius: 8px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.badge-icon { width: 44px; height: 44px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.badge-text { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.5; }
.badge-text strong { color: var(--white); display: block; margin-bottom: 2px; }

/* SERVICES STRIP */
.services-strip { background: var(--orange); overflow: hidden; }
.strip-inner { display: flex; }
.strip-item { flex: 1; padding: 28px 32px; display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: background 0.2s; color: white; text-decoration: none; }
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(0,0,0,0.15); }
.strip-num { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; opacity: 0.3; line-height: 1; }
.strip-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* SECTION WRAP & TYPOGRAPHY */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.section-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--orange); }
.section-h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.5vw, 46px); font-weight: 900; line-height: 1.1; color: var(--black); margin-bottom: 20px; }
.section-body { font-size: 16px; line-height: 1.75; color: var(--gray); margin-bottom: 24px; }

/* NOSOTROS */
#nosotros { padding: var(--section-pad); background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.valores-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin-top: 32px; }
.valores-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.valores-list li::before { content: '▲'; color: var(--orange); font-size: 8px; }
.about-visual { position: relative; }
.about-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--light-gray); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-img-placeholder img { width: 100%; height: 100%; object-fit: contain; background: #f4f4f4; }
.about-accent { position: absolute; bottom: -24px; right: -24px; width: 160px; height: 160px; background: var(--orange); border-radius: 8px; z-index: -1; }
.about-float { position: absolute; bottom: 24px; left: 24px; background: var(--white); border-radius: 8px; padding: 18px 24px; box-shadow: 0 8px 40px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 16px; }
.float-number { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 900; color: var(--orange); line-height: 1; }
.float-text { font-size: 13px; color: var(--gray); line-height: 1.4; }
.float-text strong { color: var(--black); font-weight: 600; display: block; }

/* SERVICIOS */
#servicios { padding: var(--section-pad); background: var(--light-gray); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-eyebrow { justify-content: center; }
.services-header .section-eyebrow::before { display: none; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.service-card { background: var(--white); padding: 48px 44px; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--orange); transition: width 0.4s ease; }
.service-card:hover::before { width: 100%; }
.service-card:hover { background: #fafafa; }
.service-icon { width: 52px; height: 52px; margin-bottom: 24px; background: rgba(255,92,0,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.service-title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 14px; }
.service-desc { font-size: 14px; line-height: 1.7; color: var(--gray); margin-bottom: 20px; }
.service-items { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-items li { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 8px; }
.service-items li::before { content: ''; width: 4px; height: 4px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }

/* PROCESO */
#proceso { padding: var(--section-pad); background: var(--dark-bg); }
#proceso .section-h2 { color: var(--white); }
.process-header { margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.process-step { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
.step-circle { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.15); background: var(--dark-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; color: var(--gray); transition: all 0.3s; }
.process-step:hover .step-circle { border-color: var(--orange); color: var(--orange); background: rgba(255,92,0,0.08); }
.step-title { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.45); }

/* SECTORES */
#sectores { padding: var(--section-pad); background: var(--white); }
.sectores-header { text-align: center; margin-bottom: 64px; }
.sectores-header .section-eyebrow { justify-content: center; }
.sectores-header .section-eyebrow::before { display: none; }
.sectores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-card { border: 1px solid #E8E8E8; border-radius: 8px; padding: 28px 24px; display: flex; align-items: center; gap: 14px; transition: all 0.2s; }
.sector-card:hover { border-color: var(--orange); box-shadow: 0 4px 24px rgba(255,92,0,0.1); transform: translateY(-2px); }
.sector-icon { font-size: 22px; flex-shrink: 0; }
.sector-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--black); }

/* VENTAJAS */
#ventajas { padding: var(--section-pad); background: var(--orange); }
.ventajas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ventajas-left .section-h2 { color: var(--white); }
.ventajas-left .section-body { color: rgba(255,255,255,0.7); }
.ventajas-list { list-style: none; display: flex; flex-direction: column; }
.ventaja-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.ventaja-item:last-child { border-bottom: none; }
.ventaja-num { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.35); width: 28px; flex-shrink: 0; padding-top: 2px; }
.ventaja-title { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ventaja-desc { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.65); }

/* PROYECTOS */
#proyectos { padding: var(--section-pad); background: var(--light-gray); }
.proyectos-header { text-align: center; margin-bottom: 56px; }
.proyectos-header .section-eyebrow { justify-content: center; }
.proyectos-header .section-eyebrow::before { display: none; }
.proyectos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proyecto-card.span2 { grid-column: span 2; }
.proyecto-img-real { position: relative; overflow: hidden; background: #111; aspect-ratio: 4/3; border-radius: 6px; }
.proyecto-card.span2 .proyecto-img-real { aspect-ratio: 21/9; }
.proyecto-img-real img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.proyecto-card:hover .proyecto-img-real img { transform: scale(1.06); }
.proyecto-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 55%); display: flex; align-items: flex-end; opacity: 0; transition: opacity 0.3s; }
.proyecto-card:hover .proyecto-overlay { opacity: 1; }
.overlay-content { padding: 20px; }
.po-title { color: #fff; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.po-meta { color: rgba(255,255,255,0.6); font-size: 12px; }

/* LIGHTBOX */
#lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.93); align-items: center; justify-content: center; }
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 36px; cursor: pointer; opacity: 0.7; line-height: 1; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 48px; cursor: pointer; opacity: 0.5; padding: 12px; user-select: none; }
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.4); font-size: 13px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: 0.1em; }

/* CTA BAND */
.cta-band { background: var(--black); padding: 80px 0; text-align: center; }
.cta-band .section-h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.5); margin-bottom: 40px; font-size: 16px; }

/* CONTACTO */
#contacto { padding: var(--section-pad); background: var(--white); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--orange); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: white; }
.contact-label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.contact-value { font-size: 16px; color: var(--black); font-weight: 500; }
.form-wrap { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid #E0E0E0; border-radius: 4px; padding: 13px 16px; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--black); outline: none; transition: border-color 0.2s; background: var(--white); width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* FOOTER */
footer { background: var(--dark-bg); padding: 60px 0 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-legal a:hover { color: var(--orange); }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 32px; right: 32px; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* MOBILE MENU */
.mobile-nav { display: none; position: fixed; top: 75px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; padding: 40px 32px; flex-direction: column; gap: 24px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; color: var(--black); text-decoration: none; text-transform: uppercase; }
.mobile-nav a:hover { color: var(--orange); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.6s ease forwards; }
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 0 32px; }
  .hero-right { display: none; }
  .section-wrap { padding: 0 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .sectores-grid { grid-template-columns: repeat(2,1fr); }
  .ventajas-grid { grid-template-columns: 1fr; gap: 48px; }
  .proyectos-grid { grid-template-columns: 1fr 1fr; }
  .proyecto-card.span2 { grid-column: span 2; }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .strip-inner { flex-direction: column; }
  .strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .section-wrap { padding: 0 20px; }
  .footer-inner { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sectores-grid { grid-template-columns: 1fr 1fr; }
  .proyectos-grid { grid-template-columns: 1fr; }
  .proyecto-card.span2 { grid-column: span 1; }
  .valores-list { grid-template-columns: 1fr; }
}
