/* d.css — diseño principal para Home */
:root{
	--bg:#0e1216; /* deep charcoal */
	--card:#0c0f12;
	--accent:#ffb300; /* industrial yellow */
	--accent-2:#ff6a00; /* warm orange */
	--muted:#9aa4ad;
	--surface:#0b1220;
	--white:#ffffff;
	--container:1200px;
	--radius:10px;
	font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:linear-gradient(180deg,#07101a 0%, #081728 55%);color:var(--white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;display:block}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 1.25rem}

/* HEADER */
.site-header{background:linear-gradient(180deg,rgba(4,6,10,0.72),rgba(6,8,12,0.24));backdrop-filter: blur(6px);position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(255,255,255,0.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1rem 0}
.brand{font-size:1.25rem;font-weight:800;color:var(--white);text-decoration:none;letter-spacing:0.6px}
.brand span{color:var(--accent);font-weight:600;margin-left:.4rem}

.main-nav{display:flex;gap:1rem;align-items:center}
.main-nav a{color:rgba(255,255,255,0.9);text-decoration:none;padding:.5rem .7rem;border-radius:6px;font-weight:500;font-size:.96rem}
.main-nav a:hover{background:rgba(255,255,255,0.03)}
.main-nav a.cta.small{background:var(--accent);color:var(--surface);padding:.45rem .7rem}

.nav-toggle{display:none;background:transparent;border:0;color:var(--white);font-size:1.5rem}

/* HERO */
.hero{padding:5.5rem 0 4rem; background: linear-gradient(180deg, rgba(5,7,9,0.4), rgba(5,7,9,0.25)); background-blend-mode: multiply}
.hero-industrial{background-image:linear-gradient(90deg, rgba(6,8,10,0.4), rgba(8,9,12,0.2));}
.container.wide{max-width:1400px}
.hero-content{display:grid;grid-template-columns:1fr 1.25fr;gap:2.5rem;align-items:center}
.hero-text h1{font-weight:800;color:#fafafa;margin-bottom:.6rem;letter-spacing:0.4px;line-height:1.02;font-size:clamp(1.6rem, 2.6rem + 1.2vw, 3.2rem)}
.hero-text p{color:rgba(255,255,255,0.85);max-width:70ch;margin-bottom:1rem;font-size:clamp(0.95rem, 1rem + .2vw, 1.125rem)}
.hero-text p{color:var(--muted);max-width:72ch;margin-bottom:1rem}
.hero-actions{display:flex;gap:1rem;margin-top:1.25rem}
.btn{display:inline-block;padding:.75rem 1.1rem;border-radius:8px;text-decoration:none;font-weight:700;transition:transform .14s ease, box-shadow .12s ease;border:0}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#091016;box-shadow:0 12px 30px rgba(255,179,0,0.12)}
.btn.primary:hover{transform:translateY(-3px)}
.btn.outline{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--white)}

.hero-visual{border-radius:14px;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,0.6);border:1px solid rgba(255,255,255,0.03);display:flex;align-items:stretch}
.hero-visual img{width:100%;display:block;object-fit:cover;aspect-ratio:16/9;min-height:360px}

/* CARDS */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:2.25rem 0}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));padding:1.5rem;border-radius:12px;border-left:6px solid rgba(255,179,0,0.12);box-shadow:0 10px 30px rgba(0,0,0,0.45);display:flex;flex-direction:column;min-height:160px}
.card h3{margin-top:.5rem;color:#f3f6f7}
.card h3{margin-top:.5rem;color:#e6eef0}
.card p{color:var(--muted);font-size:.95rem}
.card-icon{font-size:1.65rem}

/* ABOUT */
.about{margin:3rem 0;padding:1.6rem;border-radius:12px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2.25rem}
.about-image img{border-radius:10px;object-fit:cover;width:100%;height:100%;aspect-ratio:4/3}
.about-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2rem}
.about-text h2{font-size:1.35rem;margin-bottom:.5rem}
.about-list{margin:0.8rem 0 1rem;list-style:disc;padding-left:1rem;color:var(--muted)}

/* FOOTER */
.site-footer{margin-top:3.5rem;padding:2rem 0;border-top:1px solid rgba(255,255,255,0.04);background:linear-gradient(180deg,transparent rgba(0,0,0,0.08))}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.footer-brand small{display:block;color:rgba(255,255,255,0.6);font-weight:400}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.footer-brand{font-weight:700}
.footer-links a{color:rgba(255,255,255,0.8);text-decoration:none;margin-left:1rem}

/* RESPONSIVE */
/* LAYOUT BREAKPOINTS — progressively adjust layout */
@media (max-width:1400px){
	.container.wide{max-width:1200px}
}
@media(max-width:1200px){
		.hero-content{grid-template-columns:1fr 1fr}
		.hero-text h1{font-size:clamp(1.7rem, 2.2rem + 0.6vw, 2.6rem)}
		.hero-visual img{min-height:420px}
}
@media(max-width:980px){
	/* single column stack for content */
	.hero-content{grid-template-columns:1fr;gap:1.25rem}
	.hero-visual img{min-height:360px}
	.cards{grid-template-columns:repeat(1,1fr)}
	.about-grid{grid-template-columns:1fr}
	.hero{padding:3.75rem 0}
	.btn{width:100%;text-align:center}
	.hero-actions{flex-direction:column}
}

@media(max-width:760px){
		/* mobile nav becomes full height overlay */
		.main-nav{position:fixed;right:0;top:0;background:linear-gradient(180deg,#07101a, #081728);width:100%;max-width:420px;border-left:1px solid rgba(255,255,255,0.03);height:100vh;padding:2.5rem 1.25rem;transform:translateX(100%);transition:transform .18s ease;display:flex;flex-direction:column;gap:1rem}
		.main-nav.open{transform:none}
		.nav-toggle{display:block}
		.main-nav a{display:block;padding:0.9rem 0;border-radius:0;font-size:1.05rem}
		.footer-inner{flex-direction:column;align-items:flex-start}
		.hero-visual img{min-height:240px}
		.hero-text h1{font-size:1.6rem}
}

/* Very small screens */
@media (max-width:420px){
	.brand{font-size:1rem}
	.hero-text p{font-size:0.95rem}
	.hero-visual img{min-height:200px}
	.main-nav{padding:2rem}
}

/* Accessibility: focus outlines */
.main-nav a:focus, .btn:focus, .brand:focus{outline:3px solid rgba(255,179,0,0.15);outline-offset:4px}

/* small utilities */
.muted{color:var(--muted)}

