/* ALLER BALANCEOS | CSS EDITABLE
   Colores y medidas generales: editar :root
   Navegación: .site-header, .brand, .site-nav
   Inicio: .hero | Servicios: .service-* | Aplicaciones: .application-*
   Trayectoria: .about-* | Contacto: .contact-*
   Responsive: media queries al final
*/

:root {
  --red:#c7182b;
  --dark:#24282b;
  --ink:#25282b;
  --muted:#5c6267;
  --paper:#f5f4f1;
  --line:#dededb;
  --max:1180px}

* {
  box-sizing:border-box}

html {
  scroll-behavior:smooth;
  scroll-padding-top:90px}

body {
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family: 'Montserrat', sans-serif;
  line-height:1.2}

a {
  color:inherit}

img {
  max-width:100%;
  display:block}

.container {
  width:min(var(--max),calc(100% - 48px));
  margin-inline:auto}

.skip {
  position:absolute;
  left:-9999px}

.skip:focus {
  left:16px;
  top:12px;
  background:#fff;
  padding:10px;
  z-index:99}

.site-header {
  background:#fff;
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid #eee}

.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:86px}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.08em;
  line-height:1}

.brand span {
	font-size: 18px;
  font-weight: 800;
  line-height: 1;
	}

.brand img {
  width:47px;
  height:58px;
  object-fit:contain}

.brand h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #24282b;
  margin: 0;
  white-space: nowrap;
}

.site-nav {
  display:flex;
  gap:26px}

.site-nav a {
  text-decoration:none;
  font-size:1rem;
  font-weight:700}

.site-nav a:hover,.map-link:hover {
  color:var(--red)}

.menu-toggle {
  display:none}

.hero {
  background:var(--dark);
  color:#fff;
  overflow:hidden}

.hero-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:stretch;
  min-height:580px}

.hero-copy {
  padding:100px 50px 100px 0;
  align-self:center}

.eyebrow {
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.15em;
  color:#dededb;
  margin:0 0 22px}

.eyebrow-red {
  color:var(--red)}

h1,h2,h3,p {
  margin-top:0}


h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.035em;
  line-height:1.1;
}

h1 {
  font-size:clamp(2.7rem,5vw,5.3rem);
  margin-bottom:26px}

h1 em {
  font-style:normal;
  color:#d43749;}

.hero-intro {
  font-size:1.12rem;
  max-width:510px;
  color:#d5d8da;
  margin-bottom:30px;
 line-height:1.12;}

.button {
  display:inline-flex;
  align-items:center;
  gap:20px;
  padding:15px 21px;
  text-decoration:none;
  font-weight:800;
  font-size:.9rem}

.button-red {
  background:var(--red);
  color:#fff}

.button:hover {
  filter:brightness(1.12)}

.hero-visual {
  background:linear-gradient(135deg,#40474c,#171a1c);
  position:relative;
  min-height:380px;
  overflow:hidden;
  display:block;
  align-items:end;
  padding:0}

.hero-visual>span {
  font-size:.7rem;
  letter-spacing:.2em;
  color:#b4bdc2;
  z-index:1}

.visual-rings {
  width:390px;
  height:390px;
  border:65px solid #66707755;
  border-radius:50%;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) rotate(-25deg);
  box-shadow:0 0 0 55px #6c767922,0 0 0 120px #9aa3a90d}


.hero-visual .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section {
  padding:100px 0}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:35px}

.section-head h2 {
  max-width:650px}

.section-head p {
  max-width:340px;
  color:var(--muted)}

h2 {
  font-size:clamp(2rem,3.6vw,3.5rem);
  margin-bottom:20px}

h3 {
  font-size:1.3rem;
  margin:0}

.service-grid,.application-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px}

.service-card {
  background:var(--paper);
  padding:28px;
  min-height:230px;
  display:flex;
  flex-direction:column;
  justify-content:space-between}

.service-card span,.application-card span {
  color:var(--red);
  font-size:.8rem;
  font-weight:800}

/* APLICACIONES */

.applications {
  background: #eeece8;
}

/* Tarjetas */

.application-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-top: 3px solid var(--red);
}

