/* ── INDEX PAGE CSS ── */

/* HERO */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 52% 48%;
  overflow: hidden;
  position: relative;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 80px;
  position: relative;
  z-index: 2;
}
.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .9s var(--ease-out) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .30s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .60s; }
.hero-content > *:nth-child(5) { animation-delay: .75s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-dot { width: 5px; height: 5px; background: var(--white); border-radius: 50%; opacity: .5; }
.hero-eyebrow span {
  font-size: .58rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--g2);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 6.2rem);
  font-weight: 300;
  line-height: .98;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.hero-h1 strong { font-weight: 600; display: block; }
.hero-h1 em { font-style: italic; opacity: .65; }
.hero-desc {
  font-size: .94rem;
  line-height: 1.8;
  color: var(--g1);
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-desc strong { color: var(--white); font-weight: 500; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-guarantees {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border2);
}
.guar-item { display: flex; align-items: flex-start; gap: 8px; }
.guar-check {
  width: 16px; height: 16px; border: 1px solid var(--g3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .5rem; flex-shrink: 0; margin-top: 2px;
}
.guar-text { font-size: .68rem; line-height: 1.45; color: var(--g1); }
.guar-text strong { display: block; color: var(--white); font-weight: 500; font-size: .72rem; }

/* Hero Visual */
.hero-visual { position: relative; overflow: hidden; }
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.12) 38%, transparent 100%);
  z-index: 1;
}
.hero-visual img.main {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: zoomOut 16s var(--ease-out) forwards;
}
@keyframes zoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-stat-card {
  position: absolute; top: 50%; right: 32px;
  transform: translateY(-50%); z-index: 3;
  background: rgba(0,0,0,.72); backdrop-filter: blur(14px);
  border: 1px solid var(--border); padding: 20px 18px; text-align: center;
  animation: fadeIn 1s .7s both;
}
.hero-stat-card .num {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 300; line-height: 1;
}
.hero-stat-card .lbl {
  font-size: .55rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--g2); margin-top: 4px;
}
.hero-mini-img {
  position: absolute; bottom: 52px; left: -40px; z-index: 2;
  width: 192px; height: 144px; object-fit: cover;
  border: 3px solid var(--black);
  box-shadow: 14px 14px 48px rgba(0,0,0,.7);
  animation: fadeIn 1s 1.1s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* TRUST BAR */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  background: var(--black2);
}
.trust-item {
  padding: 28px 32px;
  border-right: 1px solid var(--border2);
  display: flex; align-items: center; gap: 14px;
  transition: background .3s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,.02); }
.trust-item .count-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300; line-height: 1; white-space: nowrap;
}
.trust-item .count-num sup { font-size: 1rem; vertical-align: super; }
.trust-item .count-label {
  font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--g2); margin-top: 2px;
}

/* INTRO */
.intro-section {
  padding: 112px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.intro-title { margin-bottom: 28px; }
.intro-body p {
  font-size: .9rem; line-height: 1.9; color: var(--g1); margin-bottom: 20px;
}
.intro-body p strong { color: var(--white); font-weight: 500; }
.intro-body p:last-of-type { margin-bottom: 36px; }

/* SERVICIOS HOME */
.servicios-home { padding: 112px 48px; background: var(--black2); }
.srv-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--border2);
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
.srv-header-right p {
  font-size: .88rem; line-height: 1.9; color: var(--g1); margin-bottom: 20px;
}
.srv-grid-home {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--black4);
  max-width: var(--max-w); margin: 0 auto;
}
.srv-card {
  background: var(--black3); padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: background .35s;
}
.srv-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--white);
  transition: width .45s var(--ease-out);
}
.srv-card:hover { background: var(--black4); }
.srv-card:hover::after { width: 100%; }
.srv-num {
  font-family: var(--font-display); font-size: .8rem;
  color: var(--g2); font-style: italic; margin-bottom: 18px;
}
.srv-title {
  font-family: var(--font-display); font-size: 1.55rem;
  font-weight: 400; margin-bottom: 10px; line-height: 1.2;
}
.srv-desc { font-size: .76rem; line-height: 1.85; color: var(--g1); }
.srv-arrow {
  position: absolute; bottom: 24px; right: 24px;
  width: 30px; height: 30px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--g2); transition: all .3s;
}
.srv-card:hover .srv-arrow { border-color: var(--white); color: var(--white); transform: rotate(45deg); }
.srv-footer {
  max-width: var(--max-w); margin: 40px auto 0;
  text-align: center;
}

