/* JCC Ingeniería — versión 5 */

:root {
  --white:#ffffff;
  --black:#101010;
  --yellow:#f2c300;
  --yellow-dark:#a77d00;
  --gray:#666666;
  --line:#e5e5e5;
  --max:1360px;
}

* { box-sizing:border-box; }

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

body {
  margin:0;
  background:var(--white);
  color:var(--black);
  font-family:Arial,Helvetica,sans-serif;
}

a {
  color:inherit;
  text-decoration:none;
}

.site-header {
  width:min(calc(100% - 80px),var(--max));
  height:92px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.brand {
  display:block;
  width:255px;
}

.brand img {
  width:100%;
  display:block;
}

.nav {
  display:flex;
  gap:36px;
  font-size:.92rem;
  font-weight:700;
}

.nav a {
  position:relative;
  padding:8px 0;
}

.nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:3px;
  background:var(--yellow);
  transition:width .2s ease;
}

.nav a:hover::after { width:100%; }

/* HERO */
.hero {
  width:min(calc(100% - 80px),var(--max));
  min-height:calc(100vh - 92px);
  margin:0 auto;
  display:grid;
  grid-template-columns:.94fr 1.06fr;
  align-items:center;
  gap:54px;
  padding:58px 0 64px;
}

.hero__content {
  max-width:650px;
  padding-right:12px;
}

.eyebrow,
.section-tag {
  display:inline-block;
  width:fit-content;
  margin:0 0 24px;
  padding:9px 13px;
  background:var(--yellow);
  color:var(--black);
  font-size:.77rem;
  font-weight:900;
  letter-spacing:.14em;
}

h1 {
  margin:0;
  max-width:650px;
  font-size:clamp(3.5rem,5.5vw,6rem);
  line-height:.95;
  letter-spacing:-.05em;
  font-weight:900;
}

.hero__text {
  max-width:560px;
  margin:26px 0 0;
  color:var(--gray);
  font-size:1.12rem;
  line-height:1.55;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  margin-top:32px;
  padding:0 24px;
  background:var(--yellow);
  color:var(--black);
  font-size:.95rem;
  font-weight:900;
  transition:.2s ease;
}

.button:hover {
  background:var(--black);
  color:var(--white);
}

.hero__visual {
  position:relative;
  min-height:650px;
  height:72vh;
  max-height:760px;
  overflow:hidden;
  background:#f3f3f3;
}

.hero__visual::before {
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  top:0;
  width:10px;
  height:100%;
  background:var(--yellow);
}

.hero__visual img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* ABOUT */
.about {
  background:var(--black);
  color:var(--white);
  padding:110px 0 105px;
}

.about__inner {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
}

.about h2,
.experience__intro h2,
.contact__copy h2 {
  margin:0;
  max-width:600px;
  font-size:clamp(3.2rem,5vw,5.8rem);
  line-height:.96;
  letter-spacing:-.05em;
}

.about__content { padding-top:44px; }

.about__lead {
  margin:0;
  max-width:690px;
  font-size:clamp(1.5rem,2.2vw,2.35rem);
  line-height:1.18;
  font-weight:700;
}

.about__text {
  margin:28px 0 0;
  max-width:680px;
  color:#c9c9c9;
  font-size:1.05rem;
  line-height:1.7;
}

.about__points {
  margin-top:46px;
  border-top:1px solid #343434;
}

.about__point {
  min-height:76px;
  display:grid;
  grid-template-columns:76px 1fr;
  align-items:center;
  border-bottom:1px solid #343434;
}

.about__point span {
  color:var(--yellow);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.08em;
}

.about__point strong { font-size:1.05rem; }

/* SERVICES */
.services {
  padding:110px 0 120px;
  background:var(--white);
}

.services__inner {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
}

.services__header {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  margin-bottom:64px;
}

.services__header h2 {
  margin:0;
  max-width:760px;
  font-size:clamp(3rem,4.8vw,5.4rem);
  line-height:.97;
  letter-spacing:-.05em;
}

.services__grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--black);
  border-left:1px solid var(--line);
}

.service-card {
  min-height:300px;
  padding:28px 28px 34px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .2s ease,color .2s ease;
}

.service-card span,
.experience-row__number {
  color:var(--yellow-dark);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.14em;
}

.service-card h3 {
  margin:50px 0 14px;
  max-width:300px;
  font-size:1.52rem;
  line-height:1.08;
  letter-spacing:-.025em;
}

.service-card p {
  margin:0;
  max-width:330px;
  color:var(--gray);
  font-size:.94rem;
  line-height:1.6;
}

