/* Tohar Mizug — HVAC / refrigeration theme (cool blues + fresh accent) */

:root {
  --tohar-primary: #0b4f8a;
  --tohar-primary-light: #1a6bb5;
  --tohar-accent: #29a8e0;
  --tohar-accent-soft: rgba(41, 168, 224, 0.35);
  --tohar-ice: #e8f4fc;
  --tohar-dark: #0a2239;
  --tohar-dark-2: #12324f;
  --tohar-black: #061018;
  --tohar-text: #3d4f5f;
  --tohar-text-light: #c8d9e8;
  --tohar-white: #ffffff;
  --tohar-off-white: #f4f9fd;
  --tohar-panel: rgba(255, 255, 255, 0.94);
  --tohar-font: "Assistant", "Segoe UI", Tahoma, Arial, sans-serif;
  --tohar-bullet: #6b8aa8;
}

body.tohar-page {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--tohar-font);
  color: var(--tohar-text);
  background: var(--tohar-dark);
  line-height: 1.65;
}

html:has(body.tohar-page) {
  overflow-x: clip;
  max-width: 100%;
}

body.tohar-page .section--white a,
body.tohar-page .legal-page a {
  color: var(--tohar-primary);
}
body.tohar-page .section--white a:hover,
body.tohar-page .legal-page a:hover {
  color: var(--tohar-accent);
}

body.tohar-page .section--dark a,
body.tohar-page .hero-dark a {
  color: var(--tohar-white);
}
body.tohar-page .section--dark a:hover,
body.tohar-page .hero-dark a:hover {
  color: var(--tohar-accent);
}

body.tohar-page .accordion__panel a,
body.tohar-page .press-list a {
  color: var(--tohar-primary);
}
body.tohar-page .accordion__panel a:hover,
body.tohar-page .press-list a:hover {
  color: var(--tohar-accent);
}

body.tohar-page .quick-actions__link,
body.tohar-page .quick-actions__label {
  color: var(--tohar-white);
}

@keyframes tohar-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tohar-fade-in-up {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tohar-grow {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.reveal { opacity: 1; }
html.js-reveal .reveal { opacity: 0; }
.reveal.is-visible.reveal--fade { animation: tohar-fade-in 1.25s ease both; }
.reveal.is-visible.reveal--fade-up { animation: tohar-fade-in-up 0.9s ease both; }

.btn--grow:hover,
.btn--grow:focus {
  animation: tohar-grow 0.3s ease forwards;
}

.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  direction: ltr;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.shape-divider svg {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1.3px);
  height: 100%;
  margin: 0;
}
.shape-divider--bottom {
  bottom: -1px;
  height: 70px;
}
.shape-divider--bottom svg {
  width: calc(177% + 1.3px);
  height: 70px;
}
.shape-divider--top,
.shape-divider--fan {
  top: 0;
  height: 55px;
}
.shape-divider--split {
  height: 28px;
}

.hero-stack {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.hero-top {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  min-height: 36vh;
  background: var(--tohar-dark) center / cover no-repeat;
}
.hero-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 24, 0.15) 0%, rgba(6, 16, 24, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-dark {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--tohar-black) center / cover no-repeat;
  background-image: var(--dark-texture);
  margin-top: -1px;
  padding: 3rem 1rem 4rem;
}
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 24, 0.72) 0%, rgba(10, 34, 57, 0.88) 100%);
  pointer-events: none;
}
.hero-dark > *:not(.shape-divider) {
  position: relative;
  z-index: 1;
}

.card-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: transparent;
  box-shadow: none;
}

.card-header {
  text-align: center;
  padding: 0 0 0.5rem;
}

.card-header picture {
  position: relative;
  z-index: 5;
  display: block;
  width: 280px;
  max-width: 38%;
  margin: -90px auto 1rem;
}

.card-header__logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--tohar-accent);
  box-shadow: 0 8px 32px rgba(41, 168, 224, 0.25), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.card-header__title {
  font-size: clamp(1.5rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--tohar-white);
  margin: 0;
  padding-top: 1rem;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.card-header__subtitle {
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  font-weight: 400;
  color: var(--tohar-ice);
  margin: 0.75rem 0 0;
  line-height: 1.3;
}

.quick-actions {
  text-align: center;
  margin-top: 2rem;
  padding: 0.75rem 0;
}

.quick-actions__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.5rem;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.quick-actions__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem;
  text-decoration: none;
  color: var(--tohar-white);
  font-size: 1rem;
}
.quick-actions__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--tohar-accent);
  color: var(--tohar-accent);
  box-shadow: 0 0 12px var(--tohar-accent-soft);
}
.quick-actions__icon .icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.btn--vcf {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  padding: 0.65rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--tohar-white);
  background: var(--tohar-primary);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(11, 79, 138, 0.45);
}
.btn--vcf:hover {
  background: var(--tohar-primary-light);
  color: var(--tohar-white);
}

.section--dark {
  background: var(--tohar-black) center / cover no-repeat;
  background-image: var(--dark-texture);
  position: relative;
  padding: 2rem 1.25rem;
  color: var(--tohar-white);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 24, 0.55);
  pointer-events: none;
}
.section--dark > *:not(.shape-divider) { position: relative; z-index: 1; }
.section--dark .section__title {
  color: var(--tohar-ice);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}
.section--dark p { color: var(--tohar-text-light); text-align: center; }
.section--about { padding: 1.5rem clamp(1rem, 6vw, 5rem) 2rem; }

.section--white {
  position: relative;
  overflow-x: clip;
  background: var(--tohar-off-white);
  color: var(--tohar-text);
  padding: 0 0 2.5rem;
}
.section--white__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
}

.rotating-headline__title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--tohar-dark);
}
.section-divider-line {
  width: 40%;
  height: 2px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--tohar-accent), transparent);
}

.photo-carousel__track { height: min(55vw, 520px); perspective: 1200px; }
.photo-carousel__image {
  background: var(--tohar-white) center / contain no-repeat;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(11, 79, 138, 0.12);
}
.photo-carousel__arrow {
  background: rgba(11, 79, 138, 0.85);
  color: var(--tohar-white);
}

.accordion__item { border: 1px solid var(--tohar-accent); margin-bottom: 0; }
.accordion__trigger {
  background: var(--tohar-dark-2);
  color: var(--tohar-accent);
  font-weight: 600;
}
.accordion__panel {
  background: var(--tohar-panel);
  color: var(--tohar-dark);
}

.section--contact { padding: 2.5rem 1.25rem; text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.contact-item a { color: var(--tohar-ice); }

.btn--whatsapp-cta {
  background: #25d366;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--whatsapp-cta:hover { background: #1fb855; }

.btn--primary {
  background: var(--tohar-primary);
  color: var(--tohar-white);
  border: none;
  border-radius: 6px;
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.btn--primary:hover { background: var(--tohar-primary-light); }

.btn--share {
  background: var(--tohar-primary);
  color: var(--tohar-white);
  border-radius: 6px;
}
.btn--share:hover { background: var(--tohar-primary-light); }

.site-footer {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.85rem;
  color: var(--tohar-text-light);
  background: var(--tohar-black);
}

body.tohar-page .a11y-fab { background: var(--tohar-primary); }

@media (max-width: 767px) {
  .hero-top { min-height: 22vh; }
  .card-header picture {
    max-width: 72%;
    margin-top: -48px;
  }
  .quick-actions__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-carousel__track { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1; }
  .reveal.is-visible.reveal--fade,
  .reveal.is-visible.reveal--fade-up { animation: none; }
}