/* POR QUÉ YUVIK */
.porq-section { padding: 112px 48px; }
.porq-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.porq-visual { position: relative; }
.porq-main-img { width: 100%; height: 480px; object-fit: cover; }
.porq-badge {
  position: absolute; top: 32px; left: -24px;
  background: var(--white); color: var(--black);
  padding: 16px 20px; text-align: center;
  box-shadow: 0 8px 36px rgba(0,0,0,.5);
}
.porq-badge .n {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; line-height: 1;
}
.porq-badge .l {
  font-size: .56rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; margin-top: 3px;
}
.porq-accent-img {
  position: absolute; bottom: -28px; right: -28px;
  width: 180px; height: 144px; object-fit: cover;
  border: 3px solid var(--black);
  box-shadow: 0 12px 44px rgba(0,0,0,.6);
}
.porq-list { margin-top: 40px; }
.porq-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border2); align-items: start;
}
.porq-item:first-child { border-top: 1px solid var(--border2); }
.porq-num {
  font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 300; color: rgba(255,255,255,.1); line-height: 1;
}
.porq-item-title { font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.porq-item-desc { font-size: .76rem; line-height: 1.8; color: var(--g1); }

/* GALLERY STRIP HOME */
.gallery-strip { padding: 112px 0; background: var(--black2); }
.gallery-strip-header {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 48px 52px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px 260px;
  gap: 2px; padding: 0 2px;
}
.m-item { overflow: hidden; position: relative; }
.m-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.m-item:hover img { transform: scale(1.06); }
.m-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.25); opacity: 0;
  transition: opacity .35s;
}
.m-item:hover::after { opacity: 1; }
.m-label {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  background: rgba(0,0,0,.78); backdrop-filter: blur(6px);
  padding: 5px 10px; font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white2);
  opacity: 0; transform: translateY(6px); transition: all .35s;
}
.m-item:hover .m-label { opacity: 1; transform: translateY(0); }
.m1 { grid-column: 1/6; grid-row: 1/3; }
.m2 { grid-column: 6/9; grid-row: 1/2; }
.m3 { grid-column: 9/13; grid-row: 1/2; }
.m4 { grid-column: 6/9; grid-row: 2/3; }
.m5 { grid-column: 9/13; grid-row: 2/3; }
.m6 { grid-column: 1/5; grid-row: 3/4; }
.m7 { grid-column: 5/9; grid-row: 3/4; }
.m8 { grid-column: 9/13; grid-row: 3/4; }

/* TESTIMONIOS */
.testimonios { padding: 112px 48px; }
.test-header { text-align: center; margin-bottom: 64px; }
.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--black4);
  max-width: var(--max-w); margin: 0 auto;
}
.test-card {
  background: var(--black2); padding: 44px 36px;
  position: relative; overflow: hidden; transition: background .3s;
}
.test-card:hover { background: var(--black3); }
.test-stars { font-size: .82rem; letter-spacing: 2px; margin-bottom: 20px; }
.test-text {
  font-family: var(--font-display); font-size: 1.12rem;
  font-weight: 300; font-style: italic;
  line-height: 1.65; margin-bottom: 24px; color: var(--white2);
}
.test-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border2); }
.test-avatar {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--black3); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; flex-shrink: 0;
}
.test-name { font-size: .78rem; font-weight: 600; }
.test-loc { font-size: .66rem; color: var(--g2); margin-top: 1px; }
.test-quote {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-display); font-size: 4rem;
  color: rgba(255,255,255,.04); line-height: 1;
}