/* Imágenes */

.application-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Contenido */

.application-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  padding: 28px 30px 32px;
}

.application-content span {
  display: block;
  margin: 0 0 12px;
}

.application-content h3 {
  margin: 0;
}

.energy-note {
  margin-top:28px;
  padding:25px 30px;
  background:#dedbd5;
  border-left:4px solid var(--red)}

.energy-note strong {
  display:block;
  font-size:1.1rem}

.energy-note p {
  margin:8px 0 0;
  max-width:800px;
  color:#4b4b4b}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px}

.about-grid>div>p:not(.eyebrow) {
  color:var(--muted);
  max-width:560px}

.facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start}

.fact {
  border-top:2px solid var(--red);
  padding-top:20px}

.fact strong {
  display:block;
  font-size:clamp(3rem,5vw,5rem);
  color:var(--red);
  line-height:1}

.fact span {
  display:block;
  font-weight:800;
  margin:12px 0}

.fact p {
  color:var(--muted);
  font-size:.9rem}

.contact {
  background:var(--dark);
  color:#fff}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px}

.contact h2 {
  max-width:600px}

.contact p {
  color:#d1d4d6}

.contact address {
  font-style:normal;
  border-left:1px solid #555d61;
  padding-left:40px}

.contact address strong {
  font-size:1.35rem}

.contact address a {
  color:#fff}

.contact a[href^="tel:"],
.contact a[href^="mailto:"] {
  color: #c8cacc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact a[href^="tel:"]:hover,
.contact a[href^="mailto:"]:hover {
  color: #ffffff;
}

.map-link {
  display:inline-block;
  margin-top:10px;
  text-decoration:underline;
  text-underline-offset:5px}

.footer {
  background:#17191b;
  color:#b8bdbf;
  font-size:.8rem;
  padding:22px 0}

.footer-inner {
  display:flex;
  justify-content:space-between;
  gap:20px}

/* LOGO / NAVEGACIÓN: texto en una sola línea */
.brand-name {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.12rem;
  letter-spacing: .025em;
  font-weight: 900;
}

@media(max-width:950px) {
  .hero-grid {
  grid-template-columns:1fr}

.hero-copy {
  padding:75px 0 60px}

.hero-visual {
  min-height:270px}

.service-grid,.application-grid {
  grid-template-columns:repeat(2,1fr)}

.about-grid,.contact-grid {
  gap:40px}

.section {
  padding:75px 0}

}

@media(max-width:650px) {
  .container {
  width:calc(100% - 36px)}

.header-inner {
  min-height:70px}

.brand img {
  width:38px;}
	

  .brand h1 {
    font-size: 15px;
  }

.menu-toggle {
  display:block;
  background:none;
  border:0;
  font-size:1.6rem;
  cursor:pointer}

.site-nav {
  display:none;
  position:absolute;
  top:70px;
  left:0;
  right:0;
  background:#fff;
  padding:20px 18px 25px;
  box-shadow:0 15px 25px #0002;
  flex-direction:column;
  gap:16px}

.site-nav.open {
  display:flex}

.hero-copy {
  padding:65px 0 55px}

.hero-visual {
  min-height:240px}

.section {
  padding:65px 0}

.section-head {
  display:block}

.service-grid,.application-grid {
  grid-template-columns:1fr 1fr;
  gap:10px}

.service-card,.application-card {
  padding:20px;
  min-height:180px}

.service-card h3,.application-card h3 {
  font-size:1.05rem}

.about-grid,.contact-grid {
  grid-template-columns:1fr;
  gap:36px}

.facts {
  gap:18px}

.contact address {
  padding:0;
  border:0;
  border-top:1px solid #555d61;
  padding-top:25px}

.footer-inner {
  flex-direction:column;
  gap:4px}

}

@media(max-width:390px) {
  .service-grid,.application-grid,.facts {
  grid-template-columns:1fr}

.service-card,.application-card {
  min-height:140px}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}

}



/* Ajustes para teléfonos pequeños */
@media (max-width: 650px) {
  .brand-name { font-size: .9rem; }
}
