* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #070707;
  --dark: #101010;
  --yellow: #f5b400;
  --yellow-2: #ffcc33;
  --white: #ffffff;
  --muted: #cfcfcf;
  --green: #25d366;
  --border: rgba(255,255,255,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--yellow), #8a5b00);
  color: #000;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand small {
  color: var(--yellow);
  font-weight: bold;
  letter-spacing: .5px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #ddd;
  font-size: 14px;
  transition: .2s;
}

nav a:hover {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: .25s;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: #000;
  box-shadow: 0 0 30px rgba(245,180,0,.35);
}

.btn-secondary,
.btn-call {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 7% 80px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  background:
  linear-gradient(90deg, rgba(0,0,0,.90), rgba(0,0,0,.35)),
  url("assets/hero-cerrajero.jpg") center right / cover no-repeat;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2));
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.tag,
.section-title span,
.why-content span,
.contact-info span {
  display: inline-block;
  background: rgba(245,180,0,.12);
  border: 1px solid rgba(245,180,0,.35);
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  line-height: .9;
  max-width: 850px;
  text-transform: uppercase;
  letter-spacing: -4px;
  text-shadow: 0 0 45px rgba(245,180,0,.25);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
  max-width: 690px;
  margin: 28px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges span {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 14px;
  color: #eee;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

.lock-visual{
    width:100%;
    height:420px;

    background:
        linear-gradient(
            rgba(0,0,0,.25),
            rgba(0,0,0,.25)
        ),
        url("assets/images1.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    border-radius:28px;

    overflow:hidden;

    position:relative;
}

.lock-body {
  font-size: 130px;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 35px rgba(245,180,0,.45));
  animation: pulseKey 2.4s infinite;
}

.hero-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.hero-card a {
  color: #000;
  background: var(--yellow);
  display: block;
  text-align: center;
  padding: 16px;
  border-radius: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.emergency-strip {
  background: linear-gradient(90deg, var(--yellow), #ffdf69);
  color: #000;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 7%;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: 100px 7%;
}

.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 55px;
}

.section-title h2,
.why-content h2,
.contact-info h2 {
  font-size: clamp(36px, 5vw, 62px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 18px;
}

.section-title p,
.why-content p,
.contact-info p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, #171717, #0b0b0b);
  border: 1px solid var(--border);
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,180,0,.55);
  box-shadow: 0 25px 70px rgba(245,180,0,.12);
}

.service-card div {
  font-size: 42px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
  color: var(--yellow);
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.why {
  padding: 90px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background:
    linear-gradient(rgba(0,0,0,.86), rgba(0,0,0,.86)),
    radial-gradient(circle at left, rgba(245,180,0,.2), transparent 40%);
}

.why-list {
  display: grid;
  gap: 18px;
}

.why-list div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.why-list strong {
  color: var(--yellow);
  font-size: 28px;
}

.why-list span {
  font-size: 22px;
  font-weight: 800;
}

.dark-section {
  background: #0d0d0d;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  background: #171717;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
}

.testimonial p {
  color: #eee;
  line-height: 1.6;
  margin-bottom: 18px;
}

.testimonial strong {
  color: var(--yellow);
}

.contact {
  padding: 100px 7%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-buttons {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.map-box {
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(245,180,0,.35);
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
}

.map-box iframe {
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(1) contrast(1.1);
}

.footer {
  padding: 34px 7%;
  background: #000;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--yellow);
  font-size: 22px;
  margin-bottom: 8px;
}

.floating-whatsapp,
.floating-call {
  position: fixed;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 30;
  font-size: 26px;
  box-shadow: 0 15px 40px rgba(0,0,0,.45);
  transition: .2s;
}

.floating-whatsapp {
  bottom: 92px;
  background: var(--green);
}

.floating-call {
  bottom: 24px;
  background: var(--yellow);
  color: #000;
}

.floating-whatsapp:hover,
.floating-call:hover {
  transform: scale(1.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseKey {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.08); }
}

@media (max-width: 960px) {
  .topbar {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 130px 22px 60px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-card {
    padding: 24px;
  }

  .lock-visual {
    height: 220px;
  }

  .lock-body {
    font-size: 95px;
  }

  .emergency-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 17px;
  }

  .section,
  .why,
  .contact {
    padding: 70px 22px;
  }

  .services-grid,
  .testimonials,
  .why,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-title {
    text-align: left;
  }

  .btn {
    width: 100%;
  }

  .btn-call {
    display: none;
  }

  .hero-actions,
  .contact-buttons {
    width: 100%;
  }
}
