:root {
  --black: #0c0b09;
  --ink: #151311;
  --anthracite: #24201b;
  --panel: rgba(31, 28, 24, 0.68);
  --panel-strong: rgba(18, 16, 14, 0.78);
  --gold: #c99a47;
  --gold-bright: #edc86f;
  --cream: #fff7e8;
  --muted: #d0c3ad;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 6%, rgba(237, 200, 111, 0.14), transparent 24rem),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.055), transparent 26rem),
    linear-gradient(180deg, #0c0b09 0%, #1a1714 46%, #0d0c0a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body[data-theme="light"] {
  --black: #f7f3ea;
  --ink: #fffaf0;
  --anthracite: #eee4d4;
  --panel: rgba(255, 250, 240, 0.74);
  --panel-strong: rgba(255, 252, 246, 0.9);
  --cream: #17130f;
  --muted: #675d4f;
  --line: rgba(23, 19, 15, 0.13);
  --shadow: 0 18px 44px rgba(53, 41, 27, 0.13);
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 154, 71, 0.18), transparent 22rem),
    linear-gradient(180deg, #fbf7ef 0%, #f0e7d8 54%, #fbf7ef 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(12, 11, 9, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, background 220ms ease;
}

body[data-theme="light"] .site-header {
  background: rgba(255, 250, 240, 0.76);
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(12, 11, 9, 0.9);
}

body[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 250, 240, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #111;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.brand small,
.site-footer span {
  display: block;
  margin-top: 2px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(247, 240, 223, 0.78);
  font-size: 0.94rem;
}

body[data-theme="light"] .nav-links {
  color: rgba(23, 19, 15, 0.76);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: width 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.theme-toggle {
  min-width: 76px;
  height: 40px;
  padding: 0 14px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(201, 154, 71, 0.14);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 6vw, 90px) 54px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.86), rgba(12, 11, 9, 0.46) 48%, rgba(12, 11, 9, 0.18)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1900&q=86") center/cover;
  transform: scale(1.04);
  animation: heroZoom 24s ease-in-out infinite alternate;
}

body[data-theme="light"] .hero-media {
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.92), rgba(251, 247, 239, 0.52) 48%, rgba(251, 247, 239, 0.14)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1900&q=86") center/cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), #0c0b09 96%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 112px);
}

body[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), #fbf7ef 96%),
    repeating-linear-gradient(90deg, rgba(23, 19, 15, 0.025) 0 1px, transparent 1px 112px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 10vw, 7.6rem);
  line-height: 0.9;
  font-weight: 900;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 4.2vw, 3.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3.4vw, 2.5rem);
  font-style: italic;
}

.hero-copy,
.section-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(216, 177, 90, 0.2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.btn-instagram {
  color: #fff;
  background: linear-gradient(135deg, #6b35d7, #d43f8d 52%, #efb45a);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(212, 63, 141, 0.16);
}

.btn-outline {
  color: var(--gold-bright);
  background: rgba(18, 16, 14, 0.3);
  border-color: rgba(216, 177, 90, 0.44);
}

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: 54px;
  z-index: 2;
  width: min(260px, calc(100% - 36px));
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.rating-value {
  display: block;
  color: var(--gold-bright);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 900;
}

.rating-label,
.rating-stars {
  display: block;
}

.rating-label {
  margin: 8px 0;
  color: var(--muted);
}

.rating-stars {
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

.section {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 6vw, 90px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.feature-panel,
.booking-form,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.feature-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.feature-item {
  min-height: 68px;
  padding: 16px;
  background: rgba(14, 15, 16, 0.9);
  color: rgba(247, 240, 223, 0.9);
}

body[data-theme="light"] .feature-item {
  background: rgba(255, 252, 246, 0.92);
  color: var(--cream);
}

.feature-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card {
  min-height: 198px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
}

body[data-theme="light"] .service-card,
body[data-theme="light"] .why-list span {
  background: rgba(255, 252, 246, 0.68);
}

.service-card:hover,
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 177, 90, 0.46);
  background: rgba(216, 177, 90, 0.08);
}

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

.icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(216, 177, 90, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 177, 90, 0.2), rgba(255, 255, 255, 0.04));
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
  background: var(--gold-bright);
}

