.confined-modern { background: var(--hm-black); }
.confined-hero {
  min-height: 460px;
  position: relative;
  background: linear-gradient(90deg, rgba(11, 13, 14, .98) 0%, rgba(17, 19, 21, .86) 43%, rgba(17, 19, 21, .18) 100%), url("../images/desmonte/71c74d9b-315c-434a-8640-3b90235a5132.jpg") center center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(67,176,42,.4);
}
.confined-hero-grid { display: grid; grid-template-columns: minmax(0, 690px) 1fr; }
.confined-hero-copy { padding: 10px 0 12px; }
.confined-hero-copy > span { display: inline-flex; align-items: center; gap: 14px; color: var(--hm-green); font-family: var(--hm-font-title); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.confined-hero-copy > span:before { content: ""; width: 48px; height: 3px; background: var(--hm-green); }
.confined-hero h1 { margin-top: 16px; color: #fff; font-family: var(--hm-font-title); font-size: clamp(45px, 5.7vw, 79px); font-weight: 700; line-height: .92; text-transform: uppercase; }
.confined-title-line { display: block; white-space: nowrap; }
.confined-hero h1 strong { display: block; color: var(--hm-yellow); font-weight: 700; }
.confined-hero h2 { max-width: 620px; margin-top: 18px; color: #fff; font-family: var(--hm-font-body); font-size: 18px; font-weight: 700; line-height: 1.35; }
.confined-hero p { max-width: 620px; margin-top: 14px; color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.65; }
.confined-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.confined-icons article { display: grid; gap: 8px; }
.confined-icons i { color: var(--hm-green); font-size: 32px; }
.confined-icons b { color: #fff; font-family: var(--hm-font-title); font-size: 15px; line-height: 1; text-transform: uppercase; }
.confined-icons small { color: rgba(255,255,255,.72); font-size: 12px; text-transform: uppercase; }
.confined-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.confined-related { background: var(--hm-black); padding: 18px 0; border-bottom: 1px solid rgba(67,176,42,.24); }
.confined-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.confined-related-grid a { min-height: 58px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); background: #101516; color: #fff; font-family: var(--hm-font-title); font-size: 15px; font-weight: 700; text-transform: uppercase; }
.confined-related-grid a:hover, .confined-related-grid a:focus, .confined-related-grid a.is-active { border-color: rgba(67,176,42,.78); background: rgba(67,176,42,.14); color: #fff; }
.confined-related-grid i { color: var(--hm-green); font-size: 22px; }
.confined-section, .confined-gallery { padding: 54px 0; background: var(--hm-dark); color: #fff; }
.confined-title { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-bottom: 34px; text-align: center; }
.confined-title span { height: 2px; background: linear-gradient(90deg, transparent, var(--hm-green)); }
.confined-title span:last-child { background: linear-gradient(90deg, var(--hm-green), transparent); }
.confined-title h2 { color: #fff; font-family: var(--hm-font-title); font-size: 32px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.confined-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.confined-app-grid article { min-height: 456px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #101415; box-shadow: 0 18px 38px rgba(0,0,0,.28); }
.confined-app-grid img { width: 100%; height: 158px; display: block; object-fit: cover; opacity: .82; }
.confined-app-grid i { position: absolute; top: 0; left: 0; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: var(--hm-green); color: #fff; font-size: 28px; }
.confined-app-grid h3 { padding: 24px 20px 0; color: #fff; font-family: var(--hm-font-title); font-size: 20px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.confined-app-grid p { padding: 0 20px; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }
.confined-app-grid ul, .confined-checks, .confined-pins, .confined-cta ul { margin: 16px 0 0; padding: 0; list-style: none; }
.confined-app-grid li { margin-top: 8px; padding: 0 20px 0 36px; color: rgba(255,255,255,.82); font-size: 13px; position: relative; }
.confined-app-grid li:before { content: "\f058"; position: absolute; left: 20px; top: 0; font-family: FontAwesome; color: var(--hm-green); }
.confined-dark { background: var(--hm-black); border-top: 1px solid rgba(67,176,42,.22); border-bottom: 1px solid rgba(67,176,42,.22); }
.confined-diff-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.confined-diff-grid article { min-height: 198px; padding: 12px 20px; text-align: center; border-right: 1px solid rgba(67,176,42,.48); }
.confined-diff-grid article:last-child { border-right: 0; }
.confined-diff-grid i { color: var(--hm-green); font-size: 48px; }
.confined-diff-grid h3 { margin-top: 20px; color: #fff; font-family: var(--hm-font-title); font-size: 17px; font-weight: 700; line-height: 1.18; text-transform: uppercase; }
.confined-diff-grid p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.confined-split { padding: 48px 0; background: linear-gradient(rgba(8, 10, 11, .95), rgba(8, 10, 11, .96)), url("../images/footer.jpg") center center / cover no-repeat; color: #fff; }
.confined-split-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px; }
.confined-split h2 { color: #fff; font-family: var(--hm-font-title); font-size: 28px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.confined-checks, .confined-pins { columns: 2; column-gap: 34px; }
.confined-checks li, .confined-pins li { break-inside: avoid; margin-top: 14px; color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.45; }
.confined-checks li:before { content: "\f058"; font-family: FontAwesome; color: var(--hm-green); margin-right: 9px; }
.confined-pins li:before { content: "\f041"; font-family: FontAwesome; color: var(--hm-green); margin-right: 10px; }
.confined-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.confined-process-grid article { min-height: 218px; padding: 28px 24px; position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: linear-gradient(135deg, #111618, #090b0c); }
.confined-process-grid strong { color: var(--hm-green); font-family: var(--hm-font-title); font-size: 44px; font-weight: 700; line-height: 1; }
.confined-process-grid i { position: absolute; top: 26px; right: 24px; color: rgba(255,255,255,.86); font-size: 42px; }
.confined-process-grid h3 { margin-top: 26px; color: #fff; font-family: var(--hm-font-title); font-size: 18px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.confined-process-grid p { margin-top: 12px; color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.55; }
.confined-gallery { padding-top: 20px; }
.confined-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.confined-gallery-grid img { width: 100%; height: 178px; display: block; object-fit: cover; filter: saturate(.82) contrast(1.08); }
.confined-cta { padding: 70px 0; background: linear-gradient(90deg, rgba(5, 7, 8, .98), rgba(5, 7, 8, .92)), url("../images/desmontederocha.jpg") center center / cover no-repeat; color: #fff; border-top: 1px solid rgba(67,176,42,.42); }
.confined-cta-grid { display: grid; grid-template-columns: .95fr .6fr 1fr; gap: 42px; align-items: center; }
.confined-cta h2 { color: #fff; font-family: var(--hm-font-title); font-size: 37px; font-weight: 700; line-height: 1.12; text-transform: uppercase; }
.confined-cta h2 strong { display: block; color: var(--hm-yellow); }
.confined-cta p { max-width: 560px; margin-top: 20px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; }
.confined-cta li { margin-top: 16px; color: #fff; font-family: var(--hm-font-title); font-size: 16px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.confined-cta li i { width: 32px; color: var(--hm-green); font-size: 24px; }
.confined-form { padding: 28px; border: 1px solid rgba(67,176,42,.55); background: rgba(0,0,0,.2); }
.confined-form h3 { color: #fff; font-family: var(--hm-font-title); font-size: 24px; font-weight: 700; text-transform: uppercase; }
.confined-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.confined-form input, .confined-form textarea { width: 100%; min-height: 43px; padding: 0 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: rgba(255,255,255,.07); color: #fff; font-size: 13px; }
.confined-form textarea { min-height: 98px; margin-top: 12px; padding: 13px; resize: vertical; }
.confined-form input::placeholder, .confined-form textarea::placeholder { color: rgba(255,255,255,.62); }
.confined-form .hm-btn { width: 100%; margin-top: 12px; }

@media (max-width: 1120px) {
  .confined-app-grid, .confined-process-grid, .confined-related-grid { grid-template-columns: repeat(2, 1fr); }
  .confined-diff-grid { grid-template-columns: repeat(3, 1fr); }
  .confined-diff-grid article:nth-child(3) { border-right: 0; }
  .confined-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .confined-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .confined-hero { min-height: 580px; background-position: 62% center; }
  .confined-hero-grid, .confined-icons, .confined-related-grid, .confined-app-grid, .confined-diff-grid, .confined-split-grid, .confined-process-grid, .confined-gallery-grid, .confined-form-grid { grid-template-columns: 1fr; }
  .confined-title { grid-template-columns: 1fr; gap: 14px; }
  .confined-title span { display: none; }
  .confined-hero h1 { font-size: 50px; }
  .confined-title-line { white-space: normal; }
  .confined-hero h2 { font-size: 18px; }
  .confined-actions .hm-btn { width: 100%; }
  .confined-checks, .confined-pins { columns: 1; }
  .confined-diff-grid article, .confined-diff-grid article:nth-child(3) { border-right: 0; border-bottom: 1px solid rgba(67,176,42,.35); }
  .confined-diff-grid article:last-child { border-bottom: 0; }
  .confined-cta h2 { font-size: 31px; }
}