/* PROCESO STRIP */
.proceso-strip { padding: 112px 48px; background: var(--black2); }
.proceso-inner { max-width: var(--max-w); margin: 0 auto; }
.proceso-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
}
.proceso-head-note { font-size: .78rem; color: var(--g1); max-width: 260px; line-height: 1.8; text-align: right; }
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps-line {
  position: absolute; top: 26px; left: 10%; right: 10%;
  height: 1px; background: var(--border2); z-index: 0;
}
.step {
  text-align: center; padding: 0 12px; position: relative; z-index: 1;
}
.step-circle {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px; background: var(--black2);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 300;
  transition: all .35s;
}
.step:hover .step-circle { background: var(--white); color: var(--black); border-color: var(--white); }
.step-title { font-size: .8rem; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: .72rem; line-height: 1.8; color: var(--g1); }

/* CTA STRIP */
.cta-strip {
  padding: 132px 48px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: var(--black3);
}
.cta-strip-grid-bg {
  position: absolute; inset: 0; opacity: .025;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 52px, rgba(255,255,255,.4) 52px, rgba(255,255,255,.4) 53px),
    repeating-linear-gradient(90deg, transparent, transparent 52px, rgba(255,255,255,.4) 52px, rgba(255,255,255,.4) 53px);
}
.cta-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center;
}
.cta-strip-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  font-weight: 300; line-height: 1.05;
}
.cta-strip-title em { font-style: italic; }
.cta-strip-sub { font-size: .86rem; color: var(--g1); margin-top: 12px; line-height: 1.8; }
.cta-strip-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; min-width: 200px; }
.cta-contact-info { text-align: right; margin-top: 4px; }
.cta-contact-info span { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g2); display: block; margin-bottom: 3px; }
.cta-contact-info a { display: block; font-size: .76rem; color: var(--g1); transition: color .25s; }
.cta-contact-info a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 88px 24px 64px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .intro-section { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px; }
  .servicios-home { padding: 80px 24px; }
  .srv-header { grid-template-columns: 1fr; gap: 20px; padding: 0; margin-bottom: 44px; }
  .srv-grid-home { grid-template-columns: 1fr 1fr; }
  .porq-section { padding: 80px 24px; }
  .porq-inner { grid-template-columns: 1fr; gap: 48px; }
  .porq-badge { display: none; }
  .porq-accent-img { display: none; }
  .gallery-strip { padding: 80px 0; }
  .gallery-strip-header { padding: 0 24px 40px; flex-direction: column; gap: 14px; align-items: flex-start; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .m1,.m2,.m3,.m4,.m5,.m6,.m7,.m8 { grid-column: auto; grid-row: auto; height: 210px; }
  .testimonios { padding: 80px 24px; }
  .test-grid { grid-template-columns: 1fr; }
  .proceso-strip { padding: 80px 24px; }
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps-line { display: none; }
  .proceso-head-note { display: none; }
  .cta-strip { padding: 96px 24px; }
  .cta-strip-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-strip-actions { align-items: flex-start; }
  .cta-contact-info { text-align: left; }
}
@media (max-width: 600px) {
  .hero-content { padding: 80px 20px 56px; }
  .hero-h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-guarantees { flex-direction: column; gap: 12px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; width: 100%; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 16px; }
  .trust-item .count-num { font-size: 1.8rem; }
  .srv-grid-home { grid-template-columns: 1fr; }
  .srv-card { padding: 32px 24px; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 24px 0; border-bottom: 1px solid var(--border2); text-align: left; display: flex; align-items: flex-start; gap: 20px; }
  .step-circle { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
  .steps-line { display: none; }
  .proceso-head { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .proceso-head-note { display: block; text-align: left; max-width: 100%; }
  .masonry { grid-template-columns: 1fr 1fr; }
  .m1,.m2,.m3,.m4,.m5,.m6,.m7,.m8 { height: 160px; }
  .test-card { padding: 32px 24px; }
  .cta-strip { padding: 72px 20px; }
  .cta-strip-title { font-size: clamp(2rem, 8vw, 3rem); }
  .porq-main-img { height: 300px; }
}
