@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  --petroleo: var(--jonathan-petroleo);
  --gris-azulado: var(--jonathan-gris-azulado);
  --arena: var(--jonathan-arena);
  --crema: var(--jonathan-crema);
  --carbon: var(--jonathan-carbon);
  --ocre: var(--arena);
  --surface: color-mix(in srgb, var(--arena) 18%, var(--crema));
  --media: color-mix(in srgb, var(--arena) 34%, var(--crema));
  --line: color-mix(in srgb, var(--arena) 58%, var(--crema));
  --muted: #575650;
  --font-body: "Manrope", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --container: 1188px;
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --section-space: clamp(1.75rem, 3vw, 2.75rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 5px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--space-sm); }
body { margin: 0; color: var(--carbon); background: var(--crema); font: 1rem/1.45 var(--font-body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 4px; }
.rental :focus-visible, .site-footer :focus-visible { outline-color: var(--ocre); }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--petroleo); font-weight: 600; font-family: var(--font-display); }
h1 { font-weight: 700; font-size: clamp(2.5rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: 0; }
h2 { font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.18; letter-spacing: 0; max-width: 36rem; }
h3 { font-size: 1rem; line-height: 1.25; letter-spacing: 0; }
.eyebrow { color: var(--petroleo); font-size: .6875rem; font-weight: 600; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .55rem; }
.skip-link { position: fixed; top: var(--space-sm); left: var(--space-sm); z-index: 10; padding: .8rem 1rem; background: var(--petroleo); color: var(--crema); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-block: .875rem; }
.brand { display: flex; align-items: center; min-height: 44px; width: 165px; flex-shrink: 0; }
.brand-logo { width: 100%; height: auto; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--petroleo); border-radius: var(--radius); color: var(--petroleo); background: transparent; font-size: .875rem; font-weight: 600; cursor: pointer; }
.menu-toggle span { font-size: 1.25rem; line-height: 1; }
#main-nav { width: 100%; }
.nav-list { list-style: none; margin: 0; padding: .5rem 0 0; }
.nav-list a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9375rem; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; }
.nav-contact a { font-weight: 400; }
.header-inner > .header-cta { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: .75rem 1.2rem; border: 1px solid var(--petroleo); border-radius: var(--radius); background: var(--petroleo); color: var(--crema); font-size: .875rem; font-weight: 600; line-height: 1.3; text-decoration: none; text-align: center; }
.button-secondary { background: transparent; color: var(--petroleo); }
.button-light { background: var(--crema); color: var(--petroleo); border-color: var(--crema); }
.button:hover:not(:disabled) { text-decoration: underline; }
.button:disabled { cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.status { margin-top: .65rem; color: var(--muted); font-size: .75rem; }
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: var(--space-md); }
.hero-message { padding-top: var(--space-lg); }
.hero .eyebrow { margin-bottom: var(--space-sm); }
.hero-copy { margin-block: var(--space-sm); max-width: 30rem; font-size: 1.0625rem; color: var(--muted); }
.desktop-break { display: none; }
.hero-visual { position: relative; min-width: 0; padding-bottom: var(--space-md); }
.media-placeholder { display: grid; place-items: center; width: 100%; min-width: 0; padding: var(--space-sm); background: var(--media); color: var(--petroleo); text-align: center; border-radius: var(--radius); }
.media-placeholder > span { font-size: .8125rem; line-height: 1.5; }
.media-placeholder small { font-size: .6875rem; color: var(--muted); }
.hero-media { width: 100%; height: 260px; object-fit: cover; object-position: 76% center; border-radius: var(--radius); }

