/*
Theme Name: CEVAREC
Theme URI: https://www.cevarec.sk/
Author: CEVAREC
Description: Bespoke WordPress conversion of the CEVAREC Stupava website.
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cevarec
*/

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+2000-206f, U+20ac;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-400-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-024f, U+1e00-1eff;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+2000-206f, U+20ac;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-500-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-024f, U+1e00-1eff;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+2000-206f, U+20ac;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-700-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-024f, U+1e00-1eff;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+2000-206f, U+20ac;
}

@font-face {
  font-family: "Yantramanav";
  src: url("assets/yantramanav-900-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0100-024f, U+1e00-1eff;
}

:root {
  --green: #4c945c;
  --black: #151515;
  --copy: #7a7a7a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--copy);
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--black);
  font-weight: 900;
  letter-spacing: 1px;
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  color: #fff;
  background: var(--black);
}

.top-strip {
  min-height: 42px;
  border-bottom: 1px solid #353535;
  background: var(--black);
}

.top-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
}

.top-strip__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-strip__contacts a,
.top-strip__contacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-strip__contacts i {
  color: var(--green);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.nav-shell {
  position: relative;
  min-height: 103px;
  display: flex;
  align-items: center;
  gap: 46px;
}

.brand {
  flex: 0 0 244px;
}

.brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex: 1;
}

.main-nav a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.header-call {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 240px;
  color: #fff;
}

.header-call > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  transform: rotate(-18deg);
}

.header-call strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.15;
}

.header-call b {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.home-hero {
  position: relative;
  min-height: 775px;
  overflow: hidden;
  background: #2a2a2a;
  color: #fff;
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: cover;
  object-position: center;
  animation: heroFade 16s infinite ease-in-out;
}

.hero-slide-two {
  opacity: 0;
  animation-delay: -8s;
}

.home-hero__shade {
  z-index: 1;
  background: rgba(19, 26, 27, 0.52);
}

@keyframes heroFade {
  0%, 42% { opacity: 1; transform: scale(1); }
  50%, 92% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 200px;
}

.home-hero h1 {
  max-width: 700px;
  margin-bottom: 34px;
  color: #fff;
  font-size: clamp(52px, 4.75vw, 72px);
  line-height: 1.1;
}

.home-hero__content > p {
  margin-bottom: 35px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.original-button,
a.original-button:link,
a.original-button:visited,
a.original-button:focus,
a.original-button:active {
  min-height: 56px;
  padding: 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--green);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.original-button > span {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.original-button:hover,
a.original-button:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #3e804d;
  transform: scale(1.025);
}

.opening-hours-value,
.top-opening-hours,
.top-opening-hours strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.top-opening-hours strong {
  font-weight: 500;
}

.home-info {
  position: relative;
  z-index: 3;
  min-height: 250px;
  padding: 64px 0 38px;
  background: var(--black);
  color: #fff;
}

.home-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr .88fr 1.45fr;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 22px;
}

.info-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  border: 3px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 37px;
  font-weight: 400;
  line-height: 1;
}

.info-icon--location b {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.info-icon--location b::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.info-item h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 22px;
  line-height: 1.04;
}

.info-item p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.waste-card {
  position: relative;
  z-index: 4;
  min-height: 308px;
  margin-top: -169px;
  padding: 48px 48px 36px;
  background: var(--green);
}

.waste-card h2 {
  margin-bottom: 32px;
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
}

.waste-card p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.48;
}

.about-original {
  padding: 76px 0 58px;
  text-align: center;
  background: #fff;
}

.about-original h2 {
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1.1;
}

.about-original p {
  max-width: 1240px;
  margin: 0 auto 14px;
  color: #818181;
  font-size: 18px;
  line-height: 1.42;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-contact {
  min-height: 720px;
  padding: 92px 0 110px;
  background: #fff;
}

.home-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 92px;
  align-items: start;
}

.home-contact__copy {
  max-width: 560px;
}

.home-contact__copy h2 {
  margin-bottom: 30px;
  font-size: 46px;
  line-height: 1.08;
  text-transform: uppercase;
}

