/* AM Barbershop — black and gold (deep red only as a background accent), set in Playfair Display. */
:root {
  --black: #000;
  --ink: #020101;
  --white: #fefefe;
  --paper: #f5f5f5;
  --red: #b10205;
  --red-dark: #7a0000;
  --gold: #d4af5a;        /* headings, links and prices on black */
  --gold-hi: #f1d98b;     /* hover */
  --gold-soft: #eadfbf;   /* long reading text on black: pale gold, close to white */
  --gold-deep: #8a6618;   /* gold that still reads on the light paper */
  --grey: #5b5b5b;
  --serif: 'Playfair Display', Georgia, serif;
  --serif-sc: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  /* soft paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--gold-soft);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.center { text-align: center; }

/* Metallic gold lettering for the big titles */
.metal, .hero__name, .dark .kicker, .dark .section-title, .about__title, .nav__brand span {
  background: linear-gradient(180deg, #f8e6a8 0%, #dcb65e 42%, #a97d27 72%, #ecca72 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.paper .kicker, .script-title {
  background: linear-gradient(180deg, #b8902f 0%, #8a6618 50%, #5e430c 78%, #a07a26 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid #111;
}
.nav__inner {
  max-width: 1140px; margin: 0 auto; height: 70px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 20px;
}
.nav__side { display: flex; gap: 6px; }
.nav__side--right { justify-content: flex-end; }
.nav__side a {
  color: var(--gold); text-decoration: none; font-size: 17px;
  padding: 22px 16px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.nav__side a:hover, .nav__side a.is-active { color: var(--gold-hi); border-bottom-color: var(--gold); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0 24px; }
.nav__brand img { height: 36px; width: auto; }
.nav__brand span { font-family: var(--serif-sc); font-weight: 700; font-size: 30px; letter-spacing: .5px; white-space: nowrap; }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #000;
  padding: 110px 20px 160px;
}
.hero::before { /* black-and-white feel for the background photo */
  content: ''; position: absolute; inset: 0;
  background: url('images/chair.jpg') center / cover no-repeat;
  filter: grayscale(1) brightness(.32);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__inner { max-width: 1080px; margin: 0 auto; padding-top: 30px; }
/* The shop name is the hero: gold lines either side, a slow shine running across it, a soft glow. */
.hero__titles {
  display: flex; align-items: center; justify-content: center; gap: 28px; text-align: center;
  animation: am-glow 4s ease-in-out 2.2s infinite;
}
.hero__titles::before, .hero__titles::after {
  content: ''; flex: 1 1 0; max-width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, #dcb65e);
  animation: am-line 1.2s cubic-bezier(.2,.7,.2,1) 1s both;
}
.hero__titles::before { transform-origin: right; }
.hero__titles::after { background: linear-gradient(270deg, transparent, #dcb65e); transform-origin: left; }
.hero__name { font-family: var(--serif-sc); font-weight: 600; font-size: 84px; line-height: 1.15; padding: .04em .08em; }
.hero__points {
  max-width: 1080px; margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center; font-size: 22px; line-height: 1.15;
}
.hero__points a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Torn paper edges between sections ----------
   Each edge is painted in the NEXT section's colour and pulled up over the bottom of the
   section above. Three tilted shapes (a, b, c), mirrored on alternate edges so one dips
   left and the next dips right. The pale fringe is the rough core of the ripped paper. */
.tear {
  position: relative; z-index: 2; height: 150px; margin-top: -149px; pointer-events: none;
}
.tear i { position: absolute; inset: 0; background-size: 100% 100%, auto; background-repeat: no-repeat, repeat; }
.tear--a i { -webkit-mask: url('images/tear-a.svg') 0 0 / 100% 100% no-repeat; mask: url('images/tear-a.svg') 0 0 / 100% 100% no-repeat; }
.tear--b i { -webkit-mask: url('images/tear-b.svg') 0 0 / 100% 100% no-repeat; mask: url('images/tear-b.svg') 0 0 / 100% 100% no-repeat; }
.tear--c i { -webkit-mask: url('images/tear-c.svg') 0 0 / 100% 100% no-repeat; mask: url('images/tear-c.svg') 0 0 / 100% 100% no-repeat; }
.tear--to-light i { background-color: var(--paper); }
.tear--to-dark i { background-color: var(--black); }
.tear--to-light.tear--a i { background-image: url('images/fringe-a-light.svg'), var(--grain); }
.tear--to-light.tear--b i { background-image: url('images/fringe-b-light.svg'), var(--grain); }
.tear--to-light.tear--c i { background-image: url('images/fringe-c-light.svg'), var(--grain); }
.tear--to-dark.tear--a i { background-image: url('images/fringe-a-dark.svg'); }
.tear--to-dark.tear--b i { background-image: url('images/fringe-b-dark.svg'); }
.tear--to-dark.tear--c i { background-image: url('images/fringe-c-dark.svg'); }
.tear--flip { transform: scaleX(-1); }

/* ---------- Section bases ---------- */
.paper { background: var(--paper) var(--grain); color: #000; padding: 40px 20px 170px; }
.dark { background: var(--black); color: var(--gold-soft); padding: 50px 20px 170px; }

.kicker {
  font-family: var(--serif-sc); font-weight: 700; font-size: 70px; line-height: 1.2;
  text-align: center; text-transform: uppercase;
}
.ornament { display: block; width: 120px; height: 24px; margin: 14px auto 18px; }
.section-title { font-weight: 600; font-size: 55px; line-height: 1.3; text-align: center; }
.section-title--dark { color: #000; }
.section-sub { max-width: 1000px; margin: 10px auto 0; font-size: 25px; line-height: 1.3; text-align: center; }
.section-sub--dark { color: #000; }

/* ---------- Book Now: gold plaque in a gold frame, black text ---------- */
.book-btn {
  --cut: 18px;
  display: inline-block; margin-top: 40px; padding: 6px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffe08a 0%, #e0a321 35%, #a8650f 70%, #f5c450 100%);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: transform .2s;
}
.book-btn span {
  display: block; padding: 16px 52px;
  background: linear-gradient(180deg, #f8e6a8 0%, #e6c46e 45%, #c99a3a 80%, #e9cb7c 100%);
  clip-path: polygon(calc(var(--cut) - 4px) 0, calc(100% - var(--cut) + 4px) 0, 100% 50%, calc(100% - var(--cut) + 4px) 100%, calc(var(--cut) - 4px) 100%, 0 50%);
  color: #000; font-family: var(--serif); font-weight: 700; font-size: 21px;
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px;
  box-shadow: inset 0 0 0 2px rgba(110, 70, 10, .45);
}
.book-btn:hover { transform: translateY(-2px) scale(1.02); }
.book-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ---------- Intro ---------- */
.intro__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 430px 1fr; gap: 24px; align-items: center;
}
.framed { margin: 0; border: 3px solid #000; background: #fff; padding: 0; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.framed img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.intro__text { text-align: center; }
.intro__lead { font-size: 28px; line-height: 1.4; letter-spacing: .4px; color: #000; }

/* ---------- Services ---------- */
.services__grid {
  max-width: 1060px; margin: 70px auto 0;
  display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start;
}
.price-list { list-style: none; margin: 0; padding: 0 0 0 10px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.price-list .name { font-weight: 600; font-size: 18px; line-height: 1.6; color: var(--gold-soft); }
.price-list .price { font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--gold); }
.price-list .note { font-size: 12px; line-height: 1.5; margin: -2px 0 6px; color: #b9ad8c; }
.price-list .group { margin: 14px 0; border-bottom: 1px solid #2f2b24; }
.feature { margin: 0; }
.feature img { width: 100%; aspect-ratio: 340 / 286; object-fit: cover; object-position: 50% 20%; }
.feature h3 { font-weight: 600; font-size: 26px; margin-top: 18px; color: var(--gold); }
.feature p { font-size: 14px; margin-top: 18px; }

/* ---------- Barbers carousel ---------- */
.carousel { position: relative; max-width: 1180px; margin: 60px auto 0; padding: 0 50px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 80px) / 3); gap: 80px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 10px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.card {
  scroll-snap-align: start; background: #fff; text-align: center; padding: 20px 20px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%; }
.card__tag { font-size: 13px; margin-top: 18px; color: #000; }
.card__name { display: inline-block; margin-top: 4px; font-weight: 600; font-size: 16px; color: var(--gold-deep); text-underline-offset: 3px; }
.card__cta { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--gold-deep); margin-top: 14px; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: #e6e6e6; color: #000; font-size: 22px; line-height: 28px; padding: 0;
}
.carousel__arrow:hover { background: #d4d4d4; }
.carousel__arrow:disabled { opacity: .35; cursor: default; }
.carousel__arrow--prev { left: 6px; }
.carousel__arrow--next { right: 6px; }
.carousel__dots { display: flex; justify-content: center; gap: 12px; margin-top: 26px; min-height: 6px; }
.carousel__dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: #bbb; cursor: pointer; }
.carousel__dots button.is-on { background: #000; }

/* ---------- About ---------- */
.about { padding-top: 60px; padding-bottom: 40px; }

/* ---------- Products the shop sells ---------- */
.products { padding-top: 70px; }
.products__grid {
  max-width: 1180px; margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product { margin: 0; background: #0d0b08; border: 1px solid #3a3122; display: flex; flex-direction: column; transition: border-color .3s; }
.product:hover { border-color: var(--gold); }
.product__img { aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product--tall .product__img img { object-fit: contain; }
.product:hover .product__img img { transform: scale(1.04); }
.product figcaption { padding: 18px 18px 22px; text-align: center; }
.product__brand { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); opacity: .75; }
.product h3 { font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--gold); margin-top: 6px; }
.product p { font-family: var(--sans); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.about__box {
  max-width: 1120px; margin: 0 auto; border: 2px solid var(--red);
  display: grid; grid-template-columns: 410px 1fr;
}
.about__side { background: var(--red); padding: 18px 12px 30px; text-align: center; color: #ffe7a6; }
.about__side h2 { font-weight: 600; font-size: 32px; line-height: 1.3; }
.about__side > p { font-size: 21px; margin-top: 16px; }
.about__badge {
  margin: 34px auto 0; background: #fff; border: 3px solid #000; color: #000;
  aspect-ratio: 1 / 1; max-width: 386px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.about__score { font-family: var(--serif); font-weight: 700; font-size: 110px; line-height: 1; color: #000; }
.about__count { font-family: var(--serif-sc); font-weight: 700; font-size: 26px; letter-spacing: 1px; }
.stars { letter-spacing: 4px; }
.stars--gold { font-size: 44px; color: #c99a2e; }
.about__main { padding: 30px 14px 50px; text-align: center; }
.about__title { font-family: var(--serif-sc); font-weight: 600; font-size: 40px; line-height: 1.3; margin-bottom: 26px; }
.about__main p { font-size: 18px; line-height: 1.2; margin: 0 auto 22px; max-width: 690px; }
.about__main strong { font-weight: 700; color: var(--gold); }

/* ---------- Visit / reviews ---------- */
.visit { padding-top: 70px; text-align: center; }
.script-title { font-family: var(--serif-sc); font-weight: 700; font-size: 60px; line-height: 1.2; }
.rating { margin-top: 26px; font-family: var(--sans); color: #000; }
.stars--yellow { font-size: 30px; color: #f6bb06; letter-spacing: 2px; }
.rating__big { font-weight: 600; font-size: 20px; margin-top: 4px; }
.google-word { margin-top: 6px; font-family: var(--sans); font-weight: 500; font-size: 26px; letter-spacing: -.5px; }
.google-word span:nth-child(1), .google-word span:nth-child(4) { color: #4285f4; }
.google-word span:nth-child(2), .google-word span:nth-child(6) { color: #ea4335; }
.google-word span:nth-child(3) { color: #fbbc05; }
.google-word span:nth-child(5) { color: #34a853; }
.script-title--second { margin-top: 90px; }

/* Google review cards */
.carousel--reviews { margin-top: 30px; max-width: 1180px; }
.carousel--reviews .carousel__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; align-items: start; }
.review {
  scroll-snap-align: start; background: #fff; border: 1px solid #e3e3e3; border-radius: 6px;
  padding: 18px 18px 16px; text-align: left; font-family: var(--sans); color: #222;
  display: flex; flex-direction: column;
}
.review__head { display: flex; align-items: center; gap: 10px; }
.review__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 17px; color: #fff;
}
.review__who { flex: 1; min-width: 0; }
.review__name { font-weight: 600; font-size: 15px; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__when { font-size: 12px; color: #777; }
.review__g { flex: none; width: 20px; height: 20px; }
.review__stars { color: #f6bb06; font-size: 18px; letter-spacing: 1px; margin-top: 10px; }
.review__text {
  font-size: 13.5px; line-height: 1.55; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; margin-top: 8px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: 12.5px; color: #777; }
.review__more:hover { color: #000; text-decoration: underline; }
.rating p { font-size: 14px; }
.rating__link { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--gold-deep); }
.info-cards {
  max-width: 1100px; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left;
}
.info-card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; padding: 22px 20px;
  font-family: var(--sans); color: #000; font-size: 14px; line-height: 1.6;
}
.info-card h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.info-card__link { display: inline-block; margin-top: 10px; color: var(--gold-deep); font-weight: 500; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed #e0e0e0; }
.hours li:last-child { border-bottom: 0; }
.cta-title { font-weight: 600; font-size: 32px; color: var(--grey); margin-top: 110px; }

/* Visit Our Shop: black section, dark cards */
.visit-shop { text-align: center; padding-bottom: 80px; }
.visit-shop .script-title {
  background: linear-gradient(180deg, #f8e6a8 0%, #dcb65e 42%, #a97d27 72%, #ecca72 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.visit-shop .info-card { background: #0d0b08; border-color: #3a3122; color: var(--gold-soft); }
.visit-shop .info-card h3 { color: var(--gold); }
.visit-shop .info-card__link { color: var(--gold); }
.visit-shop .info-card__link:hover { color: var(--gold-hi); }
.visit-shop .hours li { border-bottom-color: #3a3122; }
.visit-shop .cta-title { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding: 20px 20px 30px; }
.footer__inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr 1fr; gap: 40px; align-items: start;
}
.footer__logo { width: 210px; height: auto; margin: 0 auto; }
.footer__col h3 { font-weight: 600; font-size: 24px; margin-bottom: 26px; color: var(--gold); }
.footer__col p { font-size: 18px; line-height: 1; margin-bottom: 24px; }
.footer__col p br + * { margin-top: 0; }
.footer__phone { display: flex; align-items: center; gap: 10px; }
.footer__phone svg { width: 16px; height: 16px; color: var(--gold); }
.footer__phone a { text-decoration: none; }
.footer__phone a:hover { text-decoration: underline; }
.footer__legal { text-align: center; font-size: 13px; color: #8f8466; margin-top: 40px; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--gold); color: #000; text-decoration: none; font-size: 18px; line-height: 1;
  border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .nav__side a { padding: 22px 10px; font-size: 16px; }
  .nav__brand span { font-size: 24px; }
  .hero__name { font-size: 64px; }
  .hero__points { font-size: 19px; gap: 24px; }
  .kicker { font-size: 56px; }
  .section-title { font-size: 44px; }
  .section-sub { font-size: 21px; }
  .intro__inner { grid-template-columns: 340px 1fr; }
  .intro__lead { font-size: 23px; }
  .services__grid { grid-template-columns: 1fr 260px; gap: 40px; }
  .carousel__track { grid-auto-columns: calc((100% - 40px) / 2); gap: 40px; }
  .carousel--reviews .carousel__track { grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
  .about__box { grid-template-columns: 320px 1fr; }
  .about__score { font-size: 84px; }
  .footer__inner { grid-template-columns: 220px 1fr 1fr; }
  .footer__logo { width: 170px; }
}

/* ---------- Top bar switches to the menu button below 960px ---------- */
@media (max-width: 959px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .nav { position: sticky; }
  .nav__inner { height: 64px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .nav__side { display: none; }
  .nav__brand { padding: 0; }
  .nav__brand img { height: 30px; }
  .nav__brand span { font-size: 22px; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 6px; justify-self: end;
  }
  .nav__toggle span { display: block; height: 4px; border-radius: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav__mobile:not([hidden]) {
    display: flex; flex-direction: column; background: #000; border-top: 3px solid var(--gold);
    padding: 6px 0 12px;
  }
  .nav__mobile a { color: var(--gold-soft); text-decoration: none; padding: 13px 22px; font-size: 18px; border-bottom: 1px solid #161616; }
  .nav__mobile a:hover { color: var(--gold); }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  html { scroll-padding-top: 70px; }

  .hero { padding: 50px 16px 100px; }
  .hero__inner { padding-top: 10px; }
  .hero__titles { gap: 12px; }
  .hero__titles::before, .hero__titles::after { max-width: 40px; }
  .hero__name { font-size: 44px; }
  .hero__points { grid-template-columns: 1fr; gap: 22px; font-size: 19px; margin-top: 36px; }

  .tear { height: 80px; margin-top: -79px; }

  .paper { padding: 26px 16px 110px; }
  .dark { padding: 34px 16px 110px; }
  .visit-shop { padding-bottom: 60px; }
  .about { padding-bottom: 30px; }
  .products { padding-top: 40px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .product figcaption { padding: 12px 8px 14px; }
  .product__brand { font-size: 10px; letter-spacing: 1.5px; }
  .product h3 { font-size: 16px; }
  .product p { font-size: 12px; }
  .kicker { font-size: 44px; }
  .section-title { font-size: 32px; }
  .section-sub { font-size: 18px; }
  .section-sub br { display: none; }

  .book-btn { margin-top: 30px; }
  .book-btn span { padding: 14px 40px; font-size: 19px; }

  .intro__inner { grid-template-columns: 1fr; gap: 30px; }
  .intro__lead { font-size: 20px; }
  .intro__lead br { display: none; }

  .services__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .price-list { padding: 0; }
  .price-list .name { font-size: 16px; }
  .price-list .price { font-size: 19px; }
  .feature { max-width: 360px; margin: 0 auto; text-align: center; }

  .carousel { padding: 0 34px; margin-top: 40px; }
  .carousel__track { grid-auto-columns: 100%; gap: 20px; }
  .carousel--reviews .carousel__track { grid-auto-columns: 100%; gap: 14px; }
  .carousel__dots { gap: 9px; }
  .script-title--second { margin-top: 64px; }
  .carousel__arrow--prev { left: 0; }
  .carousel__arrow--next { right: 0; }

  .about__box { grid-template-columns: 1fr; }
  .about__side h2 { font-size: 28px; }
  .about__side > p { font-size: 18px; }
  .about__badge { max-width: 280px; }
  .about__score { font-size: 80px; }
  .about__title { font-size: 32px; }
  .about__main p { font-size: 17px; line-height: 1.35; }

  .script-title { font-size: 40px; }
  .info-cards { grid-template-columns: 1fr; }
  .cta-title { font-size: 26px; margin-top: 70px; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer__col h3 { margin-bottom: 14px; }
  .footer__col p { line-height: 1.3; margin-bottom: 14px; }
  .footer__phone { justify-content: center; }
}

/* ---------- Motion ---------- */
/* Hero: the bar drops in, the logo rises, the name slides in from the right,
   and the three lines rise from below one by one. */
@keyframes am-drop   { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes am-rise   { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes am-name   { 0% { opacity: 0; letter-spacing: .5em; filter: blur(12px); transform: scale(.85); } 100% { opacity: 1; letter-spacing: normal; filter: blur(0); transform: none; } }
@keyframes am-shine  { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@keyframes am-glow   { 0%, 100% { filter: drop-shadow(0 0 6px rgba(220,182,94,.25)); } 50% { filter: drop-shadow(0 0 22px rgba(240,200,110,.6)); } }
@keyframes am-line   { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes am-zoom   { from { transform: scale(1.18); } to { transform: scale(1); } }
.nav                   { animation: am-drop .7s cubic-bezier(.2,.7,.2,1) both; }
.hero::before          { animation: am-zoom 7s ease-out both; }
.hero__name {
  background: linear-gradient(110deg, #a97d27 0%, #dcb65e 30%, #fff3c4 45%, #f8e6a8 50%, #dcb65e 62%, #a97d27 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: am-name 1.4s cubic-bezier(.2,.7,.2,1) .3s both, am-shine 5s ease-in-out 1.8s infinite;
}
.hero__points p        { animation: am-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__points p:nth-child(1) { animation-delay: 1.15s; }
.hero__points p:nth-child(2) { animation-delay: 1.3s; }
.hero__points p:nth-child(3) { animation-delay: 1.45s; }
.hero { overflow: hidden; }

/* Further down: things slide in as they scroll into view (script.js tags them). */
main, .footer { overflow-x: clip; }
.js [data-reveal] {
  opacity: 0;
  transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="up"]    { transform: translateY(60px); }
.js [data-reveal="left"]  { transform: translateX(-90px); }
.js [data-reveal="right"] { transform: translateX(90px); }
.js [data-reveal="zoom"]  { transform: scale(.8); }
.js [data-reveal].is-in   { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book-btn, .to-top { transition: none; }
  .nav, .hero::before, .hero__name, .hero__titles, .hero__titles::before, .hero__titles::after, .hero__points p { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

