:root {
  --bg: #06070b;
  --surface: #10141d;
  --surface-2: #171c29;
  --text: #f5f2eb;
  --text-strong: #ffffff;
  --muted: #b2bbca;
  --accent: #f4c542;
  --border: rgba(255,255,255,0.12);
  --section-space: clamp(70px, 8vw, 100px);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(244, 197, 66, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 30%),
    var(--bg);
}

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

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 32px;
  gap: 20px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.brand,
.hero-copy h1,
.section-heading h2,
.final-cta-card h2,
.footer h2 {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-flag {
  width: 24px;
  height: 16px;
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, #FCD116 33%, #003893 33%, #003893 66%, #CE1126 66%);
}

.topbar-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(244,197,66,0.35);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topbar-cta:hover {
  background: rgba(244, 197, 66, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.96) 0%, rgba(7, 10, 15, 0.92) 100%);
  background-size: 220% 220%;
  animation: hero-background 18s ease-in-out infinite;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  perspective: 1400px;
}

.hero-identity {
  display: inline-block;
  margin-bottom: 18px;
  animation: float-sway 10s ease-in-out infinite alternate;
}

.hero-identity-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-identity-title {
  margin: 0 0 10px;
}

.hero-name-black {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fae27a 0%, #ffd442 100%);
  color: #111;
  box-shadow: 0 24px 42px rgba(252, 209, 22, 0.22);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  line-height: 1;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.05em;
  position: relative;
  overflow: hidden;
}

.hero-name-black::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.24), transparent 60%);
  opacity: 0.8;
  transform: translateX(-10%) skewX(-12deg);
}

.hero-name-black::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 22px;
  background: radial-gradient(circle at 50% 0, rgba(255, 193, 0, 0.55), transparent 45%);
  opacity: 0.5;
}

.flag-strip {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.flag-chip {
  width: 30px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  position: relative;
}

.flag-chip.flame::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 110%;
  width: 70%;
  height: 60px;
  transform: translateX(-50%) rotate(0deg);
  background: radial-gradient(circle at 50% 100%, rgba(255, 231, 118, 0.95), transparent 35%);
  opacity: 0.75;
  filter: blur(6px);
  animation: flame-flicker 1.4s infinite ease-in-out;
}

@keyframes flame-flicker {
  0%, 100% { transform: translateX(-50%) scaleX(0.9) scaleY(0.9) translateY(0); opacity: 0.72; }
  50% { transform: translateX(-50%) scaleX(1.1) scaleY(1.2) translateY(-6px); opacity: 0.95; }
}

@keyframes hero-background {
  0%, 100% { background-position: 15% 20%; }
  50% { background-position: 85% 80%; }
}

@keyframes float-sway {
  0% { transform: translateY(0) rotate(0deg) perspective(1200px); }
  50% { transform: translateY(-6px) rotateX(1.6deg) rotateY(-0.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.flag-yellow {
  background: #FCD116;
}

.flag-blue {
  background: #003893;
}

.flag-red {
  background: #CE1126;
}

.hero-subtitle {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  margin: 10px 0 16px;
  color: var(--text-strong);
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 32px rgba(0,0,0,0.28);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(244, 197, 66, 0.1), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(15, 118, 110, 0.1), transparent 14%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 45px 45px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.3rem);
  line-height: 1.06;
  margin: 10px 0 16px;
  color: var(--text-strong);
  max-width: 760px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-text,
.section-heading p,
.pain-card p,
.benefit-card p,
.testimonial-card p,
.faq-item p,
.final-cta-card p,
.footer p {
  color: var(--muted);
}

.hero-text {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  will-change: transform, box-shadow, filter;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
  filter: saturate(1.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffe07b);
  color: #071018;
  box-shadow: 0 14px 32px rgba(244, 197, 66, 0.22);
}

.btn-secondary,
.btn-outline,
.topbar-cta,
.btn-whatsapp {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-outline:hover,
.topbar-cta:hover,
.btn-whatsapp:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

img:hover,
img:focus-visible {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.32);
  filter: saturate(1.1);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #dce2eb;
  font-size: 0.9rem;
}

.hero-card,
.pain-card,
.benefit-card,
.testimonial-card,
.faq-item,
.final-cta-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  transform-style: preserve-3d;
}

.hero-card {
  transform-origin: center;
}

.hero-card:hover,
.pain-card:hover,
.benefit-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.final-cta-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-1.2deg) scale(1.01);
  box-shadow: 0 44px 110px rgba(0,0,0,0.28);
  filter: saturate(1.06);
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(0,0,0,0.22);
}