.scissors::before {
  width: 22px;
  height: 2px;
  left: 13px;
  top: 22px;
  transform: rotate(34deg);
}

.scissors::after {
  width: 22px;
  height: 2px;
  left: 13px;
  top: 22px;
  transform: rotate(-34deg);
}

.fade::before,
.fade-low::before,
.fade-mid::before {
  width: 24px;
  height: 24px;
  left: 12px;
  top: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
}

.beard::before {
  width: 24px;
  height: 18px;
  left: 12px;
  top: 18px;
  border-radius: 0 0 18px 18px;
}

.child::before {
  width: 20px;
  height: 20px;
  left: 14px;
  top: 13px;
  border-radius: 50%;
}

.style::before {
  width: 26px;
  height: 3px;
  left: 11px;
  top: 22px;
  transform: rotate(-18deg);
}

.care::before {
  width: 18px;
  height: 26px;
  left: 15px;
  top: 11px;
  border-radius: 10px 10px 4px 4px;
}

.why {
  padding: clamp(42px, 6vw, 64px) clamp(18px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(216, 177, 90, 0.14), rgba(255, 255, 255, 0.03)),
    var(--ink);
  border-block: 1px solid var(--line);
}

.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.why-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: rgba(247, 240, 223, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.why-list span::before {
  content: "✓";
  margin-right: 10px;
  color: var(--gold-bright);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 320px;
  margin: 0;
  background: #111;
}

.gallery-card img {
  height: 320px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02) brightness(1.04);
  transition: transform 450ms ease, filter 450ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.04) brightness(1.06);
}

.gallery-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  background: rgba(5, 5, 5, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-bright);
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0 clamp(18px, 6vw, 90px);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  min-height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: var(--panel-strong);
}

.stat strong {
  color: var(--gold-bright);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.appointment-grid {
  align-items: start;
}

.booking-form {
  padding: clamp(20px, 3vw, 30px);
}

label {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(247, 240, 223, 0.86);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--cream);
  background: rgba(5, 5, 5, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 177, 90, 0.12);
}

select option {
  background: #101113;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gold-bright);
  font-size: 0.92rem;
}

.phone-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
}

.contact {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
}

address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

iframe {
  width: 100%;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(1) invert(0.9) contrast(0.88);
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 32px 18px;
  text-align: center;
  background: #030303;
  border-top: 1px solid var(--line);
}

.site-footer small {
  color: var(--muted);
}

.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  gap: 10px;
}

.floating-whatsapp,
.floating-instagram {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  font-weight: 950;
}

.floating-whatsapp {
  color: #0b1710;
  background: #25d366;
}

.floating-instagram {
  color: #fff;
  background: linear-gradient(135deg, #6b35d7, #d43f8d 52%, #efb45a);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (max-width: 1100px) {
  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 69px 12px auto 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }

  body[data-theme="light"] .nav-links {
    background: rgba(255, 250, 240, 0.98);
  }

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

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body[data-theme="light"] .nav-links a {
    border-bottom-color: rgba(23, 19, 15, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 72svh;
    padding: 96px 18px 28px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(12, 11, 9, 0.38), #0c0b09 88%),
      url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1000&q=86") center/cover;
  }

  body[data-theme="light"] .hero-media {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.52), #fbf7ef 88%),
      url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1000&q=86") center/cover;
  }

  .hero-card {
    display: none;
  }

  .contact-actions {
    display: grid;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 14px;
  }

  .section-grid,
  .why-inner,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 42px 18px;
  }

  .phone-link {
    font-size: 1.5rem;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 0.78rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 136px;
    padding: 16px;
  }

  .service-card p {
    margin-bottom: 0;
    line-height: 1.48;
  }

  .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .feature-item {
    min-height: 64px;
    padding: 12px;
    font-size: 0.9rem;
  }

  .gallery-card,
  .gallery-card img {
    height: 220px;
    min-height: 220px;
  }

  .stat {
    min-height: 104px;
    padding: 8px;
  }

  iframe {
    min-height: 230px;
  }

  .floating-whatsapp,
  .floating-instagram {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
