:root {
  --blue: #0d40a5;
  --blue-soft: #5878bd;
  --red: #d93b34;
  --red-soft: #e07f7e;
  --gold: #dda338;
  --cream: #f8f6f2;
  --ink: #262b3a;
  --muted: #6f7280;
  --line: #dedbd3;
  --card: #fdfbf7;
  --shadow: 0 18px 35px rgba(38, 43, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}

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

img,
iframe,
svg {
  display: block;
}

.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background: url("assets/cabanas-aerial.jpg") center / cover;
  filter: blur(2px);
  transform: scale(1.03);
}

.hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(13, 64, 165, 0.84),
    rgba(13, 64, 165, 0.62) 48%,
    rgba(248, 246, 242, 0.98)
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 900px);
  padding: 28px 0 44px;
  color: white;
  transform: translateY(-74px);
}

h1,
h2,
h3,
.button,
.subhead strong,
.badge,
.note,
footer nav,
.contact strong,
.product-card span,
.product-card strong,
.feature h3,
.feature div,
.story-photo figcaption {
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  margin: 28px 0 24px;
  font-size: clamp(5rem, 15vw, 12.4rem);
  color: white;
  text-transform: uppercase;
}

.hero p {
  width: min(100%, 680px);
  margin: 26px auto 36px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  color: var(--gold);
}

.subhead span {
  width: 64px;
  height: 2px;
  background: var(--red-soft);
}

.subhead strong {
  font-size: clamp(1rem, 2.5vw, 1.55rem);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 17px 28px;
  font-size: 1.25rem;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.hero__actions,
.hero__chips {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
}

.chip svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hero__chips {
  margin-top: clamp(32px, 6vh, 64px);
}

.scroll-indicator {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 50%;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 5px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: white;
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  50% {
    transform: translateY(10px);
  }
}

.scissors svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.scissors--hero {
  display: inline-block;
  color: var(--red);
}

.scissors--hero svg {
  width: 64px;
  height: 64px;
}

.barber-pole {
  height: 64px;
  background:
    linear-gradient(to right, transparent, rgba(255, 255, 255, 0.28), transparent),
    repeating-linear-gradient(
      45deg,
      var(--blue) 0,
      var(--blue) 15px,
      var(--red-soft) 15px,
      var(--red-soft) 30px,
      white 30px,
      white 45px
    );
}

section {
  position: relative;
  padding: 96px 0;
}

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

.section-title h2 {
  margin: 0 0 22px;
  color: var(--blue-soft);
  font-size: clamp(4rem, 8vw, 6.2rem);
  text-transform: uppercase;
}

.section-title--light h2 {
  color: rgba(255, 255, 255, 0.82);
}

.services {
  overflow: hidden;
  background: var(--blue);
  color: white;
}

.stripe-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 35px,
    white 35px,
    white 70px
  );
}

.services .container {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card,
.product-card {
  position: relative;
  background: rgba(253, 251, 247, 0.94);
  border: 4px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, opacity 220ms ease;
}

.service-card {
  min-height: 324px;
  padding: 38px 34px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62px;
  height: 62px;
  border-right: 4px solid rgba(13, 64, 165, 0.14);
  border-bottom: 4px solid rgba(13, 64, 165, 0.14);
}

.service-card:hover,
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.service-card .scissors {
  color: var(--blue);
  margin-bottom: 24px;
}

.service-card h3 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 2rem;
  text-transform: uppercase;
}

.service-card p:last-child {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.price {
  margin: 0 0 24px;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3.2rem;
  line-height: 1;
}

.price del {
  margin-left: 8px;
  color: rgba(38, 43, 58, 0.42);
  font-size: 1.6rem;
}

.price--small {
  font-size: 2.35rem;
}

.service-card--deal {
  border-color: var(--gold);
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--blue);
  padding: 7px 14px;
  font-size: 1rem;
  text-transform: uppercase;
}

