:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #191a1c;
  --white: #f8f8f8;
  --muted: #c8c8c8;
  --line: rgba(255,255,255,.82);
  font-family: 'Montserrat', Arial, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 44px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--white); font-family: inherit; }
a { color: inherit; }
.site-header { height: 40px; position: sticky; top: 0; z-index: 20; background: #030303; }
.nav { min-height: 40px; display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding: 0 clamp(22px, 18.5vw, 360px) 0 20px; }
.nav a { font-size: 15px; font-weight: 800; text-decoration: none; line-height: 1; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.hero { min-height: 670px; height: min(72vh, 760px); position: relative; isolation: isolate; display: flex; align-items: flex-start; overflow: hidden; background: #050505; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('fondo2.webp') center center / cover no-repeat; opacity: .4; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(17,18,20,.6); }
.hero-inner { width: 100%; max-width: none; margin: 0; padding: 76px clamp(24px, 6.5vw, 110px) 0; }
.hero h1 { margin: 0 0 21px; font-weight: 400; font-size: clamp(54px, 5.1vw, 90px); letter-spacing: -.055em; line-height: 1.08; }
.hero-subtitle { font-size: clamp(28px, 2.7vw, 46px); line-height: 1.2; margin: 0; font-weight: 400; letter-spacing: -.04em; }
.hero-cta { display: flex; width: min(460px, 88vw); min-height: 50px; align-items: center; justify-content: center; margin-top: 204px; border: 2px solid var(--line); border-radius: 18px; background: rgba(24,24,24,.78); text-decoration: none; font-size: 19px; font-weight: 800; transition: background .2s, transform .2s; }
.hero-cta:hover { background: #fff; color: #111; transform: translateY(-2px); }

.section-bg { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); }
.section-bg::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('fondo3.webp') center 44% / cover fixed no-repeat; opacity: .4; }
.contact.section-bg::before { background-image: url('fondo1.webp'); }
.section-bg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(17,18,20,.6); }
.section-content { max-width: 1660px; margin: 0 auto; padding: 84px 6.5vw 76px; }
.services h2 { font-weight: 400; font-size: clamp(48px, 4.5vw, 76px); letter-spacing: -.055em; line-height: 1.08; margin: 0 0 22px; }
.section-intro { max-width: 720px; color: #dedede; font-size: 16px; line-height: 1.7; margin: 0 0 46px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 5vw; }
.service-button { width: 100%; min-height: 76px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.34); background: rgba(10,10,10,.25); color: #f1f1f1; font: 800 18px/1.4 inherit; font-family: inherit; font-size: 18px; font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.service-button:hover, .service-button:focus-visible { background: rgba(255,255,255,.09); border-color: #fff; transform: translateY(-2px); }
.service-location { text-align: center; color: rgba(255,255,255,.7); font-size: 13px; margin: 48px 0 0; }

.anchor-marker { height: 0; scroll-margin-top: 40px; }
.contact { padding: 64px 6.5vw 26px; }
.contact-layout { max-width: 1660px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 440px) minmax(300px, 1fr); gap: clamp(80px, 26vw, 480px); align-items: start; }
.location-tabs { display: inline-flex; padding: 4px; border: 1px solid rgba(255,255,255,.76); border-radius: 28px; margin: 0 0 26px; background: rgba(0,0,0,.38); }
.location-tab { padding: 12px 20px; border: 0; border-radius: 22px; background: transparent; color: var(--white); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.location-tab.active { background: white; color: #111; }
.location-view { min-height: 340px; }
.studio-photo { display: block; position: relative; overflow: hidden; min-height: 340px; border-radius: 18px; background: #080808; box-shadow: 0 15px 45px rgba(0,0,0,.35); }
.studio-photo img { display: block; width: 100%; height: 340px; object-fit: cover; transition: transform .35s; }
.studio-photo:hover img { transform: scale(1.035); }
.studio-photo span { position: absolute; inset: auto 0 0; padding: 38px 18px 17px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 14px; font-weight: 700; }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: 18px; }
.contact-details { padding-top: 0; }
.contact-item { margin: 0 0 26px; }
.contact-item h3 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin: 0 0 14px; font-weight: 600; letter-spacing: -.035em; }
.contact-item a { display: flex; align-items: center; gap: 15px; width: fit-content; margin: 8px 0; font-size: 17px; font-weight: 600; text-underline-offset: 4px; }
.contact-icon { width: 27px; height: 27px; flex: 0 0 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon .icon-dot { fill: currentColor; stroke: none; }
.site-footer { max-width: 1660px; margin: 68px auto 0; text-align: center; color: rgba(255,255,255,.83); font-size: 12px; line-height: 1.7; }
.site-footer p { margin: 5px 0; }
.site-footer .credit { margin-top: 20px; }
.credit a { font-weight: 800; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

.floating-whatsapp { position: fixed; z-index: 30; right: 15px; bottom: 22px; width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; background: transparent; box-shadow: none; transition: transform .2s; }
.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.service-dialog { color: var(--white); background: rgba(13,13,13,.97); border: 2px solid rgba(255,255,255,.85); width: min(560px, calc(100vw - 34px)); padding: 38px 34px 34px; box-shadow: 0 20px 90px rgba(0,0,0,.7); }
.service-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(2px); }
.dialog-close { position: absolute; top: 8px; right: 15px; border: 0; background: transparent; color: white; font-size: 30px; font-weight: 700; cursor: pointer; }
.service-dialog h2 { margin: 0 35px 15px 0; font-size: 24px; }
.dialog-description { margin: 0 0 15px; line-height: 1.6; font-size: 15px; }
.dialog-list { padding-left: 22px; line-height: 1.9; margin: 0 0 27px; }
.dialog-cta { display: inline-flex; padding: 13px 18px; border: 1px solid white; text-decoration: none; font-size: 14px; font-weight: 800; }
.dialog-cta:hover { background: white; color: #111; }

@media (max-width: 900px) {
  .hero { min-height: 590px; height: 72vh; }
  .hero::before { background-position: 57% center; }
  .hero-inner { padding: 76px 24px 0; }
  .hero-cta { margin-top: 170px; }
  .section-content { padding: 70px 7vw; }
  .service-grid { gap: 18px 22px; }
  .service-button { min-height: 70px; font-size: 15px; padding: 15px; }
  .contact { padding: 54px 7vw 25px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 45px; }
  .contact-item h3 { font-size: 24px; }
  .contact-item a { font-size: 15px; }
}
@media (max-width: 620px) {
  :root { scroll-padding-top: 46px; }
  .site-header, .nav { height: 46px; min-height: 46px; }
  .nav { justify-content: center; padding: 0 8px; gap: clamp(12px, 4vw, 22px); }
  .nav a { font-size: 12px; }
  .hero { min-height: 600px; height: 78vh; }
  .hero::before { background-position: 59% center; }
  .hero-inner { padding: 74px 21px 0; }
  .hero h1 { font-size: clamp(48px, 13vw, 68px); margin-bottom: 12px; }
  .hero-subtitle { font-size: clamp(27px, 7vw, 36px); }
  .hero-cta { min-height: 48px; margin-top: 166px; font-size: 16px; }
  .section-content { padding: 62px 22px 56px; }
  .services h2 { font-size: 48px; }
  .section-intro { font-size: 14px; margin-bottom: 31px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-button { min-height: 62px; font-size: 16px; }
  .service-location { margin-top: 32px; font-size: 12px; }
  .contact { padding: 46px 22px 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .location-view { min-height: 260px; }
  .studio-photo, .map-frame { min-height: 260px; height: 260px; }
  .studio-photo img { height: 260px; }
  .contact-details { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .contact-item h3 { font-size: 23px; }
  .contact-item a { font-size: 15px; }
  .site-footer { margin-top: 42px; font-size: 11px; }
  .floating-whatsapp { width: 80px; height: 80px; right: 12px; bottom: 14px; }
  .service-dialog { padding: 34px 24px 26px; }
}

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .section-bg::before { background-attachment: scroll; }
}
