/*
 * Stabilfészek — Premium visual upgrade
 * Loaded after custom.css. Hungarian-safe (Inter + Raleway both
 * fully support áéíóöőúüű). No emoji or icon fonts beyond the
 * existing tf-* / fa-* sets already loaded by infinity-hugo.
 */

:root {
  --sf-blue:    #2B4B88;
  --sf-blue-d:  #1E3669;
  --sf-navy:    #1C3A6B;
  --sf-ink:     #11192b;
  --sf-copper:  #C89B5C;
  --sf-copper-d:#a87c3f;
  --sf-smoke:   #f4f6f9;
  --sf-line:    #e6e9ef;
  --sf-text:    #4a5360;
}

html { scroll-behavior: smooth; }
body { color: var(--sf-text); background: #fff; }
::selection { background: var(--sf-blue); color: #fff; }
h1,h2,h3,h4,h5,h6 { color: var(--sf-ink); letter-spacing: -0.01em; }

/* ── Eyebrow label ───────────────────────────────────────────────── */
.sf-eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sf-copper);
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 38px;
}
.sf-eyebrow::before {
  content: ""; position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 2px;
  background: var(--sf-copper);
  transform: translateY(-50%);
}
.text-center .sf-eyebrow { padding-left: 0; }
.text-center .sf-eyebrow::before { display: none; }

/* ── Section headings ────────────────────────────────────────────── */
.section { padding: 110px 0 !important; scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 80px; }
.section .heading { margin-bottom: 3.5rem; }
.section .heading h2,
.section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--sf-ink);
}
.section .heading p {
  font-size: 1.05rem;
  color: var(--sf-text);
  max-width: 720px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.navigation {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 2px 20px rgba(17,25,43,0.06);
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--sf-line);
}
.navigation .nav-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--sf-ink) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.navigation .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.25rem;
  height: 2px;
  background: var(--sf-copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.navigation .nav-item .nav-link:hover::after,
.navigation .nav-item.active .nav-link::after { transform: scaleX(1); }
.navigation .nav-item .nav-link:hover,
.navigation .nav-item.active .nav-link { color: var(--sf-blue) !important; }
.navbar-brand img { height: 42px; width: auto; }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero-area {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 60px;
  background-size: cover !important;
  background-position: center !important;
}
.hero-area::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(17,25,43,0.85) 0%, rgba(17,25,43,0.55) 55%, rgba(17,25,43,0.20) 100%),
    linear-gradient(180deg, rgba(17,25,43,0.20), rgba(17,25,43,0.45));
}
.hero-area .container { position: relative; z-index: 2; }
.hero-area .block { padding: 2rem 0; }

.hero-area h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-area p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sf-copper);
  margin-bottom: 1.25rem;
  padding-left: 40px;
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 30px; height: 2px;
  background: var(--sf-copper);
  transform: translateY(-50%);
}

.btn-home {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  background: var(--sf-copper) !important;
  border: 2px solid var(--sf-copper) !important;
  color: #fff !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem !important;
  border-radius: 2px !important;
  box-shadow: 0 10px 30px rgba(200,155,92,0.35);
  transition: all 0.25s ease;
}
.btn-home:hover, .btn-home:focus {
  background: var(--sf-copper-d) !important;
  border-color: var(--sf-copper-d) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(200,155,92,0.45);
}
.btn-home::after { content: "\2192"; font-size: 1.1rem; line-height: 1; }

/* Hero trust badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 560px;
}
.hero-badge { color: #fff; }
.hero-badge__num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hero-badge__num em {
  font-style: normal;
  color: var(--sf-copper);
}
.hero-badge__lbl {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════════ */
.about.bg-gray { background: var(--sf-smoke) !important; }

.about .content h3 {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--sf-ink) !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  padding-bottom: 1.25rem;
}
.about .content h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 3px;
  background: var(--sf-copper);
}
.about .content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--sf-text);
  margin-bottom: 1rem;
}
.about .content strong { color: var(--sf-ink); font-weight: 700; }

.about-slider {
  position: relative;
  box-shadow: 0 30px 60px rgba(17,25,43,0.18);
}
.about-slider::before {
  content: "";
  position: absolute;
  left: -22px; top: -22px;
  width: 80px; height: 80px;
  border-left: 4px solid var(--sf-copper);
  border-top: 4px solid var(--sf-copper);
  z-index: 1;
}
.about-slider::after {
  content: "";
  position: absolute;
  right: -22px; bottom: -22px;
  width: 80px; height: 80px;
  border-right: 4px solid var(--sf-blue);
  border-bottom: 4px solid var(--sf-blue);
  z-index: 1;
}
.about .about-slider img { height: 420px !important; }
.about .owl-pagination { margin-top: 18px; text-align: center; }
.about .owl-page span { background: rgba(43,75,136,0.3) !important; }
.about .owl-page.active span { background: var(--sf-copper) !important; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sf-line);
}
.about-stat__num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sf-blue);
  line-height: 1;
}
.about-stat__num em { font-style: normal; color: var(--sf-copper); margin-left: 2px; }
.about-stat__lbl {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sf-text);
  margin-top: 0.45rem;
  display: block;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════
   FEATURES STRIP — "Miért minket?"
   ══════════════════════════════════════════════════════════════════ */
