/* ============================================================
   FRENOS IMPORTADOS SAS — Shared Stylesheet
   All pages link to this file.
   Dark tone: #1a1a1a everywhere (no pure #111 black)
   ============================================================ */

/* ── TOKENS ── */
:root {
  --dark:    #1a1a1a;   /* unified dark — replaces all previous blacks */
  --dark2:   #252525;   /* cards / elevated surfaces */
  --dark3:   #2e2e2e;   /* borders, subtle dividers */
  --mid:     #555;
  --white:   #ffffff;
  --yellow:  #fde758;
  --yellow2: #e8c800;
  --gray-bg: #f4f4f2;
  --text-body: #3a3a3a;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;           /* base size up from ~14-15px */
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--dark);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.topbar-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #999;
  padding: 11px 0;
}
.topbar-address strong { color: var(--yellow); }
.topbar-phones { display: flex; align-items: stretch; }
.phone-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-left: 1px solid var(--dark3);
}
.phone-block-inner { display: flex; flex-direction: column; }
.phone-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
}
.phone-nums {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.phone-nums a { color: var(--yellow); text-decoration: none; }
.phone-nums a:hover { color: var(--white); }

/* ── HEADER / NAV ── */
header {
  background: #f8f7f4;
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 17px rgba(0,0,0,0.10);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img {
  height: 86px;        /* bigger logo, no background pill */
  width: auto;
  display: block;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover,
nav a.active { background: var(--yellow); color: var(--dark); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--dark);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.42);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.3) 55%, transparent 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  max-width: 1200px; width: 100%;
  margin: 0 auto; padding: 0 40px;
  left: 50%; transform: translateX(-50%);
}
.hero-text { max-width: 600px; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 14px;
}
/* Hero h1 stays at its own size — NOT scaled with base font increase */
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(46px, 5.5vw, 74px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.16s, transform 0.14s;
}
.btn-primary:hover { background: var(--yellow2); transform: translateY(-2px); }

.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer; border: none;
  transition: background 0.2s;
}
.hero-dot.active { background: var(--yellow); }

/* ── STATS BAR ── */
.stats-bar { background: var(--yellow); padding: 0 40px; }
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: stretch;
}
.stat-item {
  flex: 1; display: flex; align-items: center; gap: 16px;
  padding: 22px 28px;
  border-right: 1px solid rgba(0,0,0,0.10);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px; font-weight: 900;
  color: var(--dark); line-height: 1;
}
.stat-text { font-size: 14px; font-weight: 500; color: #444; line-height: 1.4; }

/* ── BRANDS STRIP ── */
.brands-strip {
  background: var(--dark2);
  padding: 14px 40px;
  border-bottom: 1px solid var(--dark3);
}
.brands-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.brands-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #777; margin-right: 8px; white-space: nowrap;
}
.brand-pill {
  background: var(--dark3); color: #ccc; border: 1px solid #3a3a3a;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 3px;
}

/* ── SHARED SECTION ── */
section { padding: 80px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--yellow2);
  font-weight: 700; margin-bottom: 8px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--dark);
  margin-bottom: 14px;
}
.section-divider {
  width: 50px; height: 4px;
  background: var(--yellow); border-radius: 2px;
  margin-bottom: 44px;
}

/* ── VEHICLES ── */
.vehicles-section { background: var(--gray-bg); }
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.vehicle-card {
  background: var(--white); border: 2px solid transparent; border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.vehicle-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.vehicle-img {
  height: 170px; background: #f0f0ee;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vehicle-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 10px; transition: transform 0.3s;
}
.vehicle-card:hover .vehicle-img img { transform: scale(1.06); }
.vehicle-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-top: 1px solid #eee;
}
.vehicle-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 18px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.vehicle-arrow { font-size: 17px; color: #ccc; transition: color 0.15s; }
.vehicle-card:hover .vehicle-arrow { color: var(--yellow2); }

/* ── ABOUT ── */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-text p {
  font-size: 16px; font-weight: 300;
  color: #555; line-height: 1.85; margin-bottom: 18px;
}
.about-text p strong { color: var(--dark); font-weight: 600; }

.about-locations { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.location-tag {
  background: var(--dark); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 0.06em;
  padding: 9px 16px; border-radius: 3px;
}

.about-highlight {
  background: var(--dark2); color: var(--white);
  padding: 44px; border-radius: 6px;
  border-left: 5px solid var(--yellow);
}
.highlight-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 28px;
  text-transform: uppercase; margin-bottom: 24px; line-height: 1.1;
}
.highlight-title em { font-style: normal; color: var(--yellow); }
.highlight-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.highlight-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 16px; font-weight: 400; color: #bbb; line-height: 1.65;
}
.highlight-list li::before {
  content: '▸'; color: var(--yellow); font-size: 13px; margin-top: 2px; flex-shrink: 0;
}

