:root {
  color-scheme: dark;
  --bg: #090d11;
  --panel: #111923;
  --white: #f2f7fb;
  --muted: #bbc8d2;
  --line: #2d4050;
  --blue: #8ca6ff;
  --dark-blue: #172449;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font: 16px/1.55 system-ui,sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
h2 { font-size: clamp(30px,5vw,48px); line-height: 1.08; letter-spacing: -.045em; }
h3 { font-size: 20px; line-height: 1.2; }
.wrap { width: min(1160px,calc(100% - 48px)); margin-inline: auto; }
.header { background: #050709; border-bottom: 1px solid var(--line); }
.nav,.nav-links,.actions,.section-head { display: flex; align-items: center; gap: 20px; }
.nav,.section-head { justify-content: space-between; }
.nav { min-height: 82px; }
.logo { width: 123px; height: auto; }
.nav-links { gap: clamp(18px,4vw,46px); color: var(--muted); font-weight: 650; }
.nav-links a:hover,.footer a:hover { color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; background: #294cc4; color: #fff; padding: 13px 19px; min-height: 49px; border: 1px solid #294cc4; border-radius: 7px; font-weight: 800; }
.btn:hover { background: #355bd4; border-color: #355bd4; }
.outline { background: #0b131bbd; color: var(--white); border-color: #7490a4; }
.outline:hover { background: #1a3243; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #080d12; }
.hero-photo { position: absolute; right: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#080d12 0%,#080d12 32%,#080d12a0 56%,transparent 90%), linear-gradient(0deg,#080d12a0,transparent 55%); }
.hero-content { display: flex; flex-direction: column; justify-content: center; min-height: 540px; padding-block: 70px; }
.eyebrow { color: #a7bbff; text-transform: uppercase; letter-spacing: .13em; font-size: 13px; font-weight: 800; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin-right: 8px; background: var(--blue); vertical-align: middle; }
h1 { margin: 15px 0 19px; font-size: clamp(49px,8vw,105px); line-height: .93; letter-spacing: -.078em; }
h1 em { color: var(--blue); }
.lead { max-width: 40ch; margin-bottom: 25px; color: #d9e5ed; font-size: 18px; }
.actions { flex-wrap: wrap; }
.info { border-block: 1px solid var(--line); background: #0d1b27; }
.info-grid,.services,.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.info-grid > a { display: grid; padding: 18px 22px; }
.info-grid > a:first-child { padding-left: 0; }
.info-grid > a + a { border-left: 1px solid var(--line); }
.info-grid strong { color: #f0f8ff; }
.info-grid span,.services p,.gallery p,.visit p { color: var(--muted); }
.section { padding-block: clamp(54px,8vw,96px); }
.services,.gallery { gap: 15px; margin-top: 25px; }
.services article,.gallery article { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; overflow: hidden; }
.services article { padding: 23px; }
.services article::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; background: var(--blue); }
.services p,.gallery p { margin-top: 8px; }
.work { border-block: 1px solid var(--line); background: #0c141c; }
.text-link { color: #a7bbff; font-weight: 750; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #050709; }
.gallery a { display: block; }
.gallery a:hover img { opacity: .85; }
.gallery article > div { padding: 18px; }
.visit { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: clamp(23px,5vw,48px); background: linear-gradient(115deg,var(--dark-blue),var(--panel)); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px; }
.visit address { font-style: normal; margin-top: 13px; font-weight: 750; }
.visit p { margin-top: 6px; }
.footer { border-top: 1px solid var(--line); padding-block: 18px; background: #050709; color: var(--muted); }
@media (max-width: 850px) {
  .hero-content { min-height: 485px; }
  .visit { align-items: flex-start; flex-direction: column; }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .nav { flex-wrap: wrap; gap: 0 14px; padding-block: 10px; min-height: 0; }
  .nav-links { order: 1; width: 100%; justify-content: space-between; gap: 10px; padding-block: 12px 4px; }
  .hero { display: flex; flex-direction: column; }
  .hero-content { min-height: auto; padding-block: 36px 30px; }
  .hero-photo { position: relative; order: 1; width: 100%; height: auto; aspect-ratio: auto; z-index: 0; }
  .hero::after { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid > a,.info-grid > a:first-child { padding: 10px 0; }
  .info-grid > a + a { border-left: 0; border-top: 1px solid var(--line); }
  .services,.gallery { grid-template-columns: 1fr; }
  .section-head { flex-wrap: wrap; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Workshop photography and the brand's blue on a darker neutral canvas. */
:root { --bg:#080b10; --panel:#101820; --line:#263643; --blue:#8ca6ff; }
body { font-family: "Inter", system-ui, sans-serif; }
.header { position: relative; z-index: 2; }
.nav { min-height: 86px; }
.logo { width: 132px; }
.btn { border-radius: 5px; cursor: pointer; font: inherit; font-weight: 800; }
.hero { background: #080c12; }
.hero::after {
  background: linear-gradient(90deg,#080c12e8 4%,#080c12bb 28%,#080c1260 47%,transparent 67%),
    linear-gradient(0deg,#080c12 0%,#080c1200 28%);
}
.hero-content { min-height: clamp(495px,51vw,685px); }
h1 { font-size: clamp(40px,5.35vw,82px); max-width: 12ch; line-height: .98; letter-spacing: -.073em; }
h1 em { display: inline-block; font-style: normal; }
.lead { max-width: min(39ch, 50%); }
.info { background: #0d1720; }
.info-grid strong { font-size: 18px; }
.info-grid span { font-size: 14px; }
.section { padding-block: clamp(54px,7vw,103px); }
.services,.gallery { gap: 18px; margin-top: 30px; }
.services article { background: linear-gradient(135deg,#14212b,#0d141c); padding: 26px; }
.services article::before { display: none; }
.service-icon {
  width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 21px;
  background: #192951; border: 1px solid #425a9b; border-radius: 7px;
  color: var(--blue); font: 700 25px/1 system-ui,sans-serif;
}
.work { background: #0d141c; }
.gallery img { aspect-ratio: 1.24; object-fit: cover; object-position: center top; }
.gallery article > div { min-height: 110px; }
.quote { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 20% 45%,#172449,transparent 58%),#090e14; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px,6vw,90px); }
.quote-copy h2 { margin-top: 15px; font-size: clamp(36px,5vw,61px); max-width: 13ch; }
.quote-copy p:not(.eyebrow) { color: var(--muted); max-width: 42ch; margin: 17px 0; }
.quote-form { display: grid; gap: 15px; padding: clamp(19px,3vw,33px); background: #101922; border: 1px solid var(--line); border-radius: 10px; }
.quote-form[hidden] { display: none; }
.fields { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.quote-form label { display: grid; min-width: 0; gap: 6px; font-size: 14px; font-weight: 700; }
.quote-form input,.quote-form textarea,.quote-form select {
  background: #090e14; color: var(--white); width: 100%; min-height: 44px;
  border: 1px solid #405364; border-radius: 5px; padding: 10px; font: 16px/1.3 system-ui,sans-serif;
}
.quote-form textarea { resize: vertical; }
.quote-form :is(input,textarea,select,button):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.quote-form button { justify-self: start; }
@media (max-width: 850px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) {
  .nav { min-height: 0; }
  .hero-content { min-height: 0; }
  h1 { font-size: clamp(36px,9.2vw,54px); }
  .hero-photo { aspect-ratio: 4 / 3; object-position: right center; }
  .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-grid > a { padding: 10px 8px; }
  .info-grid > a + a { border-top: 0; border-left: 1px solid var(--line); }
  .info-grid > a:last-child { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .info-grid strong { font-size: 15px; }
  .info-grid span { font-size: 12px; }
}

.whatsapp-float {
  position: fixed; z-index: 5; bottom: max(18px,env(safe-area-inset-bottom));
  right: max(18px,env(safe-area-inset-right)); display: inline-flex; align-items: center; gap: 8px;
  min-height: 53px; padding: 10px 17px; border-radius: 999px; background: #25d366;
  border: 1px solid #8af7b4; color: #062015; font-weight: 800; box-shadow: 0 7px 28px #0009;
}
.whatsapp-float:hover { background: #62e991; }
.whatsapp-float svg { width: 27px; height: 27px; flex: none; }
.footer { padding-bottom: 82px; }
@media (max-width: 580px) {
  .whatsapp-float { width: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}


/* Balance the wide wordmark with a compact navigation row. */
.header-brand { display: block; flex: none; }
.header-brand .logo { width: clamp(70px,9vw,106px); mix-blend-mode: screen; }
.header .nav { min-height: 96px; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
@media (max-width: 580px) {
  .header .nav { display: grid; justify-content: stretch; gap: 5px; min-height: 0; padding-block: 10px 4px; }
  .header-brand { justify-self: center; }
  .header-brand .logo { width: clamp(65px,20vw,88px); }
  .nav-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding-block: 0; font-size: clamp(12px,3.5vw,14px); }
  .hero-content h1 { max-width: none; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn { padding-inline: 12px; font-size: 14px; }
}


.nav-links .nav-quote { padding: 8px clamp(12px,2vw,24px); border-radius: 5px; }
.nav-links .nav-quote:hover { color: #fff; }
@media (min-width: 581px) {
  .hero-photo { object-position: center 58%; }
}
@media (max-width: 580px) {
  .nav-links .nav-quote { padding-inline: 5px; }
}

.header-brand { display: flex; align-items: center; gap: 12px; }
.brand-copy { display: grid; line-height: 1.3; }
.brand-copy strong { font-size: clamp(15px, 2vw, 21px); letter-spacing: .04em; }
.brand-copy small { color: var(--muted); font-size: 14px; }
.hero .eyebrow { text-transform: none; letter-spacing: .025em; font-size: 15px; }
.hero .actions .btn { border-radius: 999px; }
@media (min-width: 581px) and (max-width: 740px) {
  .header .nav { gap: 12px; }
  .nav-links { gap: 12px; }
}
@media (max-width: 580px) {
  .header .nav { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: 8px 0; padding-block: 12px 8px; }
  .header-brand { grid-area: 1 / 1; justify-self: start; min-width: 0; }
  .header-brand .logo { width: clamp(104px, 34vw, 158px); }
  .header .nav::after {
    content: "";
    grid-area: 1 / 2;
    height: clamp(108px, 34vw, 176px);
    background: url("assets/portada-cvs.webp") right 73% / auto 115% no-repeat;
    mask-image: linear-gradient(to right, transparent, #000 12%),
      linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
    mask-composite: intersect;
    pointer-events: none;
  }
  .brand-copy small { font-size: 13px; }
  .nav-links { grid-area: 2 / 1 / 3 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); }
  .nav-links a { min-width: 0; white-space: nowrap; }
  .nav-links .nav-quote { min-height: 44px; padding: 6px 4px; font-size: inherit; }

  .hero-content {
    position: relative;
    z-index: 1;
    padding-block: 24px 16px;
  }
  .hero .eyebrow { font-size: 14px; }
  .hero .eyebrow span { width: 16px; margin-right: 5px; }
  .hero-content h1 {
    margin-block: 10px 12px;
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 1.06;
    letter-spacing: -.05em;
    text-wrap: balance;
  }
  .hero .lead { max-width: 41ch; margin-bottom: 16px; font-size: 16px; line-height: 1.5; }
  .hero .actions { gap: 8px; }
  .hero .actions .btn { min-height: 44px; padding-block: 8px; }
  .hero-photo { display: none; }
  #servicios { padding-top: 32px; }
  .whatsapp-float { width: 46px; min-height: 46px; }
}

.service-icon--photo { width: 76px; height: 72px; background: #000; border-color: var(--line); }
.service-picture { display: block; width: 64px; height: 62px; overflow: hidden; }
.service-picture img { width: 100%; height: 100%; object-fit: contain; }
.footer { background: #0d0e11; padding: 42px 0 76px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand img { width: 72px; height: auto; mix-blend-mode: screen; }
.footer-about p { margin-top: 16px; max-width: 46ch; }
.footer h2 { color: var(--white); font-size: 17px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 12px 0 0; padding: 0; }
.footer li + li { margin-top: 9px; }
.footer-copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.hero-content h1 { font-weight: 850; letter-spacing: -.055em; }
.hero .lead { color: #d0d6e0; }

.footer .footer-instagram {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at 28% 100%, #ffdc80 0%, #fcaf45 16%, #f77737 28%, #e1306c 52%, #833ab4 75%, #405de6 100%);
}
.footer .footer-instagram:hover { color: #fff; filter: brightness(1.12); }
.footer-instagram svg { width: 28px; height: 28px; }
