:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --card: #1a1a24;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --red: #dc2626;
  --red-2: #f87171;
  --text: #f8fafc;
  --muted: #94a3b8;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(220, 38, 38, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent 40%);
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block;
}

.section-pad {
  padding: 86px 7%;
}

/* ===== HEADER / HERO ===== */
.header {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.5) 100%),
    url('https://images.unsplash.com/photo-1599351431202-1e0f0137899a?w=1920&q=80') center/cover no-repeat;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 99, 235, 0.55);
  border-radius: 50%;
  color: var(--blue-2);
  font-size: 1.4rem;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.16);
}

.brand strong {
  color: var(--blue-2);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--blue-2);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 42px;
  padding-top: 120px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  color: var(--blue-2);
  border: 1px solid rgba(37, 99, 235, 0.36);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.92;
  max-width: 780px;
  letter-spacing: -3px;
}

.hero p {
  max-width: 620px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}

.btn.secondary {
  border-color: rgba(220, 38, 38, 0.5);
  color: var(--red-2);
  background: rgba(220, 38, 38, 0.08);
}

.btn.secondary:hover {
  background: rgba(220, 38, 38, 0.15);
}

.btn.full {
  width: 100%;
}

/* ===== HERO CARD ===== */
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 32px;
  overflow: hidden;
}

.hero-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.7) 0%, rgba(10,10,15,0.2) 40%, rgba(10,10,15,0.2) 60%, rgba(10,10,15,0.7) 100%);
  z-index: 1;
}

.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.hero-card-top strong {
  color: var(--blue-2);
}

.barber-pole {
  position: absolute;
  width: 150px;
  height: 560px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(18deg);
  border-radius: 90px;
  border: 8px solid rgba(255,255,255,0.14);
  background:
    repeating-linear-gradient(135deg, #f8fafc 0 24px, #dc2626 24px 48px, #f8fafc 48px 72px, #2563eb 72px 96px);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.16);
  opacity: 0.78;
}

.hero-stats {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue-2);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== SECTIONS ===== */
.section {
  background: var(--bg);
}

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

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

.section-title h2,
.info-panel h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.section-title p,
.info-panel p {
  margin-top: 14px;
  color: var(--muted);
}

.premium-grid,
.catalog-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.premium-grid {
  grid-template-columns: repeat(3, 1fr);
}

.catalog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cut-card,
.contact-card,
.info-panel,
.appointment-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.24);
}

.cut-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.cut-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.45);
}

.cut-media {
  height: 190px;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.cut-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cut-card:hover .cut-media img {
  transform: scale(1.08);
}

.cut-body {
  padding: 22px;
}

.cut-badge {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.72rem;
  color: var(--blue-2);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 999px;
  padding: 5px 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.cut-body h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.cut-body p {
  min-height: 56px;
  color: var(--muted);
  font-size: 0.93rem;
}

.cut-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--blue-2);
  margin: 10px 0 4px;
}

.rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.score {
  color: var(--text);
  font-weight: 800;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.03), rgba(37, 99, 235, 0)),
    var(--bg-2);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.info-panel {
  padding: 34px;
}

.hours-box {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hours-box div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
}

.hours-box span,
.muted {
  color: var(--muted);
}

.address {
  font-size: 1.15rem;
  color: var(--blue-2) !important;
  font-weight: 800;
}

.map-container {
  margin: 18px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-panel .btn {
  margin-top: 6px;
}

.appointment {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.05)),
    var(--bg);
}

.appointment-card {
  max-width: 1050px;
  margin: 0 auto;
  padding: 38px;
}

.booking-form {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(0,0,0,0.28);
  outline: none;
  font-size: 1rem;
}

input:focus,
select:focus {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

option {
  color: #111;
}

.form-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-error {
  color: var(--red-2);
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card {
  padding: 28px;
}

.contact-card span {
  color: var(--muted);
}

.contact-card strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 1.25rem;
}

.contact-card a {
  color: var(--blue-2);
  font-weight: 800;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  font-size: 30px;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background: var(--card);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 7%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #07070a;
}

.footer a {
  color: var(--blue-2);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
  .premium-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding: 72px 5%;
  }

  .navbar {
    padding: 14px 5%;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 10, 15, 0.96);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding-top: 110px;
  }

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

  .hero-card {
    min-height: 380px;
  }

  .barber-pole {
    height: 420px;
    width: 118px;
  }

  .premium-grid,
  .catalog-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hours-box div,
  .footer {
    flex-direction: column;
  }

  .appointment-card {
    padding: 26px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float .tooltip {
    display: none;
  }
}
