:root {
  --bg: #f7f7f5;
  --text: #131313;
  --muted: #626262;
  --line: #deded9;
  --accent: #c1121f;
  --accent-dark: #8f1119;
  --dark: #171717;
  --white: #ffffff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  width: fit-content;
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 2em;
  letter-spacing: .18em;
  line-height: 1;
  font-family:"Urbanist",sans-serif;
  width: fit-content;
}

.brand-name span {
  color: var(--accent);
}

.brand-subtitle {
  display: block;
  width: fit-content;
  text-align: left;
  font-size: 1em;
  margin-top: 6px;
  letter-spacing: 0.18em;
  font-size: small;
  font-family: "Satoshi", sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-top: 9px;
}

.nav a {
  color: #1f1f1f;
  position: relative;
}

.nav a:hover,
.nav-contact {
  color: var(--accent);
}

.nav-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--accent);
}

.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 64px;
  padding: 52px 0 72px;
  background-color: #ebeaea;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.hero h1 span,
.experience h2 span {
  color: var(--accent);
}

.lead {
  color: #2f2f2f;
  font-size: 19px;
  max-width: 560px;
  margin-bottom: 34px;
}

.primary-cta,
.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  min-width: 156px;
  height: 48px;
  padding: 0 22px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  transition: all .2s ease;
}

.primary-cta:hover,
.footer-button:hover {
  background: var(--accent);
  color: var(--white);
}

.hero-visual {
  min-width: 0;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.cube-lines {
  stroke: #4b5563;
  stroke-width: 1.2;
}

.grid-lines {
  stroke: #9ca3af;
  stroke-width: .9;
  stroke-dasharray: 4 6;
  opacity: .62;
}

.axes {
  stroke: #111827;
  stroke-width: 1.4;
  fill: #111827;
}

.labels {
  font-size: 16px;
  fill: #111;
}

.labels .accent {
  fill: var(--accent);
  font-weight: 800;
}

/*.inner-cube {
  transform-origin: 300px 270px;
  animation: pulseCube 5s ease-in-out infinite;
}
 
.inner-cube {
  transform-origin: 300px 250px;
  animation: pulseCube 5s ease-in-out infinite;
} */
.inner-cube {
  transform-origin: 300px 250px;
  animation: pulseCube 5s ease-in-out infinite;
}

@keyframes pulseCube {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.045); opacity: 0.95; }
}

/* Ajuste adicional para que el SVG sea responsivo */
svg {
  width: 100%;
  height: auto;
  max-width: 620px;
  display: block;
  margin: 0 auto;
}
/* Opcional: para que los ejes se vean más nítidos sobre los cubos */
.axes {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-center {
  text-align: center;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 8px 0 44px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.dimensions article {
  padding: 12px 32px;
}

.icon,
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 42px;
  margin-bottom: 18px;
}

.dimensions h3,
.capabilities h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.dimensions p,
.capabilities p,
.experience p {
  margin: 0;
  color: var(--muted);
}

.closing-line {
  margin: 42px auto 0;
  max-width: 760px;
  color: #444;
  font-size: 18px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #f0f0ed;
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - var(--max)) / 2));
  padding-right: max(24px, calc((100% - var(--max)) / 2));
}

.capabilities article {
  text-align: center;
  padding: 16px 28px;
  border-right: 1px solid var(--line);
}

.capabilities article:last-child {
  border-right: 0;
}

.experience {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.experience h2 {
  margin-bottom: 20px;
}

.project-list {
  border-left: 1px solid #c9c9c2;
  padding-left: 52px;
}

.project-list h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin: 0 0 20px;
}

.project-list p {
  font-size: 22px;
  line-height: 1.8;
  color: #666;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 42px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: .75fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.site-footer .brand-subtitle,
.site-footer p {
  color: #bdbdbd;
}

.site-footer p {
  margin: 0;
  max-width: 340px;
}

.footer-contact {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-contact a:not(.footer-button) {
  color: #e8e8e8;
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
    padding-top: 54px;
  }

  .hero-visual {
    order: -1;
    max-width: 540px;
    margin: 0 auto;
  }

  .dimensions,
  .capabilities,
  .experience,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .capabilities article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-list {
    border-left: 0;
    padding-left: 0;
  }

  .footer-contact {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section {
    width: min(100% - 32px, var(--max));
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-subtitle {
    letter-spacing: .28em;
    font-size: 9px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .dimensions article {
    padding: 8px 0;
  }

  .project-list p {
    font-size: 18px;
  }
}

.heroo{
    width: 115%;
    height: auto;
    display: flex;
    justify-content: left;
    background-color: #ebeaea;
}

.cubo{
    width: 80%;
    max-width: 800px;
    height: auto;
}
.about{
    padding:120px 0;
}

.about-text{
    width:100%;
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.about-text p{
    margin-top:20px;
    line-height:1.8;
}

.textoycubo {
  background-color: #ebeaea;
}

/*=========================
        ABOUT
==========================*/

.about{
    border-top:1px solid var(--line);
}

.about-header{
    max-width:720px;
    margin:0 auto 70px;
    text-align:center;
}

.about-header h2 span{
    color:var(--accent);
}

.about-intro{
    max-width:650px;
    margin:0 auto;
    font-size:19px;
    color:var(--muted);
}

.about-grid{

    display:grid;

    grid-template-columns:1.3fr 1fr 1fr;

    grid-template-areas:

        "featured negocio impacto"
        "featured experiencia relaciones";

    gap:24px;

}

.featured{
    grid-area:featured;
}

.about-grid article:nth-child(2){
    grid-area:negocio;
}

.about-grid article:nth-child(3){
    grid-area:impacto;
}

.about-grid article:nth-child(4){
    grid-area:experiencia;
}

.about-grid article:nth-child(5){
    grid-area:relaciones;
}

.about-card{

    background:#ffffff;

    border:1px solid var(--line);

    padding:34px;

    min-height:190px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    transition:.25s;

}

.about-card:hover{

    transform:translateY(-5px);

    border-color:#c8c8c8;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

.about-number{

    font-size:72px;

    font-weight:800;

    color:var(--accent);

    line-height:1;

    margin-bottom:18px;

}

.about-card h3{

    margin:0 0 12px;

    font-size:24px;

}

.about-card p{

    margin:0;

    color:var(--muted);

    line-height:1.7;

}

.featured{

    justify-content:center;

}

.featured h3{

    font-size:30px;

}

.featured p{

    font-size:18px;

}

@media (max-width:920px){

.about-grid{

    grid-template-columns:1fr;

    grid-template-areas:

    "featured"

    "negocio"

    "impacto"

    "experiencia"

    "relaciones";

}

.about-card{

    min-height:auto;

}

.about-number{

    font-size:60px;

}

}