.service-card:hover { background:var(--yellow); }
.service-card:hover span,
.service-card:hover p { color:var(--black); }

.services__note {
  margin:28px 0 0;
  padding-left:16px;
  border-left:4px solid var(--yellow);
  color:var(--gray);
  font-size:.92rem;
  line-height:1.6;
}

/* EXPERIENCE */
.experience {
  background:var(--yellow);
  color:var(--black);
  padding:110px 0 0;
}

.experience__inner {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  padding-bottom:90px;
}

.section-tag--dark {
  background:var(--black);
  color:var(--white);
}

.experience__list {
  padding-top:44px;
  border-top:1px solid rgba(16,16,16,.45);
}

.experience-row {
  display:grid;
  grid-template-columns:70px 1fr;
  gap:16px;
  padding:25px 0 30px;
  border-bottom:1px solid rgba(16,16,16,.28);
}

.experience-row__number { color:var(--black); }

.project-meta {
  margin:0 0 8px;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.experience-row h3 {
  margin:0 0 9px;
  font-size:1.38rem;
  line-height:1.12;
}

.experience-row p:last-child {
  margin:0;
  max-width:640px;
  font-size:.96rem;
  line-height:1.55;
}

.clients {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
  padding:30px 0 38px;
  display:grid;
  grid-template-columns:160px 1fr;
  gap:30px;
  align-items:center;
  border-top:1px solid rgba(16,16,16,.35);
}

.clients__label {
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.14em;
}

.clients__names {
  display:flex;
  flex-wrap:wrap;
  gap:14px 32px;
  align-items:center;
}

.clients__names strong {
  font-size:.92rem;
  letter-spacing:.04em;
}

/* CONTACT */
.contact {
  background:var(--black);
  color:var(--white);
  padding:110px 0 0;
}

.contact__inner {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  padding-bottom:95px;
}

.contact__copy > p:last-child {
  max-width:520px;
  margin:28px 0 0;
  color:#c8c8c8;
  font-size:1.08rem;
  line-height:1.65;
}

.contact__actions {
  padding-top:42px;
  border-top:1px solid #363636;
}

.contact-card {
  display:grid;
  grid-template-columns:56px minmax(220px,1fr) 1fr;
  gap:18px;
  align-items:center;
  min-height:82px;
  border-bottom:1px solid #363636;
  transition:background .2s ease,padding .2s ease;
}

a.contact-card:hover {
  background:#181818;
  padding-left:12px;
}

.contact-card span {
  color:var(--yellow);
  font-size:.76rem;
  font-weight:900;
}

.contact-card strong { font-size:1.04rem; }
.contact-card small { color:#9e9e9e;font-size:.9rem; }

.footer {
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
  min-height:104px;
  display:grid;
  grid-template-columns:250px 1fr auto;
  gap:28px;
  align-items:center;
  border-top:1px solid #363636;
  color:#a7a7a7;
  font-size:.82rem;
}

.footer img {
  width:220px;
  display:block;
  filter:brightness(.95);
}

/* RESPONSIVE */
@media (max-width:900px) {
  html { scroll-padding-top:74px; }

  .site-header {
    width:min(calc(100% - 36px),var(--max));
    height:74px;
  }

  .brand { width:205px; }
  .nav { display:none; }

  .hero {
    width:min(calc(100% - 36px),var(--max));
    min-height:auto;
    grid-template-columns:1fr;
    gap:30px;
    padding:44px 0 48px;
  }

  h1 { font-size:clamp(3rem,13vw,5rem); }

  .hero__visual {
    min-height:480px;
    height:68vh;
  }

  .about,
  .services,
  .experience,
  .contact {
    padding-top:76px;
  }

  .about__inner,
  .services__header,
  .experience__inner,
  .contact__inner {
    width:min(calc(100% - 36px),var(--max));
    grid-template-columns:1fr;
    gap:30px;
  }

  .about__content,
  .experience__list,
  .contact__actions {
    padding-top:0;
  }

  .services__inner {
    width:min(calc(100% - 36px),var(--max));
  }

  .services__header {
    width:100%;
    margin-bottom:42px;
  }

  .services__grid { grid-template-columns:1fr; }
  .service-card { min-height:230px; }

  .experience__inner { padding-bottom:60px; }

  .clients {
    width:min(calc(100% - 36px),var(--max));
    grid-template-columns:1fr;
    gap:18px;
  }

  .contact-card {
    grid-template-columns:46px 1fr;
    padding:14px 0;
  }

  .contact-card small { grid-column:2; }

  .footer {
    width:min(calc(100% - 36px),var(--max));
    grid-template-columns:1fr;
    padding:28px 0;
  }
}
