:root {
  --black: #020202;
  --panel: #0b0b0b;
  --text: #f7f7f7;
  --muted: #c7c7c7;
  --red: #d80000;
  --red-dark: #920000;
  --line: rgba(255,255,255,.16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Montserrat, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  position: relative;
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 19;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand img { width: 188px; height: auto; }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.site-nav a { padding: 30px 0; }
.site-nav a:hover { color: #ff2a2a; }

.nav-group { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 220px;
  display: none;
  padding: 12px 18px;
  background: #111;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.submenu a {
  display: block;
  padding: 9px 0;
  color: #eee;
  text-transform: none;
}
.nav-group:hover .submenu { display: block; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  min-height: 670px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: -84px;
  padding: 130px 20px 70px;
  background: url("https://eomtp.com/wp-content/uploads/2022/06/curso-tatuador-madrid-eomtp-2.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: -8%;
  pointer-events: none;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  transform: scale(1.22);
  opacity: .75;
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.58) 46%, rgba(0,0,0,.94) 100%),
    radial-gradient(circle at 50% 40%, rgba(216,0,0,.22), transparent 42%);
}

.hero-content {
  position: relative;
  max-width: 980px;
  text-align: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff3333;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin-bottom: 8px;
  font-size: clamp(58px, 11vw, 126px);
  line-height: .9;
  font-family: Impact, "Arial Black", "Microsoft YaHei", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #eee;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
}

.hero-actions,
.button-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: #ff1010; }
.btn.ghost { border-color: #fff; color: #fff; background: rgba(0,0,0,.1); }
.btn.outline { border-color: var(--red); color: #fff; background: #000; }
.btn.outline:hover { background: var(--red); }

.section-black {
  background: #000;
  padding: clamp(58px, 8vw, 92px) 20px;
}

.narrow,
.section-title,
.split,
.benefits,
.city-grid,
.lead-form,
.hygiene-box {
  max-width: var(--max);
  margin: 0 auto;
}

.narrow {
  max-width: 930px;
  text-align: center;
}

.intro h2,
.section-title h2,
.includes h2,
.photo-text h2,
.hygiene h2,
.shop h2 {
  font-family: Impact, "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro h2 { color: var(--red); }
.narrow p,
.section-title p,
.photo-text p,
.hygiene p,
.shop p {
  color: var(--muted);
  font-size: 17px;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab {
  padding: 14px 22px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: #050505;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.tab.active {
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(216,0,0,.28);
}

.tab-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 18px;
}

.tab-panel.active { display: grid; }

.tab-panel article {
  min-height: 172px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #111, #050505);
}

.tab-panel h3 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}

.tab-panel p { color: var(--muted); font-weight: 700; }
.tab-panel a {
  margin-top: auto;
  padding: 9px 18px;
  background: var(--red);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.image-stack img {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(216,0,0,.18);
}

.feature {
  border-left: 4px solid var(--red);
  padding: 7px 0 7px 20px;
  margin: 24px 0;
}
.feature h3 {
  color: #fff;
  font-size: 23px;
  margin-bottom: 4px;
}
.feature p { color: var(--muted); margin: 0; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefits article {
  padding: 26px 22px;
  background: #101010;
  border: 1px solid var(--line);
}
.benefits span {
  color: var(--red);
  font-weight: 900;
}
.benefits h3 { margin: 14px 0 8px; }
.benefits p { color: var(--muted); margin: 0; }

.section-photo {
  min-height: 570px;
  display: grid;
  align-items: center;
  padding: 80px 20px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.58), rgba(0,0,0,.2)),
    url("https://eomtp.com/wp-content/uploads/2022/06/curso-tatuador-barcelona-eomtp.jpg") center / cover no-repeat;
}

.photo-text {
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.button-row { justify-content: flex-start; }
.centered { justify-content: center; }

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.city-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #111;
  border: 1px solid var(--line);
}
.city-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.08);
  transition: transform .35s ease;
}
.city-card:hover img { transform: scale(1.06); }
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88));
}
.city-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  font-weight: 1000;
  font-size: 20px;
  text-transform: uppercase;
}

.hygiene-box {
  padding: clamp(34px, 6vw, 66px);
  text-align: center;
  border: 2px solid var(--red);
  background: linear-gradient(180deg, #070707, #000);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(740px, 100%);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #333;
  background: #101010;
  color: #fff;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { border-color: var(--red); }
.wide { grid-column: 1 / -1; }
.contact-note {
  width: min(740px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.wechat-inline {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.wechat-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(30,203,91,.5);
  background: rgba(30,203,91,.12);
  color: #dcffe9;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.wechat-button:hover {
  border-color: #1ecb5b;
  background: rgba(30,203,91,.2);
  transform: translateY(-1px);
}

.shop {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
  background: url("https://eomtp.com/wp-content/uploads/2024/08/Bloodynk-05-scaled.jpg") center / cover no-repeat;
}
.shop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
}
.shop-content {
  position: relative;
  max-width: 780px;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding: 54px clamp(20px, 5vw, 72px);
  background: #080808;
  border-top: 1px solid var(--line);
}
.footer img { width: 190px; margin-bottom: 14px; }
.footer h3 { color: #fff; }
.footer a {
  display: block;
  color: var(--muted);
  margin: 7px 0;
}
.footer span {
  display: block;
  color: var(--muted);
  margin: 7px 0;
}
.footer p { color: var(--muted); }

.beian-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 44px);
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #173f98;
  color: #9fc0ff;
  font-size: 15px;
}

.beian-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9fc0ff;
}

.beian-bar img {
  width: 22px;
  height: 22px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 0;
  padding: 12px 18px;
  background: #25d366;
  color: #031b0d;
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(0,0,0,.35);
  font-weight: 900;
}
.whatsapp span { font-size: 12px; }
.whatsapp.wechat {
  background: #1ecb5b;
  color: #031b0d;
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease, visibility .22s ease;
}

.wechat-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wechat-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(30,203,91,.18), transparent 34%),
    rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
}

.wechat-card {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 30px clamp(20px, 5vw, 34px) 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, #111 0%, #060606 100%);
  box-shadow: 0 30px 100px rgba(0,0,0,.58);
  text-align: center;
  outline: none;
}

.wechat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.wechat-close:hover {
  background: rgba(216,0,0,.7);
  border-color: rgba(216,0,0,.9);
}

.wechat-kicker {
  margin: 0 0 8px;
  color: #1ecb5b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wechat-card h2 {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.15;
}

.wechat-qr-frame {
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(30,203,91,.15);
}

.wechat-qr-frame img {
  width: 100%;
  max-height: min(480px, 58vh);
  object-fit: contain;
}

.wechat-copy {
  margin: 18px 0 8px;
  color: #f3f3f3;
  font-weight: 800;
}

.wechat-hours,
.wechat-mobile-tip {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wechat-mobile-tip { margin-top: 5px; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: #050505;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .submenu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 6px 16px;
    background: transparent;
  }
  .tab-panel,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .footer {
    grid-template-columns: 1fr;
  }
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar { font-size: 12px; }
  .brand img { width: 150px; }
  .hero { min-height: 560px; }
  .hero-video iframe { transform: scale(1.8); }
  .hero h1 { font-size: 58px; }
  .tab-panel,
  .city-grid,
  .benefits,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .button-row,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .btn { width: 100%; }
  .whatsapp {
    left: 18px;
    right: 18px;
    text-align: center;
  }
  .wechat-card {
    width: min(390px, 100%);
    padding-top: 28px;
  }
  .wechat-card h2 { font-size: 24px; }
}