/* ── INDUSTRIAL ── */
.industrial-section { position: relative; overflow: hidden; padding: 80px 40px; }
.industrial-bg {
  position: absolute; inset: 0;
  background-image: url('images/Construction_machinery2.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.18); z-index: 0;
}
.industrial-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.industrial-section .section-title { color: var(--white); }
.industrial-section .section-eyebrow { color: var(--yellow); font-weight: 700 }
.industrial-text p { font-size: 16px; font-weight: 300; color: #bbb; line-height: 1.85; margin-bottom: 18px; }
.industrial-img {
  border-radius: 6px; overflow: hidden;
  border: 3px solid rgba(253,231,88,0.15);
}
.industrial-img img { width: 100%; height: 290px; object-fit: cover; display: block; filter: brightness(0.8); }

/* ── CONTACT ── */
.contact-section { background: var(--gray-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.contact-phone-card {
  background: var(--dark2); border-radius: 6px;
  padding: 22px; display: flex; align-items: center; gap: 15px;
}
.cp-icon {
  width: 42px; height: 42px; background: var(--yellow);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cp-icon svg { width: 20px; height: 20px; }
.cp-icon.green { background: #25d366; }
.cp-icon.green img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }

.cp-label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.14em; color: #aaa;
  display: block; margin-bottom: 4px;
}
.cp-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 18px; letter-spacing: 0.06em;
  color: var(--yellow); line-height: 1.4;
}
.cp-num a { color: var(--yellow); text-decoration: none; }
.cp-num a:hover { color: var(--white); }
.cp-num.green-num { color: #25d366; }
.cp-num.green-num a { color: #25d366; }
.cp-num.green-num a:hover { color: var(--white); }
.cp-num.gray-num { font-size: 16px; color: #ccc; }
.cp-num.gray-num a { color: #ccc; }
.cp-num.gray-num a:hover { color: var(--white); }

.contact-map {
  background: var(--dark2); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column; min-height: 360px;
}
.contact-map-img { flex: 1; overflow: hidden; }
.contact-map-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) grayscale(0.3); }
.contact-map-footer {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.contact-map-footer p { font-size: 14px; color: #999; line-height: 1.5; }
.contact-map-footer strong {
  color: var(--yellow); display: block;
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px;
}
.map-btn {
  background: var(--yellow); color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 3px; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.15s;
}
.map-btn:hover { background: var(--yellow2); }

/* ── FOOTER ── */
footer { background: var(--white); color: #999; padding: 26px 40px; border-top: 1px solid #e8e8e8; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: 0.04em; gap: 20px; flex-wrap: wrap;
}
.footer-logo img { height: 40px; opacity: 1; display: block; }
.footer-inner a { color: #999; text-decoration: none; }
.footer-inner a:hover { color: var(--dark); }

/* ── WHATSAPP FLOAT ── */
.wapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s; display: block;
}
.wapp-float:hover { transform: scale(1.12); }
.wapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.6s 0.10s both; }
.hero h1      { animation: fadeUp 0.6s 0.25s both; }
.hero-sub     { animation: fadeUp 0.6s 0.40s both; }
.btn-primary  { animation: fadeUp 0.6s 0.55s both; }


/* ============================================================
   RESPONSIVE — TABLET (≤960px)
   ============================================================ */
@media (max-width: 960px) {

  /* Top bar stacks */
  .topbar {
    flex-direction: column;
    padding: 12px 24px;
    gap: 0;
    align-items: stretch;
  }
  .topbar-address { padding: 8px 0; font-size: 13px; }
  .topbar-phones { flex-wrap: wrap; border-top: 1px solid var(--dark3); }
  .phone-block { padding: 10px 16px 10px 0; border-left: none; border-right: 1px solid var(--dark3); }
  .phone-block:last-child { border-right: none; }

  /* Header */
  .header-inner { padding: 0 24px; height: 72px; }
  .logo img { height: 56px; }

  /* Show hamburger, hide nav by default */
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #f8f7f4;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    gap: 2px;
  }
  nav.open { display: flex; }
  nav a { font-size: 16px; padding: 11px 14px; }

  /* Sections */
  section { padding: 60px 24px; }
  .industrial-section { padding: 60px 24px; }
  .brands-strip, .stats-bar { padding-left: 24px; padding-right: 24px; }

  /* Grids → single column */
  .about-grid,
  .industrial-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Vehicles → 2 columns */
  .vehicles-grid { grid-template-columns: 1fr 1fr; }

  /* Stats wrap */
  .stats-inner { flex-wrap: wrap; }
  .stat-item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 18px 20px;
  }
  .stat-item:last-child { border-bottom: none; }

  /* Contact phones 2 cols still works */
  .contact-phones { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {

  /* Top bar */
  .topbar { padding: 10px 16px; }
  .topbar-address { font-size: 12px; }
  .phone-block { padding: 8px 12px 8px 0; }
  .phone-nums { font-size: 16px; }

  /* Header */
  .header-inner { padding: 0 16px; height: 84px; }
  .logo img { height: 68px; }

  /* Hero */
  .hero { height: 440px; }
  .hero-content { padding: 0 20px; }
  .hero-sub { font-size: 15px; }
  .btn-primary { font-size: 15px; padding: 13px 22px; }

  /* Sections */
  section { padding: 48px 16px; }
  .industrial-section { padding: 48px 16px; }
  .brands-strip, .stats-bar { padding-left: 16px; padding-right: 16px; }

  /* Vehicles → 1 column */
  .vehicles-grid { grid-template-columns: 1fr; }

  /* Stats → 1 column */
  .stat-item { flex: 1 1 100%; }

  /* Contact phones → 1 column */
  .contact-phones { grid-template-columns: 1fr; }

  /* About highlight less padding */
  .about-highlight { padding: 30px 24px; }

  /* Footer stacks */
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-logo { margin: 0 auto; }

  /* Industrial image shorter */
  .industrial-img img { height: 220px; }
}
