@font-face {
  font-family: Barlow Condensed;
  src: url(/preview/dintex-contruscciones/media/barlow-condensed.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Work Sans;
  src: url(/preview/dintex-contruscciones/media/work-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #0d0f13;
  --paper: #eef1f8;
  --white: #f8f9fb;
  --muted: #b9bdc6;
  --blue: #3676ff;
  --dark-blue: #1343ca;
  --royal: #10369f;
  --midnight: #101d43;
  --red: #ed191e;
  --button-red: #d30b15;
  --line: #353942;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); font: 1rem/1.55 var(--body); }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 2px solid #588bfa; outline-offset: 5px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 112px, 1376px); margin-inline: auto; }
.section-pad { padding-block: clamp(68px, 8.6vw, 132px); }
.skip {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  clip-path: inset(50%);
  padding: .8rem;
  background: var(--white);
  color: var(--night);
}
.skip:focus { clip-path: none; }

.header { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { position: relative; width: 34px; height: 34px; flex: none; }
.brand-mark::before, .brand-mark::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--blue);
  clip-path: polygon(0 51%, 50% 10%, 100% 51%, 100% 67%, 50% 27%, 0 67%);
}
.brand-mark::after { inset: 8px 6px 0; background: var(--red); }
.brand strong { display: block; font-size: 1.75rem; line-height: .92; font-weight: 700; letter-spacing: -.08em; }
.brand strong span { color: #ff625a; }
.brand small { display: block; margin-top: 6px; font-size: .52rem; line-height: 1; font-weight: 700; letter-spacing: .115em; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 52px); color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav a, .text-link { transition: color .2s ease; }
.nav a:hover, .text-link:hover { color: var(--blue); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #345cc1;
  padding: 9px 15px;
  font-size: .84rem;
  font-weight: 600;
}
.header-cta:hover { border-color: var(--blue); background: var(--midnight); }
.header-cta span { color: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #111a28;
}
.hero-grid {
  display: flex;
  align-items: center;
  min-height: clamp(470px, 36vw, 590px);
  position: relative;
}
.hero-content { padding-block: 55px; }
.hero-location { color: #d5e1ff; }
.hero-location span { background: var(--blue); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow span { width: 17px; height: 2px; background: currentColor; }
h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
h1 { margin-top: 19px; font-size: clamp(76px, 9.9vw, 154px); }
h1 span, h1 em { display: block; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-description { margin-top: 23px; color: #e4ecf7; max-width: 41ch; font-size: clamp(.98rem, 1.25vw, 1.13rem); }
.hero-actions { margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  min-height: 53px;
  padding: 12px 18px;
  background: var(--button-red);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .2s ease, transform .2s ease;
}
.button:hover { background: #b90d16; transform: translateY(-3px); }
.button:focus-visible { outline-offset: -5px; }
.button span { font-size: 1.15rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; }
.text-link span { font-size: 1.04rem; }

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.78);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a111df7 2%, #0a111ddc 28%, #0a111d50 69%, #0a111d20),
    linear-gradient(0deg, #0d0f13c7, transparent 70%);
  pointer-events: none;
}
.hero-down {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #c2dbff9e;
  border-radius: 50%;
  background: #0d0f13b8;
  font-size: 1.2rem;
  transition: background .2s ease;
}
.hero-down:hover { background: var(--dark-blue); }

.film { padding: 15px 0 20px; background: linear-gradient(110deg, #10245e, #101b3b 70%); border-top: 3px solid var(--blue); }
.film-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.film-heading h2 { margin: 0; font: 700 1.34rem/.95 var(--display); letter-spacing: .06em; }
.film-controls { display: flex; gap: 6px; }
.film-controls button {
  display: grid;
  width: 38px;
  height: 36px;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  background: var(--royal);
  border: 1px solid #527af0;
  transition: background .2s ease;
}
.film-controls button:hover { background: var(--dark-blue); }
.film-track {
  --edge: max(56px, calc((100% - 1376px) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 23vw, 370px);
  gap: 9px;
  margin: 0;
  padding: 0 var(--edge) 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: #537ff1 #14224a;
  list-style: none;
}
.film-track:focus-visible { outline-offset: -3px; }
.film-track li { min-width: 0; scroll-snap-align: start; }
.film-track a { display: block; position: relative; overflow: hidden; aspect-ratio: 1.9; background: #182336; }
.film-track a:focus-visible { outline-offset: -4px; }
.film-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; filter: saturate(.82); }
.film-track a:hover img, .film-track a:focus-visible img { transform: scale(1.08); filter: saturate(1.12); }
.film-track a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #080b12ed, transparent 55%); }
.film-track a span { position: absolute; z-index: 1; inset: auto 0 0; display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; font-size: .79rem; font-weight: 600; }
.film-track a b { color: #88aaff; }

.light { background: var(--paper); color: var(--night); color-scheme: light; }
.light .eyebrow, .light h2 em { color: var(--dark-blue); }
.light .text-link:hover { color: var(--dark-blue); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
h2 { font-size: clamp(59px, 6.2vw, 100px); margin-top: 14px; }
.section-heading > p { max-width: 30ch; color: var(--muted); padding-bottom: 3px; }
.light .section-heading > p { color: #465269; }

.service-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5.25vw, 76px);
  align-items: start;
}
.service-list { border-top: 1px solid #b3b7bd; }
.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid #b3b7bd;
  font: 700 clamp(1.6rem, 3vw, 2.65rem)/1 var(--display);
  transition: background .2s ease, color .2s ease, padding .2s ease;
}
.service-list b { font: 600 1.1rem/1 var(--body); }
.service-list a:not([aria-selected="true"]):hover { color: var(--dark-blue); background: #dce5fb; }
.service-list a[aria-selected="true"] { background: var(--dark-blue); color: white; padding-left: 17px; border-color: var(--dark-blue); }
.service-panel { background: #dce5fb; box-shadow: 10px 10px 0 #1749ba2e; }
.service-panel:not([hidden]) + .service-panel:not([hidden]) { margin-top: 12px; }
.service-panel img { aspect-ratio: 1.95; object-fit: cover; }
.service-panel p { padding: 17px 19px; max-width: 58ch; color: #26354c; font-size: .92rem; }

.process { background: linear-gradient(120deg, #0d2a83, #174acf); color: var(--white); color-scheme: dark; }
.process .eyebrow { color: #d5e1ff; }
.process .section-heading > p, .process-grid p { color: #dfebfc; }
.process .text-link:hover { color: #a9d0ff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-block: 1px solid #75a0d581;
  counter-reset: process;
}
.process-grid li { padding: 22px clamp(16px, 2.8vw, 40px) 26px; counter-increment: process; }
.process-grid li + li { border-left: 1px solid #75a0d581; }
.process-grid li::before {
  display: block;
  margin-bottom: 22px;
  color: #9eccff;
  content: counter(process, decimal-leading-zero);
  font: 700 2.4rem/1 var(--display);
}
.process-grid h3 { font: 700 clamp(1.8rem, 2.8vw, 2.5rem)/.98 var(--display); }
.process-grid p { max-width: 42ch; margin-top: 9px; font-size: .91rem; }

.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(395px, 40vw, 640px); }
.work-photo { position: relative; overflow: hidden; background: #24334b; }
.work-photo:first-child { grid-row: 1 / -1; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-photo:hover img { transform: scale(1.04); }
.work-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0b1225dc, transparent 45%); pointer-events: none; }
.work-photo span {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 19px;
  color: #fff;
  font-weight: 600;
}
.work-photo b { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #ffffff9e; }

.spaces { color: var(--night); color-scheme: light; background: #dce5fc; border-block: 3px solid var(--dark-blue); }
.spaces .eyebrow { color: var(--dark-blue); }
.spaces-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 31px; }
.spaces-grid article {
  padding: clamp(18px, 3vw, 38px);
  border-top: 3px solid var(--dark-blue);
  background: #f4f7fc;
  transition: transform .25s ease, box-shadow .25s ease;
}
.spaces-grid article:hover { transform: translateY(-5px); box-shadow: 0 9px 20px #17285024; }
.spaces-grid article:last-child { border-top-color: var(--button-red); }
.spaces-grid h3 { margin-bottom: 11px; color: var(--royal); font: 700 clamp(2rem, 3vw, 3rem)/.93 var(--display); }
.spaces-grid p { color: #394455; }

.about { background: linear-gradient(131deg, #121e41, #101113 72%); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr .65fr; align-items: center; gap: clamp(30px, 7vw, 120px); }
.about-copy > p:not(.eyebrow) { margin-top: 20px; max-width: 53ch; color: var(--muted); }
.about-copy p.about-signature { color: var(--white); font-weight: 600; }
.about-brand {
  width: min(100%, 400px);
  justify-self: end;
  padding: 5px;
  background: linear-gradient(138deg, #2362fa, #1c326b 43%, #1c326b 60%, #d8171d);
}

.partners-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6.1vw, 90px); align-items: center; }
.partners figure { position: relative; }
.partners figure::before { content: ""; position: absolute; inset: 12px 12px -12px -12px; border: 2px solid var(--dark-blue); pointer-events: none; }
.partners figure img { aspect-ratio: 1.36; object-fit: cover; position: relative; }
.partners h2 { font-size: clamp(48px, 5.5vw, 88px); }
.partners div > p:not(.eyebrow) { margin-top: 16px; max-width: 52ch; color: #394455; }
.partners .text-link { margin-top: 22px; color: var(--dark-blue); }

.maintenance {
  overflow: hidden;
  background: linear-gradient(117deg, #851319 0%, #a40e19 53%, #80151b 53%, #691319 100%);
}
.maintenance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 90px); align-items: start; }
.maintenance .eyebrow { color: #ffdade; }
.maintenance h2 { font-size: clamp(55px, 5.8vw, 93px); }
.maintenance ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff65; }
.maintenance li { display: grid; gap: 6px; padding: 13px 0; border-bottom: 1px solid #ffffff65; }
.maintenance strong { font: 700 clamp(1.5rem, 2.2vw, 2.05rem)/1 var(--display); }
.maintenance li span { color: #ffe9ed; font-size: .91rem; }

.faq { border-top: 1px solid #bec5ce; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 85px); align-items: start; }
.faq-list { border-top: 1px solid #a9b5c5; }
.faq-list details { border-bottom: 1px solid #a9b5c5; }
.faq-list details[open] { border-bottom-color: var(--blue); }
.faq-list details[open] summary { color: var(--royal); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font: 700 clamp(1.45rem, 2.8vw, 2.13rem)/1.05 var(--display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--dark-blue); font: 600 1.2rem/1 var(--body); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--dark-blue); }
.faq-list p { max-width: 57ch; padding: 0 26px 15px 0; color: #394455; }

.contact {
  background: linear-gradient(#adc5ff19 1px, transparent 1px), linear-gradient(90deg, #adc5ff19 1px, transparent 1px), linear-gradient(122deg, #101f60, #14368f 70%, #1545b9);
  border-top: 3px solid var(--blue);
  background-size: 42px 42px, 42px 42px, auto;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: hero-photo-in 1.4s cubic-bezier(.18,.66,.26,1) both; }
  .hero-content > * { animation: rise-in .72s cubic-bezier(.18,.66,.26,1) both; }
  .hero-content h1 { animation-delay: .11s; }
  .hero-description { animation-delay: .2s; }
  .hero-actions { animation-delay: .29s; }
  .service-panel:not([hidden]) { animation: rise-in .36s ease-out both; }
  .reveal-in { animation: rise-in .7s cubic-bezier(.18,.66,.26,1) both; }
  .faq-list details[open] p { animation: rise-in .25s ease-out both; }
}
@keyframes hero-photo-in { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise-in { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.contact-grid { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(32px, 7vw, 122px); align-items: end; }
.contact .button { margin-top: 26px; }
.contact-details { font-style: normal; border-top: 1px solid #65799f; }
.contact-details a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid #65799f; }
.contact-details small { display: block; color: #c4d4f8; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-details strong { display: block; font-size: clamp(1rem, 2vw, 1.3rem); overflow-wrap: anywhere; }
.contact-details a:hover strong, .contact-details b { color: #b6ceff; }
.footer { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--muted); font-size: .83rem; }
.footer-nav a:hover { color: var(--blue); }

.gallery-dialog {
  width: min(950px, calc(100vw - 24px));
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  border: 1px solid #5c749e;
  background: var(--night);
  color: white;
}
.gallery-dialog::backdrop { background: #080c15eb; }
.gallery-inner { position: relative; }
.gallery-inner > img { height: min(69vh, 650px); object-fit: contain; background: #080c15; }
.dialog-close, .gallery-controls button { cursor: pointer; background: var(--night); color: white; border: 1px solid #8496b5; min-width: 44px; min-height: 44px; }
.dialog-close { position: absolute; top: 12px; right: 12px; font-size: 1.45rem; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; text-align: center; font-size: .92rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 68px); }
  .film-track { --edge: 34px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 38px); }
  .header { min-height: 0; padding-block: 14px 11px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .nav { grid-row: 2; grid-column: 1 / -1; gap: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav a { padding-block: 4px; }
  .hero-grid { min-height: 420px; align-items: end; }
  .hero-content { padding-block: 37px 53px; }
  h1 { margin-top: 16px; font-size: clamp(53px, 13vw, 95px); }
  .hero-description { margin-top: 17px; }
  .hero-actions { margin-top: 20px; }
  .hero-photo img { object-position: 55% center; }
  .hero-photo::after { background: linear-gradient(0deg, #0a111df7 5%, #0a111dd6 42%, #0a111d26 100%); }
  .hero-down { width: 40px; height: 40px; bottom: 14px; }
  .film-track { --edge: 19px; grid-auto-columns: clamp(190px, 59vw, 276px); }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading > p { margin-top: 15px; }
  h2 { font-size: clamp(51px, 10.5vw, 78px); }
  .service-switch, .about-grid, .partners-grid, .maintenance-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-switch { gap: 17px; }
  .service-list a { min-height: 50px; padding-block: 9px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { padding: 17px 0; }
  .process-grid li + li { border-left: 0; border-top: 1px solid #75a0d581; }
  .process-grid li::before { margin-bottom: 9px; }
  .work-grid { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 8px; }
  .work-photo { width: 100%; min-height: 155px; aspect-ratio: 1.25; }
  .work-photo:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.52; }
  .work-photo span { padding: 8px; font-size: .76rem; gap: 4px; }
  .work-photo b { width: 25px; height: 25px; flex: none; }
  .spaces-grid { grid-template-columns: 1fr; }
  .about-brand { justify-self: start; width: min(100%, 350px); }
  .partners figure { grid-row: 2; }
  .partners figure::before { inset: 7px 7px -7px -7px; }
  .footer { min-height: 90px; padding-block: 18px; display: grid; grid-template-columns: 1fr auto; }
  .footer > .text-link { grid-column: 2; grid-row: 1; }
  .footer-nav { grid-column: 1 / -1; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 28px); }
  .button { gap: 9px; padding-inline: 10px; font-size: .8rem; }
  .film-track { --edge: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
