/*
 * Estetika Anna — reversible dark accent layer
 * ------------------------------------------------------------
 * This file intentionally changes presentation only. It is kept
 * separate from site.css so the complete concept can be disabled
 * by removing its stylesheet link from the public HTML pages.
 */

:root {
  --ea-dark: #181512;
  --ea-dark-soft: #231f1a;
  --ea-dark-card: #29241e;
  --ea-dark-text: #fbf7ef;
  --ea-dark-muted: rgba(251, 247, 239, .72);
  --ea-dark-line: rgba(211, 174, 105, .34);
  --ea-dark-gold: #c59b58;
}

/* Reversible header trial: deep copper glass with a refined metallic brand mark. */
.site-header {
  background:
    radial-gradient(65% 180% at 100% 0%, rgba(227, 150, 101, .16), transparent 58%),
    linear-gradient(105deg, rgba(76, 48, 40, .96), rgba(45, 38, 36, .95));
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  backdrop-filter: blur(18px) saturate(112%);
  color: var(--ea-dark-text);
  border-bottom-color: rgba(207, 132, 84, .42);
  box-shadow: 0 12px 34px rgba(37, 24, 20, .24);
}

.site-header .brand img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(43%) saturate(706%) hue-rotate(357deg) brightness(93%) contrast(89%);
}