.hero-note { position: absolute; right: var(--space-sm); bottom: 2.5rem; padding: .85rem 1rem; background: var(--crema); border: 1px solid var(--line); border-radius: var(--radius); font-size: .75rem; }
.check-list { list-style: none; margin: 0; }
.check-list li { display: flex; align-items: baseline; gap: .65rem; }
.check-list li + li { margin-top: .5rem; }
.check-list li::before { content: "✓"; flex-shrink: 0; color: var(--ocre); font-size: 1rem; }
.section-intro { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: var(--space-sm); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .8125rem; font-weight: 600; color: var(--petroleo); text-decoration: none; flex-shrink: 0; }
.text-link:hover { text-decoration: underline; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.button { gap: .75rem; }
.work-preview { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.work-card { min-width: 0; }
.work-photo-link { display: block; border-radius: var(--radius); overflow: hidden; }
.work-image { width: 100%; aspect-ratio: 2.05; height: auto; object-fit: cover; }
.work-copy a { text-decoration: none; }
.work-copy a:hover { text-decoration: underline; }
.project-image-link { display: block; }
.project-image-link img { width: 100%; height: auto; }
.portfolio-cases { padding-top: 0; }
.project { scroll-margin-top: 1rem; }
.work-copy { padding: .55rem 1rem; border-inline: 1px solid var(--line); }
.work-copy h3 { font-size: 1.2rem; }
.work-copy p { margin-top: .2rem; font-size: .75rem; color: var(--muted); }
.section-intro p:not(.eyebrow) { margin-top: .45rem; color: var(--muted); }
.service-grid { display: grid; gap: var(--space-sm); }
.service-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-featured { border-bottom: 2px solid var(--ocre); }
.service-media { position: relative; }
.service-media > img, .service-media > .media-placeholder { width: 100%; height: 150px; object-fit: cover; border-radius: 0; }
.service-featured .media-placeholder { padding-top: 2rem; }
.service-card:nth-child(3n + 2) .media-placeholder { background: color-mix(in srgb, var(--gris-azulado) 22%, var(--crema)); }
.service-card:nth-child(3n) .media-placeholder { background: var(--surface); }
.service-tag { position: absolute; top: .5rem; left: .5rem; padding: .2rem .45rem; background: var(--ocre); color: var(--petroleo); border-radius: 20px; font-size: .625rem; font-weight: 600; }
.service-copy { padding: var(--space-sm); }
.service-copy p { margin-top: .55rem; font-size: .875rem; color: var(--muted); }
.rental { background: var(--petroleo); color: var(--crema); }
.rental-grid { display: grid; gap: var(--space-md); }
.rental h2, .rental .eyebrow { color: var(--crema); }
.rental-copy > p:not(.eyebrow) { margin-top: .65rem; }
.rental-copy .button { margin-top: var(--space-sm); }
.rental-visual { min-width: 0; }
.rental-visual > .media-placeholder, .rental-visual > img { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; }
.interventions { padding: 0; font-size: .875rem; align-self: center; }
.interventions li + li { margin-top: .8rem; }
.interventions li::before { color: var(--crema); }
.process, .about { border-bottom: 1px solid var(--line); }
.steps { display: grid; list-style: none; padding: 0; margin: var(--space-md) 0 0; gap: var(--space-md); }
.steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: .85rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: 17px; bottom: -18px; width: 1px; background: var(--line); }
.step-number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--petroleo); color: var(--crema); font-size: .75rem; }
.steps h3 { padding-top: .15rem; font-size: .9375rem; }
.steps p { margin-top: .45rem; font-size: .875rem; color: var(--muted); }
.about-grid { display: grid; gap: var(--space-md); }
.about-visual > .media-placeholder, .about-visual > img { width: 100%; aspect-ratio: 8 / 5; border-radius: var(--radius); object-fit: cover; }
.about-copy p:not(.eyebrow) { margin-top: .65rem; color: var(--muted); }
.about-facts { padding: var(--space-md); background: var(--surface); border-radius: var(--radius); font-size: .8125rem; color: var(--petroleo); align-self: center; }
.about-facts li::before { color: var(--petroleo); }
.icon-list li { align-items: center; gap: 1rem; }
.icon-list li::before { content: none; }
.icon-list .icon { width: 21px; height: 21px; }
.about-facts li + li { margin-top: .75rem; }
.contact-grid { display: grid; gap: var(--space-md); }
.contact-grid h2 + p { margin-top: .5rem; color: var(--muted); }
.site-footer { padding-block: var(--space-lg); background: var(--petroleo); color: var(--crema); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.footer-inner .brand-logo { width: 210px; }
.footer-copy { font-size: .8125rem; }
.footer-copy nav { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: .3rem; }
.footer-copy a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }
.footer-legal { padding-top: var(--space-sm); }
.portfolio-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.portfolio-page main { flex: 1; }
.portfolio-intro { display: grid; gap: 1.25rem; align-items: center; padding-block: clamp(2rem, 4vw, 3rem) 1rem; }
.portfolio-intro h1 { max-width: 45rem; }
.portfolio-description { max-width: 100%; margin-block: 1rem 0; color: var(--muted); font-size: 1.125rem; }
.portfolio-grid { display: grid; gap: var(--space-lg); margin: var(--space-md) auto 0; width: 100%; max-width: 1000px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-photos { display: grid; gap: .5rem; }
.project-photos figure { position: relative; }
.project-photos img { width: 100%; height: auto; }
.project-photos figcaption { position: absolute; bottom: .5rem; left: .5rem; padding: .25rem .65rem; background: var(--crema); color: var(--petroleo); border-radius: var(--radius); font-size: .75rem; }
.project-copy { padding: .75rem 1rem; }
.project-copy h3 + p, .project-location { margin-top: .5rem; }
.project-location { font-size: .8125rem; color: var(--muted); }
@media (min-width: 360px) {
  .service-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-media > img, .service-media > .media-placeholder { height: auto; aspect-ratio: 1.9; }
  .service-copy { padding: 1rem .8rem; }
  .service-copy h3 { font-size: 1.4rem; }
}
@media (min-width: 700px) {
  .hero-message { max-width: 40rem; }
  .hero-media { height: 310px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
  .service-media > img, .service-media > .media-placeholder { height: 148px; aspect-ratio: auto; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rental-grid { grid-template-columns: 1.2fr 1fr; }
  .rental-copy { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; }
  .about-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
  .about-facts li + li { margin: 0; }
  .project-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-copy { text-align: right; }
  .footer-copy nav { justify-content: flex-end; }
}
@media (min-width: 1000px) {
  .header-inner { flex-wrap: nowrap; gap: var(--space-md); padding-block: .75rem; }
  .brand { width: 185px; }
  #main-nav { width: auto; margin-left: auto; }
  .nav-list { display: flex; gap: 1.5rem; padding: 0; }
  .nav-list a { border: 0; font-size: .8125rem; }
  .nav-contact a { font-weight: 400; }
  .header-inner > .header-cta { display: inline-flex; font-size: .8125rem; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 0; min-height: 370px; }
  .hero-message { padding-block: .75rem; align-self: center; position: relative; z-index: 1; }
  .hero-copy { margin-block: .85rem; font-size: 1.125rem; }
  .desktop-break { display: initial; }
  .hero-visual { display: flex; padding: 0; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 - 8px)); }
  .hero-media { height: 100%; min-height: 370px; border-radius: 0; position: absolute; inset: 0; object-position: 82% center; }
  .hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--crema), transparent 16%); }
  .hero .actions .button:first-child { min-width: 256px; }
  .hero .actions .button-secondary { min-width: 145px; }
  .hero-note li + li { margin-top: .2rem; }
  .hero-note { z-index: 1; right: 2.5rem; bottom: 1.25rem; font-size: .8125rem; }
  .service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .875rem; }
  .service-media > img, .service-media > .media-placeholder { height: 142px; }
  .service-copy { padding: 1rem; min-height: 124px; }
  .service-copy p { font-size: .8125rem; line-height: 1.4; }
  .rental-grid { grid-template-columns: 1.9fr 1fr .9fr; gap: 2.5rem; align-items: center; }
  .rental-copy { grid-column: auto; }
  .rental-copy h2 { font-size: clamp(1.65rem, 2.15vw, 2rem); }
  .rental-copy > p:not(.eyebrow) { font-size: .9375rem; }
  .interventions { font-size: .8125rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
  .steps li { grid-template-columns: 36px 1fr; }
  .steps li:not(:last-child)::after { content: "→"; top: .4rem; right: -1.4rem; left: auto; bottom: auto; width: auto; color: var(--petroleo); background: none; font-size: 1.125rem; }
  .steps h3 { font-size: .875rem; }
  .steps p { font-size: .8125rem; }
  .about-grid { grid-template-columns: 1.05fr 1.8fr .9fr; gap: 2.5rem; }
  .about-facts { display: block; grid-column: auto; padding: 1.15rem; }
  .about-facts li + li { margin-top: .75rem; }
  .about-copy p:not(.eyebrow) { font-size: .9375rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-lg); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-weight: 700; font-size: clamp(2.6rem, 3.4vw, 3rem); line-height: 1.1; max-width: 34rem; }
  .section { padding-block: 1.6rem; }
  .services { padding-block: 1.25rem; }
  .service-grid { margin-inline: -1.75rem; }
  .service-copy h3 { font-size: 1.2rem; }
  .service-tag { font-size: .625rem; }
  .section-intro { margin-bottom: 1rem; }
  .section-intro p:not(.eyebrow) { font-size: 1.0625rem; }
  .work-preview { padding-block: 1rem .75rem; }
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .rental { padding-block: 1.6rem; }
  .rental-visual > img { aspect-ratio: 5 / 3; object-position: 48% center; }
  .rental-copy h2 { font-size: 2.125rem; }
  .rental-copy > p:not(.eyebrow) { margin-top: .5rem; font-size: 1rem; line-height: 1.3; }
  .rental-copy .button { margin-top: .65rem; }
  .interventions { font-size: .875rem; }
  .interventions li + li { margin-top: 1.15rem; }
  .process { padding-block: 1rem 1.25rem; }
  .steps { margin-top: .75rem; gap: 3rem; }
  .steps li { grid-template-columns: 40px 1fr; gap: 1.1rem; }
  .step-number { width: 40px; height: 40px; }
  .steps h3 { font-size: 1.15rem; }
  .steps p { font-size: .875rem; line-height: 1.35; }
  .about { padding-block: 1.1rem; }
  .about-visual > .media-placeholder, .about-visual > img { aspect-ratio: 1.8; }
  .about-copy h2 { font-size: 2rem; }
  .about-copy p:not(.eyebrow) { font-size: 1rem; line-height: 1.35; }
  .about-facts { padding: 1.65rem 1.2rem; font-size: .875rem; }
  .contact { padding-block: 1rem; }
  .contact .actions .button { padding-inline: 1.75rem; }
  .site-footer { min-height: 132px; padding-block: 1.6rem; }
  .footer-inner .brand-logo { width: 220px; }
} 
@media (max-width: 699px) {
  .section-intro { display: block; }
  .hero .actions, .contact .actions { flex-direction: column; }
  .hero .actions .button, .contact .actions .button { width: 100%; min-height: 48px; }
      .work-copy { padding: .6rem .4rem; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav-list { gap: .85rem; }
  .header-inner { gap: 1rem; }
  .brand { width: 160px; }
  .service-copy { padding: 1rem .8rem; }
  .rental-grid { gap: 1.5rem; }
  .rental-copy h2 { font-size: 1.8rem; }
}
/* Sin animaciones. El desplazamiento suave solo se activa cuando se permite. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Logo aprobado: compensar solamente el margen transparente del PNG. */
.brand .brand-logo { width: 149%; max-width: none; flex-shrink: 0; margin-inline: -24.5%; margin-block: -14%; }
.footer-inner > .brand-logo { width: 328px; max-width: none; margin: -30px -54px; filter: brightness(0) invert(1); }

/* Composición sin fotografía; la variante con imagen conserva sus estilos. */
.about-grid--text-only { grid-template-columns: minmax(0, 1fr); }
.about-grid--text-only .about-copy { max-width: 44rem; }
@media (min-width: 1000px) {
  .about-grid--text-only { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
}

/* Cierre tipográfico y footer compartido. */
strong, b { font-weight: 600; }
/* Footer global: marca, contacto y enlaces. */
.site-footer { padding-block: 1.75rem; min-height: 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; font-size: .8125rem; }
.footer-inner > * { min-width: 0; }
.footer-brand { display: flex; width: 220px; height: 52px; align-items: center; }
.footer-brand .brand-logo { width: 328px; max-width: none; margin: 0 -54px; filter: brightness(0) invert(1); }
.footer-identity p { margin-top: .75rem; }
.footer-contact { text-align: left; }
.footer-contact-title { margin: 0 0 .5rem; font-weight: 600; }
.footer-contact dl, .footer-contact dd { margin: 0; }
.footer-contact dl > div + div { margin-top: .5rem; }
.footer-contact dt { font-weight: 600; }
.footer-contact a, .footer-links a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 32px; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact dt a { min-height: 24px; }
.footer-contact a:hover, .footer-links a:hover { text-decoration: underline; }
.footer-links { display: grid; align-content: start; gap: .125rem; }
.footer-links-title { margin: 0 0 .375rem; font-weight: 600; }
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .footer-brand { width: 190px; }
  .footer-brand .brand-logo { width: 283px; margin-inline: -46.5px; }
}
@media (min-width: 1000px) {
  .footer-brand { width: 220px; }
  .footer-brand .brand-logo { width: 328px; margin-inline: -54px; }
}

/* Introducción de Trabajos: composición vertical centrada. */
.portfolio-intro { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.portfolio-intro-copy { width: 100%; min-width: 0; }
.portfolio-intro h1 { max-width: none; }
.portfolio-intro .portfolio-description { max-width: 860px; margin: 1rem auto 0; }
.portfolio-intro > .actions { justify-content: center; flex-direction: row; gap: .75rem; }
@media (max-width: 699px) {
  .portfolio-intro > .actions { flex-direction: column; width: min(100%, 320px); }
}