.hero-card {
  background: linear-gradient(135deg, rgba(244, 197, 66, 0.12), rgba(6, 7, 11, 0.98));
  min-height: 340px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #e8ecf2;
}

.offer-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.offer-list li:last-child {
  border-bottom: none;
}

.price-pill {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.14);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
}

.section {
  padding: var(--section-space) 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.final-cta-card h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  margin: 8px 0 12px;
  color: var(--text-strong);
}

.pain-grid,
.benefits-grid,
.testimonial-grid,
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-card h3,
.benefit-card h3,
.testimonial-card strong,
.barber-card strong {
  color: var(--accent);
  margin: 0 0 8px;
}

.cta-band {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.cta-band p {
  margin: 0;
  color: var(--text-strong);
  font-weight: 700;
}

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

.services-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.offer-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover,
.offer-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 44px 88px rgba(0,0,0,0.26);
}

.service-card h3,
.offer-panel h3 {
  margin: 0 0 10px;
  color: var(--text-strong);
}

.service-price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}

.service-note {
  margin: 10px 0 0;
  color: var(--text);
  opacity: 0.85;
}

.offer-panel {
  grid-column: span 3;
  text-align: center;
}

.schedule-panel {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  box-shadow: 0 34px 90px rgba(0,0,0,0.16);
}

.schedule-panel h3 {
  margin: 0 0 14px;
  color: var(--text-strong);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text);
  display: grid;
  gap: 10px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.schedule-list strong {
  color: var(--text-strong);
}

.offer-panel .service-price.offer {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.18);
  color: var(--text-strong);
}

@media (max-width: 900px) {
  .services-grid,
  .services-grid--compact {
    grid-template-columns: 1fr;
  }

  .offer-panel {
    grid-column: span 1;
  }
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 197, 66, 0.14);
  margin-bottom: 14px;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.testimonial-card img,
.barber-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.barber-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.barber-card strong {
  display: block;
  font-size: 1rem;
}

.barber-card p {
  color: #d7dce4;
  margin: 0 0 12px;
}

.barber-card .btn-secondary {
  align-self: flex-start;
}

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

.barber-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-list {
  display: grid;
  gap: 12px;
}

button,
.btn,
.topbar-cta {
  min-height: 44px;
  min-width: 44px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-strong);
}

.faq-item p {
  margin: 10px 0 0;
}

.final-cta-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 197, 66, 0.13), rgba(6, 7, 11, 0.98));
}

.final-cta-card .contact-details {
  margin: 20px auto 16px;
  max-width: 680px;
  color: var(--text);
  font-size: 0.98rem;
  opacity: 0.92;
}

.final-cta-card .contact-details strong {
  color: var(--text-strong);
}

.final-cta-card .cta-row {
  justify-content: center;
}

.footer {
  margin-top: calc(var(--section-space) + 12px);
  border-top: 1px solid var(--border);
  padding: 24px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .benefits-grid,
  .testimonial-grid,
  .barbers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px 18px 36px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    right: 24px;
    left: 24px;
    flex-direction: column;
    background: rgba(6, 8, 14, 0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 14px 18px;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 20;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero {
    padding: 28px 0 42px;
  }

  .section {
    padding-top: 64px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .cta-row {
    gap: 10px;
  }

  .hero-pills {
    gap: 8px;
  }

  .fixed-cta-mobile {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(20, 20, 24, 0.98);
    border: 1px solid rgba(244, 197, 66, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }

  .fixed-cta-mobile span {
    font-size: 0.97rem;
    color: #f9f4e9;
  }

  .fixed-cta-mobile strong {
    font-size: 1rem;
    color: var(--accent);
    white-space: nowrap;
  }

  .page-shell {
    padding-bottom: 120px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 16px 32px;
  }

  .topbar,
  .footer,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 18px 36px;
  }

  .topbar,
  .footer,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }
}