.original-contact-list {
  display: grid;
  gap: 22px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-line > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.contact-icon--location b {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.contact-icon--location b::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.contact-line p {
  margin: 0;
  color: #151515;
  font-size: 24px;
  line-height: 1.08;
}

.contact-line strong {
  display: block;
  margin-top: 8px;
  color: #151515;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.14;
}

.simple-page {
  background: #fff;
}

.price-page h1 {
  margin-bottom: 48px;
  text-align: center;
  font-size: 64px;
  line-height: 1.1;
}

.permission-page {
  padding: 47px 0 49px;
}

.narrow-copy {
  max-width: 1030px;
}

.permission-page h1 {
  margin-bottom: 42px;
  text-align: center;
  font-size: 48px;
  line-height: 1.15;
}

.permission-copy p {
  margin-bottom: 13px;
  color: #818181;
  font-size: 17.5px;
  line-height: 1.38;
}

.permission-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
}

.permission-actions > a:first-child {
  color: var(--green);
}

.permission-actions .original-button {
  flex: 0 0 auto;
}

.price-page {
  padding: 46px 0 0;
  text-align: center;
  background: #fff;
}

.price-page h1 {
  margin-bottom: 22px;
}

.price-page h2 {
  margin-bottom: 17px;
  font-size: 32px;
  line-height: 1.1;
}

.price-page > .container > p {
  margin: 0 auto 34px;
  color: #818181;
  font-size: 17.5px;
  line-height: 1.4;
}

.price-page > .container > p:nth-of-type(2) {
  margin-bottom: 14px;
}

.price-page > .container > p:nth-of-type(3) {
  margin-bottom: 16px;
}

.pdf-shell {
  padding: 32px 73px 0;
  background: #f4f3f5;
}

.pdf-frame {
  width: 100%;
  min-height: 810px;
  border: 0;
  background: #fff;
}

.original-form {
  padding-top: 42px;
}

.home-contact__form {
  padding-top: 49px;
}

.original-form h2 {
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 1.1;
}

.contact-form {
  display: grid;
  gap: 17px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: #151515;
  font-size: 15px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: #151515;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .68;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.form-status--error {
  color: #a12828;
}

.site-footer {
  color: #fff;
  background: var(--black);
}

.footer-photo {
  min-height: 450px;
  background:
    linear-gradient(rgba(18, 18, 18, 0.52), rgba(18, 18, 18, 0.58)),
    url("assets/footer-mine.jpg") center / cover no-repeat;
}

.footer-grid {
  min-height: 450px;
  padding: 66px 10px 45px;
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.15fr;
  gap: 74px;
  align-items: center;
}

.footer-intro img {
  width: 205px;
  height: 205px;
  margin-bottom: 25px;
  object-fit: contain;
}

.footer-intro p,
.footer-addresses p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-info,
.footer-addresses {
  align-self: center;
}

.footer-info h2 {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 31px;
  line-height: 1.1;
}

.footer-info h3,
.footer-addresses h3 {
  margin: 20px 0 12px;
  color: #fff;
  font-size: 25px;
  line-height: 1.08;
}

.footer-info a {
  display: block;
  margin: 9px 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.footer-support {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: #fff;
}

.footer-support > span {
  color: var(--green);
  font-size: 52px;
  line-height: 1;
}

.footer-support strong {
  font-size: 16px;
  line-height: 1.15;
}

.footer-support b {
  display: block;
  font-size: 25px;
}

.copyright {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--black);
  font-size: 15px;
}

@media (max-width: 1160px) {
  .brand {
    flex-basis: 120px;
  }

  .main-nav {
    gap: 20px;
  }

  .header-call {
    flex-basis: 210px;
  }

  .home-info__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .waste-card {
    grid-column: 1 / -1;
    min-height: 0;
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .top-strip__inner {
    justify-content: center;
  }

  .top-strip__inner {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-block: 7px;
  }

  .top-strip__contacts {
    display: flex;
  }

  .top-strip__contacts a {
    display: none;
  }

  .top-opening-hours {
    display: inline-flex !important;
    font-size: 14px;
  }

  .nav-shell {
    min-height: 86px;
    justify-content: space-between;
  }

  .brand {
    flex-basis: auto;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    display: none;
    padding: 18px 20px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-top: 1px solid #353535;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    text-align: center;
  }

  .header-call {
    display: none;
  }

  .home-hero {
    min-height: 650px;
  }

  .home-hero__content {
    padding-top: 150px;
  }

  .home-info__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-original {
    padding-inline: 10px;
  }

  .permission-actions,
  .home-contact__grid {
    grid-template-columns: 1fr;
  }

  .permission-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-shell {
    padding-inline: 20px;
  }

  .original-form {
    padding-top: 0;
  }

  .home-contact__form {
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 50px;
  }

  .footer-intro img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .home-hero {
    min-height: 570px;
  }

  .home-hero__content {
    padding-top: 120px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-info__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .waste-card {
    grid-column: auto;
    padding: 36px 28px;
  }

  .about-original h2,
  .home-contact__copy h2,
  .permission-page h1 {
    font-size: 34px;
  }

  .home-contact {
    min-height: 0;
    padding: 70px 0;
  }

  .contact-line {
    align-items: flex-start;
  }

  .contact-line > span {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 27px;
  }

  .contact-line p {
    font-size: 20px;
  }

  .contact-line strong {
    font-size: 17px;
  }

  .price-page h1 {
    font-size: 48px;
  }

  .permission-page {
    padding-top: 42px;
  }

  .permission-copy p,
  .price-page > .container > p {
    font-size: 16.5px;
  }

  .pdf-shell {
    margin-inline: -14px;
    padding: 16px 8px 0;
  }

  .pdf-frame {
    min-height: 620px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    padding-inline: 0;
  }

  .copyright {
    padding: 18px 14px;
    text-align: center;
  }
}

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

/* WordPress-specific compatibility */
body.admin-bar .site-header { z-index: 999; }
.cevarec-page-content { padding: 60px 0; }
.cevarec-page-content .entry-content { color: #818181; font-size: 17px; }
.not-found { padding: 90px 0 110px; text-align: center; background: #fff; }
.not-found h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 18px; }
.not-found p { font-size: 18px; }
.not-found .original-button { margin-top: 12px; }


/* Strong visibility fix for homepage info text */

.home-info,
.home-info * {
  text-shadow: none;
}

.home-info .info-item,
.home-info .waste-card {
  color: #fff !important;
}

.home-info .info-item > div,
.home-info .waste-card,
.home-info .waste-card p,
.home-info .waste-card h2,
.home-info .info-item h2,
.home-info .info-item p,
.home-info .info-item p *,
.home-info .info-item h2 * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-info .info-item p,
.home-info .opening-hours-value,
.home-info .waste-card p {
  font-weight: 500;
}


/* Low-profile documentation link and crawlable reference page */
.copyright {
  grid-auto-flow: column;
  justify-content: center;
  gap: 16px;
}

.footer-documentation-link {
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
}

.footer-documentation-link:hover,
.footer-documentation-link:focus-visible {
  color: rgba(255, 255, 255, .82);
  text-decoration: underline;
}

.documentation-page {
  background: #fff;
  color: #767676;
}

.documentation-content {
  max-width: 1040px;
  padding-top: 54px;
  padding-bottom: 70px;
  font-size: 12px;
  line-height: 1.58;
}

.documentation-header {
  margin-bottom: 30px;
}

.documentation-kicker {
  margin: 0 0 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.documentation-content h1 {
  margin: 0 0 13px;
  color: #262626;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.12;
}

.documentation-content h2 {
  margin: 30px 0 8px;
  color: #343434;
  font-size: 17px;
  line-height: 1.2;
}

.documentation-content h3 {
  margin: 17px 0 5px;
  color: #4b4b4b;
  font-size: 13px;
  line-height: 1.3;
}

.documentation-content p {
  margin: 0 0 9px;
}

.documentation-content a {
  color: #4f6e42;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.documentation-facts {
  margin: 10px 0 0;
}

.documentation-facts > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #ededed;
}

.documentation-facts dt {
  color: #4a4a4a;
  font-weight: 700;
}

.documentation-facts dd {
  margin: 0;
}

.documentation-keywords {
  padding: 12px 14px;
  border: 1px solid #efefef;
  background: #fafafa;
  color: #858585;
  font-size: 10.5px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .copyright {
    grid-auto-flow: row;
    gap: 4px;
  }

  .documentation-content {
    padding-top: 38px;
    padding-bottom: 50px;
    font-size: 11.5px;
  }

  .documentation-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