.site-header nav a {
  position: relative;
  padding: 7px 10px;
  border-radius: 999px;
  color: #f4f0e8;
  transition: color .2s ease, background-color .2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a.active {
  color: #f0c19b;
  background: rgba(222, 139, 88, .14);
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 3px;
  left: 11px;
  height: 1px;
  background: #dc9364;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a.active::after {
  transform: scaleX(1);
}

.site-header .btn.dark {
  border-color: #b86b42;
  background: linear-gradient(135deg, #a75d38, #c57a4b);
  color: #fff;
}

.site-header .phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 42px;
  padding: 0 18px;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  border: 1px solid rgba(218, 142, 94, .78);
  background: rgba(255, 255, 255, .025);
  color: #efbb94;
}

.site-header .btn.dark:hover,
.site-header .btn.dark:focus-visible {
  border-color: #e7a77e;
  background: linear-gradient(135deg, #ba6d43, #d18a59);
  color: #fff;
}

.site-header .phone:hover,
.site-header .phone:focus-visible {
  border-color: #e7a77e;
  background: rgba(222, 139, 88, .15);
  color: #ffd1ad;
}

.site-header .menu-toggle {
  border: 1px solid rgba(222, 146, 97, .76);
  background: rgba(255, 255, 255, .04);
  color: #f8d1b4;
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header nav,
  .site-header > .btn {
    display: none;
  }

  .site-header .phone {
    grid-column: 2;
    justify-self: center;
    min-height: 42px;
    padding: 0 18px;
    font-size: 0;
  }

  .site-header .phone::after {
    content: "Zavolat";
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .site-header .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.open nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    padding-top: 16px;
    border-top: 1px solid rgba(218, 139, 89, .28);
  }

  .site-header.open nav a {
    width: max-content;
  }
}

/* Quiet warm-grey navigation ribbons keep the site light and easy to scan. */
.subnav,
.catalog-nav,
.price-nav,
.gallery-nav {
  background:
    radial-gradient(75% 180% at 100% 0%, rgba(197, 155, 88, .09), transparent 56%),
    #ebe8e3;
  border-color: #d8d1c7;
  box-shadow: 0 10px 28px rgba(24, 21, 18, .06);
}

.subnav a,
.catalog-nav a,
.price-nav a,
.gallery-nav a {
  color: #4f4840;
  background: rgba(255, 255, 255, .58);
  border-color: #cec6bb;
}

.subnav a:hover,
.subnav a:focus-visible,
.subnav a.is-active,
.catalog-nav a:hover,
.catalog-nav a:focus-visible,
.catalog-nav a.is-active,
.price-nav a:hover,
.price-nav a:focus-visible,
.price-nav a.is-active,
.gallery-nav a:hover,
.gallery-nav a:focus-visible,
.gallery-nav a.is-active {
  color: #fff;
  background: #a97838;
  border-color: #d2ad68;
  box-shadow: none;
}

/* The price list opens with an elegant dark anchor, while all tables stay light. */
.price-intro {
  color: var(--ea-dark-text);
  background:
    radial-gradient(55% 160% at 88% 5%, rgba(197, 155, 88, .19), transparent 60%),
    linear-gradient(135deg, #151310 0%, #211d18 100%);
}

.price-intro h1,
.price-intro .eyebrow,
.price-intro .price-stats strong {
  color: var(--ea-dark-text);
}

.price-intro > div > p:last-of-type,
.price-intro .price-stats span {
  color: var(--ea-dark-muted);
}

.price-intro .price-stats div {
  border-color: var(--ea-dark-line);
  background: rgba(255, 255, 255, .035);
}

/* Technology copy remains on white; the lead-in is a very light glass band. */
.technology-detail-page .technology-article {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0 250px, #fffdf9 250px 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72);
}

.technology-detail-page .technology-article::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 250px;
  border-top: 1px solid rgba(255, 255, 255, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .44);
  background:
    radial-gradient(70% 180% at 20% 0%, rgba(255, 255, 255, .30), transparent 62%),
    linear-gradient(108deg, rgba(220, 224, 226, .17), rgba(255, 255, 255, .08) 52%, rgba(207, 212, 215, .14));
  -webkit-backdrop-filter: blur(20px) saturate(112%);
  backdrop-filter: blur(20px) saturate(112%);
  box-shadow:
    inset 0 18px 45px rgba(255, 255, 255, .14),
    inset 0 -18px 42px rgba(92, 99, 104, .035);
}

.technology-detail-page .technology-detail-copy {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(169, 120, 56, .20);
  box-shadow: 0 28px 72px rgba(26, 21, 16, .12);
}

/* One dark introduction per treatment page; photo areas remain neutral. */
.treatment-extras-inner > .treatment-extras-head:first-child {
  padding: clamp(28px, 4vw, 52px);
  color: var(--ea-dark-text);
  border: 1px solid var(--ea-dark-line);
  border-radius: 22px;
  background:
    radial-gradient(70% 180% at 100% 0%, rgba(197, 155, 88, .17), transparent 58%),
    linear-gradient(140deg, var(--ea-dark) 0%, var(--ea-dark-soft) 100%);
}

.treatment-extras-inner > .treatment-extras-head:first-child h2,
.treatment-extras-inner > .treatment-extras-head:first-child .eyebrow {
  color: var(--ea-dark-text);
}

.treatment-extras-inner > .treatment-extras-head:first-child > p:last-child {
  color: var(--ea-dark-muted);
}

/* A natural home for a richer dark surface in the gallery. */
.gallery-video-section {
  color: var(--ea-dark-text);
  background:
    radial-gradient(70% 130% at 100% 0%, rgba(197, 155, 88, .17), transparent 58%),
    var(--ea-dark);
}

.gallery-video-section .gallery-section-head h2,
.gallery-video-section .gallery-section-head .eyebrow,
.gallery-video-section .gallery-video h3,
.gallery-video-section .gallery-video span {
  color: var(--ea-dark-text);
}

.gallery-video-section .gallery-section-head > p {
  color: var(--ea-dark-muted);
}

.gallery-video-section .gallery-video {
  background: var(--ea-dark-card);
  border-color: var(--ea-dark-line);
  box-shadow: none;
}

/* Secondary callouts use a warm grey surface; dark remains a selective accent. */
.about-cta,
.contact-intro,
.price-note,
.product-contact {
  color: #211c17;
  border-top: 1px solid #d8d1c7;
  border-bottom: 1px solid #d8d1c7;
  background:
    radial-gradient(70% 160% at 100% 0%, rgba(197, 155, 88, .10), transparent 60%),
    linear-gradient(135deg, #e9e6e1, #f4f1ec);
}

.about-cta h2,
.contact-intro h1,
.price-note h2,
.product-contact h2,
.about-cta .eyebrow,
.contact-intro .eyebrow,
.price-note .eyebrow,
.product-contact .eyebrow {
  color: #211c17;
}

.about-cta .eyebrow,
.contact-intro .eyebrow,
.price-note .eyebrow,
.product-contact .eyebrow {
  color: #a97838;
}

.contact-intro p:not(.eyebrow),
.price-note p:not(.eyebrow),
.product-contact p:not(.eyebrow) {
  color: #6f675f;
}

.about-cta .actions .btn.light,
.contact-intro .actions .btn.light,
.contact-intro > .btn.light,
.price-note .actions .btn.light,
.product-contact .actions .btn.light {
  color: #fff;
  border-color: var(--ea-dark);
  background: var(--ea-dark);
}

.about-cta .actions .btn.light:hover,
.contact-intro .actions .btn.light:hover,
.contact-intro > .btn.light:hover,
.price-note .actions .btn.light:hover,
.product-contact .actions .btn.light:hover {
  color: #fff;
  border-color: #a97838;
  background: #a97838;
}

.about-cta .btn.ghost,
.contact-intro .btn.ghost,
.price-note .btn.ghost,
.product-contact .btn.ghost {
  color: #211c17;
  border-color: rgba(33, 28, 23, .32);
  background: transparent;
}

.about-cta .btn.ghost:hover,
.contact-intro .btn.ghost:hover,
.price-note .btn.ghost:hover,
.product-contact .btn.ghost:hover {
  color: #fff;
  border-color: #a97838;
  background: #a97838;
}

@media (max-width: 760px) {
  .technology-detail-page .technology-article {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0 150px, #fffdf9 150px 100%);
  }

  .technology-detail-page .technology-article::before {
    height: 150px;
    -webkit-backdrop-filter: blur(14px) saturate(108%);
    backdrop-filter: blur(14px) saturate(108%);
  }

  .treatment-extras-inner > .treatment-extras-head:first-child {
    padding: 26px 22px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subnav a,
  .catalog-nav a,
  .price-nav a,
  .gallery-nav a {
    transition: none;
  }
}