.features-strip {
  background: linear-gradient(135deg, var(--sf-navy) 0%, var(--sf-blue) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.features-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,0.025) 24px 25px);
  pointer-events: none;
}
.features-strip .feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.feat-item { color: #fff; text-align: left; }
.feat-item__icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(200,155,92,0.18);
  color: var(--sf-copper);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(200,155,92,0.45);
}
.feat-item__title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feat-item__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════════ */
.service { background: #fff; }
.service .heading { text-align: center; }

.service .block {
  background: #fff;
  border: 1px solid var(--sf-line) !important;
  border-top: 1px solid var(--sf-line) !important;
  padding: 2.5rem 1.75rem !important;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  margin-top: 1.5rem;
  height: calc(100% - 1.5rem);
  overflow: hidden;
}
.service .block::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--sf-copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service .block:hover {
  border-top-color: var(--sf-line) !important;
  border-color: transparent !important;
  box-shadow: 0 24px 48px rgba(17,25,43,0.12);
  transform: translateY(-6px);
}
.service .block:hover::before { transform: scaleX(1); }

.service .block i {
  font-size: 1.7rem !important;
  color: var(--sf-blue) !important;
  width: 72px; height: 72px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--sf-smoke);
  border-radius: 50%;
  margin-bottom: 1.3rem !important;
  transition: all 0.3s ease;
}
.service .block:hover i {
  background: var(--sf-blue);
  color: #fff !important;
  transform: rotate(-8deg) scale(1.05);
}
.service .block h3 {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sf-ink) !important;
  margin-bottom: 0.85rem !important;
  word-break: break-word;
  hyphens: auto;
}
@media (min-width: 992px) {
  .service .block h3 { font-size: 1.15rem !important; }
}
.service .block p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--sf-text);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════════════ */
.process {
  background: var(--sf-smoke);
  padding: 110px 0;
}
.process .heading { text-align: center; margin-bottom: 3.5rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 32px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--sf-copper) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 0.5rem; }
.process-step__num {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sf-copper);
  color: var(--sf-blue);
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(17,25,43,0.08);
}
.process-step__title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sf-ink);
  margin-bottom: 0.5rem;
}
.process-step__desc {
  font-size: 0.9rem;
  color: var(--sf-text);
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════
   CALL TO ACTION
   ══════════════════════════════════════════════════════════════════ */
.call-to-action {
  position: relative;
  padding: 110px 0 !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
}
.call-to-action::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(115deg, rgba(17,25,43,0.92) 0%, rgba(43,75,136,0.85) 60%, rgba(17,25,43,0.85) 100%) !important;
}
.call-to-action .container { position: relative; z-index: 2; }
.call-to-action h2 {
  font-family: 'Raleway', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 1rem !important;
  line-height: 1.15 !important;
}
.call-to-action p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1.1rem !important;
  max-width: 720px;
  margin: 0 auto 1.5rem !important;
  padding: 0 !important;
}
.cta-phone-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn-cta-phone {
  background: var(--sf-copper);
  border: 2px solid var(--sf-copper);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  padding: 1rem 2rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(200,155,92,0.35);
}
.btn-cta-phone:hover {
  background: var(--sf-copper-d);
  border-color: var(--sf-copper-d);
  color: #fff;
  transform: translateY(-2px);
}
.btn-cta-email {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.btn-cta-email:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sf-blue);
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════════ */
.contact { background: #fff; }
.contact .heading { text-align: center; }
.contact .form-group {
  background: var(--sf-smoke);
  padding: 2.25rem;
  border-radius: 4px;
  border: 1px solid var(--sf-line);
}
.contact .input-field .form-control {
  background: #fff !important;
  border: 1.5px solid var(--sf-line) !important;
  border-radius: 3px !important;
  height: 52px !important;
  padding: 0 1rem !important;
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact .input-field textarea.form-control {
  height: 140px !important;
  padding-top: 0.85rem !important;
}
.contact .input-field .form-control:focus {
  border-color: var(--sf-blue) !important;
  box-shadow: 0 0 0 4px rgba(43,75,136,0.10) !important;
}
.contact .input-field + .input-field { margin-top: 0.85rem; }
.contact .btn-send {
  margin-top: 1.5rem !important;
  background: var(--sf-blue) !important;
  border: 2px solid var(--sf-blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  height: 54px;
  line-height: 50px !important;
  font-family: 'Raleway', sans-serif;
  border-radius: 3px !important;
}
.contact .btn-send:hover {
  background: var(--sf-copper) !important;
  border-color: var(--sf-copper) !important;
}

.contact-info {
  background: var(--sf-ink);
  color: #fff;
  padding: 2.5rem 2rem !important;
  border-radius: 4px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(200,155,92,0.12);
}
.contact-info-item {
  color: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1rem;
  align-items: center;
}
.contact-info-item:last-child { border-bottom: 0; }
.contact-info-item i {
  color: var(--sf-copper) !important;
  width: 36px; height: 36px;
  background: rgba(200,155,92,0.15);
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center; justify-content: center;
  margin-top: 0 !important;
  min-width: 36px !important;
}
.contact-info-item a, .contact-info-item span {
  color: rgba(255,255,255,0.92) !important;
  font-weight: 500;
}
.contact-info-item a:hover { color: var(--sf-copper) !important; }

.contact-map {
  margin-top: 4rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17,25,43,0.12);
}
.contact-map iframe { height: 420px; filter: none; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--sf-ink);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
footer p { color: rgba(255,255,255,0.7); margin: 0; }
footer .footer-links { margin-bottom: 1rem; }
footer .footer-links a {
  color: rgba(255,255,255,0.78) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
footer .footer-links li { padding: 0 0.4rem; color: rgba(255,255,255,0.25); }
footer .footer-links a:hover { color: var(--sf-copper) !important; }
footer .footer-contact { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 0.6rem; }
footer .footer-contact a { color: rgba(255,255,255,0.85) !important; font-weight: 600; }
footer .footer-contact a:hover { color: var(--sf-copper) !important; }

/* ══════════════════════════════════════════════════════════════════
   REFERENCIÁK
   ══════════════════════════════════════════════════════════════════ */
.referenciak { background: #fff; padding-top: 130px !important; }
.referenciak .heading h2 {
  font-size: 2.6rem;
  color: var(--sf-ink);
}
.ref-card {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--sf-line);
}
.ref-card__cover img { height: 240px; }
.ref-card__overlay {
  background: linear-gradient(135deg, rgba(43,75,136,0.85), rgba(28,58,107,0.75));
}
.ref-card__overlay i { color: #fff; font-size: 2.4rem; }
.ref-card__title { color: var(--sf-ink); }
.ref-card__year { color: var(--sf-copper); }

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-area { min-height: 80vh; }
  .hero-badges { gap: 1.25rem; }
  .hero-badge__num { font-size: 1.5rem; }
  .section { padding: 70px 0 !important; }
  .about-slider::before, .about-slider::after { display: none; }
  .features-strip .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-grid::before { display: none; }
}
@media (max-width: 575px) {
  .hero-area h1 { font-size: 2.1rem !important; }
  .hero-eyebrow { font-size: 0.7rem; padding-left: 30px; }
  .section .heading h2, .section h2 { font-size: 1.9rem; }
  .cta-phone-wrap .btn-cta-phone, .cta-phone-wrap .btn-cta-email { width: 100%; margin: 4px 0; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .about-stat__num { font-size: 1.6rem; }
  .features-strip .feat-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   FONT FALLBACK FIX — theme references unloaded fonts (Cabin, Droid Serif)
   that fall back to Times New Roman. Force Inter/Raleway instead.
   ══════════════════════════════════════════════════════════════════ */
body, p, .heading p, .service .heading p, .contact .heading p,
input, textarea, select, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.about .content h3,
.section h3,
.heading h3 {
  font-family: 'Raleway', 'Inter', sans-serif !important;
}

/* ══════════════════════════════════════════════════════════════════
   PRELOADER — recolor to brand denim blue + copper accent
   ══════════════════════════════════════════════════════════════════ */
.book { border-color: var(--sf-line) !important; }
.book__page {
  background: var(--sf-blue) !important;
  border-top-color: var(--sf-line) !important;
  border-bottom-color: var(--sf-line) !important;
  border-right-color: var(--sf-line) !important;
}
@-webkit-keyframes flip {
  0%   { -webkit-transform: perspective(600px) rotateY(0deg); transform: perspective(600px) rotateY(0deg); }
  20%  { background: #2B4B88; }
  29.9%{ background: #2B4B88; }
  30%  { -webkit-transform: perspective(200px) rotateY(-90deg); transform: perspective(200px) rotateY(-90deg); background: #2B4B88; }
  54.999% { opacity: 1; }
  55%  { opacity: 0; }
  60%  { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #C89B5C; }
  100% { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #C89B5C; }
}
@keyframes flip {
  0%   { transform: perspective(600px) rotateY(0deg); }
  20%  { background: #2B4B88; }
  29.9%{ background: #2B4B88; }
  30%  { transform: perspective(200px) rotateY(-90deg); background: #2B4B88; }
  54.999% { opacity: 1; }
  55%  { opacity: 0; }
  60%  { transform: perspective(200px) rotateY(-180deg); background: #C89B5C; }
  100% { transform: perspective(200px) rotateY(-180deg); background: #C89B5C; }
}