.note {
  margin: 46px 0 0;
  text-align: center;
  color: var(--gold);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.products {
  background: linear-gradient(180deg, var(--cream) 0%, #f2efe9 100%);
}

.chat-shell {
  display: flex;
  justify-content: center;
}

.chat-card {
  width: min(100%, 760px);
  padding: 36px;
  border: 4px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.chat-bubbles {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.chat-bubble {
  display: inline-block;
  max-width: min(80%, 420px);
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.chat-bubble--barber {
  background: var(--blue);
  color: white;
}

.chat-bubble--user {
  margin-left: auto;
  background: var(--red-soft);
  color: white;
}

.chat-form {
  display: grid;
  gap: 14px;
}

.chat-form label {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--blue);
}

.chat-form textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid var(--line);
  padding: 14px 16px;
  resize: vertical;
  font: inherit;
  color: var(--ink);
  background: white;
}

.chat-form textarea:focus {
  outline: 3px solid rgba(221, 163, 56, 0.45);
  border-color: var(--gold);
}

.chat-form .button {
  width: 100%;
  max-width: 260px;
  margin-top: 8px;
}

.chat-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chat-note a {
  color: var(--red);
  font-weight: 700;
}

.story {
  background: var(--cream);
}

.story-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-photo {
  position: relative;
  margin: 0;
  border: 8px solid var(--blue);
  box-shadow: var(--shadow);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-photo figcaption {
  position: absolute;
  right: -24px;
  bottom: -24px;
  background: var(--red);
  color: white;
  padding: 22px 28px;
  font-size: 1.3rem;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.story-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.story-heading svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--red-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.story-heading h3 {
  margin: 0;
  color: var(--blue-soft);
  font-size: 2.8rem;
  text-transform: uppercase;
}

.story-copy p {
  margin: 0 0 24px;
  color: #4a4d59;
  font-size: 1.03rem;
}

.story-copy strong {
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 78px;
}

.feature {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 36px;
  text-align: center;
  color: white;
  overflow: hidden;
  border-top: 4px solid rgba(255, 255, 255, 0.5);
}

.feature svg {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  fill: none;
  stroke: #f3dfae;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature h3 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
}

.feature--blue {
  background: rgba(13, 64, 165, 0.36);
}

.feature--red {
  background: rgba(217, 59, 52, 0.36);
}

.feature--photo {
  position: relative;
  padding: 0;
}

.feature--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.feature--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(88, 120, 189, 0.62);
}

.feature--photo div {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 66px;
}

.contact-grid > * {
  min-height: 170px;
  padding: 28px;
  border-left: 4px solid var(--blue-soft);
  background: rgba(255, 255, 255, 0.35);
}

.contact-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--red-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
}

.contact-grid span,
.contact-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.map {
  border: 8px solid var(--blue);
  background: white;
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  filter: none;
}

body.modal-open {
  overflow: hidden;
}

.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13, 28, 70, 0.62);
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

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

.reserve-modal__panel {
  position: relative;
  width: min(100%, 460px);
  padding: 42px;
  border: 6px solid var(--blue);
  border-top-color: var(--gold);
  border-bottom-color: var(--red);
  background: var(--card);
  box-shadow: 0 26px 70px rgba(13, 28, 70, 0.32);
}

.reserve-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.reserve-modal__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.reserve-modal__eyebrow,
.reserve-modal__product,
.reserve-modal label {
  font-family: "Bebas Neue", Impact, sans-serif;
  text-transform: uppercase;
}

.reserve-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.15rem;
}

.reserve-modal h2 {
  margin: 0;
  color: var(--blue-soft);
  font-size: 3.4rem;
  text-transform: uppercase;
}

.reserve-modal__product {
  margin: 10px 0 30px;
  color: var(--red);
  font-size: 1.4rem;
}

.reserve-modal label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.reserve-modal input {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.reserve-modal input:focus {
  outline: 3px solid rgba(221, 163, 56, 0.45);
  border-color: var(--gold);
}

.reserve-modal .button {
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
}

.reserve-modal__error {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta {
  margin-top: 64px;
  padding: 48px 24px;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--red);
  background: var(--blue);
  color: white;
  text-align: center;
}

.cta h2 {
  margin: 0 0 24px;
  font-size: clamp(2.9rem, 6vw, 4.2rem);
  text-transform: uppercase;
}

.cta p {
  width: min(100%, 650px);
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

footer {
  background: var(--blue);
  color: white;
  border-top: 6px solid var(--gold);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 0;
}

footer h2 {
  margin: 0 0 8px;
  font-size: 2.6rem;
  text-transform: uppercase;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

footer nav {
  display: flex;
  gap: 24px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: #0b3485;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 980px) {
  .service-grid,
  .product-grid,
  .story-main,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-main {
    gap: 72px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  section {
    padding: 72px 0;
  }

  .hero__content {
    padding-top: 16px;
    transform: translateY(-26px);
  }

  h1 {
    margin-top: 16px;
    font-size: clamp(4.8rem, 23vw, 7.8rem);
  }

  .subhead span {
    width: 34px;
  }

  .hero p {
    margin-bottom: 28px;
  }

  .button {
    width: min(100%, 260px);
  }

  .chip {
    width: min(100%, 310px);
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  .barber-pole {
    height: 46px;
  }

  .section-title {
    margin-bottom: 42px;
  }

  .section-title h2 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .service-grid,
  .product-grid,
  .story-main,
  .feature-grid,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-card,
  .product-card {
    min-height: auto;
  }

  .story-photo figcaption {
    right: 12px;
    bottom: 12px;
    padding: 16px 20px;
  }

  .feature-grid {
    margin-top: 48px;
  }

  .contact-grid {
    gap: 16px;
  }

  .map iframe {
    height: 320px;
  }

  .reserve-modal__panel {
    padding: 34px 24px;
  }

  .footer-inner,
  footer nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
