@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,0,0,0,0,0,0,0,0;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital@1&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* =========================
   Base vars / reset (safe)
   ========================= */
:root{
  --font-head: 'Red Hat Display', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --brand: #4C2718;
  --brand-dark: #6E290D;
  --beige: #F7EFE5;

  /* păstrăm naming-ul existent (chiar dacă e ciudat) ca să nu rupem UI */
  --clr-white: #4C2718;
  --clr-primary: #4C2718;

  --container-pad: clamp(16px, 3vw, 30px);
  --divider-h: clamp(60px, 10vh, 150px);

  /* Premium helpers */
  --glass-bg: rgba(255,255,255,0.62);
  --glass-bg-strong: rgba(255,255,255,0.72);
  --glass-border: rgba(76,39,24,0.18);
  --shadow-soft: 0 18px 46px rgba(0,0,0,0.12);
  --shadow-strong: 0 26px 72px rgba(0,0,0,0.16);

  /* micro-noise (CSS-only, embedded SVG) */
  --ar-noise: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27120%27%20height%3D%27120%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3C/filter%3E%3Crect%20width%3D%27120%27%20height%3D%27120%27%20filter%3D%27url(%23n)%27%20opacity%3D%270.22%27/%3E%3C/svg%3E");
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{
  font-size: 62.5%;
  font-family: var(--font-head) !important;
}

body{
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-head) !important;
  color: var(--brand);
}

body, button, input, textarea, select{ font-family: inherit; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }

/* =========================
   Container / layout
   ========================= */
.container{
  max-width: 1740px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

.divider{ height: var(--divider-h); }
.mytransition{ transition: all 0.5s ease; }

.vertical-line{ width: 1px; background-color: var(--brand); }

.image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: no-repeat;
}

.bg-maro{ background-color: var(--brand); }
.bg-beige{ background-color: var(--beige); }

.btn-rotate:hover img{ transform: rotate(45deg); }
.main-btn:hover{ background-color: var(--brand-dark); }

/* =========================
   Headings (Red Hat Display)
   ========================= */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-head) !important;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

h1{ font-size: clamp(3.2rem, 4vw + 1rem, 6.4rem); }
h2{ font-size: clamp(2.6rem, 3vw + 1rem, 4.8rem); }
h3{ font-size: clamp(2.2rem, 2.2vw + 1rem, 3.6rem); }
h4{ font-size: clamp(2.0rem, 1.8vw + 1rem, 3.2rem); }
h5{ font-size: clamp(1.8rem, 1.2vw + 1rem, 2.4rem); }
h6{ font-size: clamp(1.4rem, 0.8vw + 1rem, 1.6rem); }

/* =========================
   Paragraphs (Plus Jakarta Sans)
   ========================= */
p{
  font-family: var(--font-body) !important;
  font-size: clamp(1.6rem, 0.6vw + 1.2rem, 2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}

/* =========================
   Header
   ========================= */
.main-header{
  position: absolute;
  left: 0;
  right: 0;
  padding-top: clamp(16px, 3vw, 50px);
  width: 100%;
  z-index: 100;
}

.main-header__logo img,
.site-custom-logo img,
.header-logo-img{
  height: clamp(32px, 4vw, 45px);
  width: auto;
  display: block;
}

/* =========================
   Menu (desktop)
   ========================= */
.menu__body{ position: static; }

.menu__list{
  display: flex;
  gap: clamp(16px, 5vw, 80px);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__list li{ position: relative; }

.menu__list a{
  font-family: var(--font-head) !important;
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.6rem);
  font-weight: 700;
  transition: all 0.25s ease;
  border-bottom: transparent solid 2px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.menu__list a:hover{ border-bottom: white solid 2px; }

.icon-menu{ display: none; }

/* =========================
   Desktop submenu hover
   ========================= */
@media (min-width: 1280px){
  .menu__list .sub-menu{
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 240px;
    padding: 12px;
    margin: 0;
    list-style: none;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);

    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
    pointer-events: none;
    transition: all .2s ease;
    z-index: 999;
  }

  .menu__list li:hover > .sub-menu,
  .menu__list li:focus-within > .sub-menu{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .menu__list .sub-menu a{
    font-family: var(--font-head) !important;
    display: flex;
    padding: 10px 12px;
    border-radius: 12px;
    border-bottom: none !important;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: none;
    color: var(--brand);
    transition: all .2s ease;
  }

  .menu__list .sub-menu a:hover{ background: rgba(76,39,24,0.08); }

  .menu__list .menu-item-has-children > a::after{
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255,255,255,0.85);
    border-bottom: 2px solid rgba(255,255,255,0.85);
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform .2s ease;
  }

  .menu__list .menu-item-has-children:hover > a::after{
    transform: rotate(225deg);
  }

  .menu__list .sub-menu .sub-menu{
    top: 0;
    left: calc(100% + 12px);
  }

  .menu__list li > .sub-menu::before{
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
}

/* =========================
   Footer
   ========================= */
.footer-top::after{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
  pointer-events: none;
}

.footer-links h5{ border-bottom: transparent solid 2px; }
.footer-links a:hover h5{ border-bottom: white solid 2px; }

.footer-top .menu__list a{
  font-size: clamp(1.4rem, 0.9vw + 1.1rem, 2rem);
}

/* =========================
   Hero
   ========================= */
.img-bg{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
}

.hero-block::after{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
}

.social-hero:hover{ background-color: white; }
.social-hero:hover img{ filter: invert(1); }

/* =========================
   Inputs (floating labels via CSS)
   ========================= */
.input-group{ position: relative; }

.input{
  display: block;
  background-color: transparent;
  color: var(--clr-white);
  border: 0;
  border-bottom: 1px solid var(--clr-primary);
  font-size: 2rem;
  padding: 10px 10px 10px 5px;
  outline: none;
  transition: border 0.2s ease-out;
  width: 100%;
  font-family: var(--font-body) !important;
}

/* label scoped */
.input-group label{
  color: var(--clr-primary);
  font-size: 2rem;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease;
  font-family: var(--font-body) !important;
}

.input-group .input:focus ~ label,
.input-group .input:not(:placeholder-shown) ~ label{
  top: -10px;
  font-size: 1.4rem;
}

.input-group textarea.input:focus ~ label,
.input-group textarea.input:not(:placeholder-shown) ~ label{
  top: -10px;
  font-size: 1.4rem;
}

/* FIX: select floating label (JS adaugă .is-filled) */
.input-group.is-filled label{
  top: -10px;
  font-size: 1.4rem;
}

/* textarea global (fără !important ca să putem override pe form-uri) */
textarea{
  resize: none;
  overflow: hidden;
  font-family: var(--font-body) !important;
}

/* pe review form permitem resize vertical */
.review-form textarea{
  resize: vertical !important;
  overflow: auto;
}

/* =========================
   Cards / gallery etc
   ========================= */
.service-card{
  border: var(--brand) solid 1px;
  border-radius: clamp(24px, 4vw, 60px);
  padding: clamp(24px, 4vw, 60px) clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover{
  background-color: var(--brand);
  color: white;
}

.service-card:hover img{ filter: invert(1) brightness(2); }

/* ======================================================
   HOME GALLERY (Swiper) – PREMIUM + WOW (ACTUALIZAT)
   - shadow/outline elegant pe hover
   - cursor grab
   - fade gradient pe margini
   ====================================================== */

/* poți schimba aici background-ul fade-ului dacă secțiunea nu e pe beige */
.home-gallery{ --gallery-fade-bg: var(--beige); }

.home-gallery .mySwiper{
  position: relative;
  overflow: hidden;
  border-radius: 60px;
  isolation: isolate;
  cursor: grab;
}
.home-gallery .mySwiper:active{ cursor: grabbing; }

/* fade margins */
.home-gallery .mySwiper::before,
.home-gallery .mySwiper::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(22px, 4vw, 90px);
  pointer-events: none;
  z-index: 5;
  opacity: .95;
}
.home-gallery .mySwiper::before{
  left: 0;
  background: linear-gradient(to right, var(--gallery-fade-bg), rgba(247,239,229,0));
}
.home-gallery .mySwiper::after{
  right: 0;
  background: linear-gradient(to left, var(--gallery-fade-bg), rgba(247,239,229,0));
}

/* slide */
.home-gallery .swiper-slide{
  height: 420px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;

  border: 1px solid rgba(76,39,24,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);

  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

/* hover premium */
.home-gallery .swiper-slide:hover{
  border-color: rgba(76,39,24,0.22);
  box-shadow: 0 22px 60px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

/* overlay subtil */
.home-gallery .swiper-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,0) 55%);
}
.home-gallery .swiper-slide:hover::after{ opacity: .65; }

/* imagine: full cover */
.home-gallery .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1);
  transition: transform .45s ease, filter .45s ease;
}
.home-gallery .swiper-slide:hover img{
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

/* link wrapper */
.home-gallery .swiper-slide a{
  width: 100%;
  height: 100%;
  display: block;
}

/* butoane nav */
.home-gallery .swiper-button-prev-custom,
.home-gallery .swiper-button-next-custom{
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  user-select: none;
}
.home-gallery .swiper-button-prev-custom:hover,
.home-gallery .swiper-button-next-custom:hover{
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

/* disabled */
.home-gallery .swiper-button-disabled{
  opacity: .35;
  cursor: not-allowed !important;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

/* responsive */
@media (max-width: 1024px){
  .home-gallery .mySwiper{ border-radius: 44px; }
  .home-gallery .swiper-slide{ height: 360px; border-radius: 34px; }
}
@media (max-width: 768px){
  .home-gallery .mySwiper{ border-radius: 32px; }
  .home-gallery .swiper-slide{ height: 300px; border-radius: 28px; }

  .home-gallery .swiper-button-prev-custom,
  .home-gallery .swiper-button-next-custom{
    width: 54px;
    height: 54px;
  }
}
@media (max-width: 480px){
  .home-gallery .mySwiper{ border-radius: 26px; }
  .home-gallery .swiper-slide{ height: 260px; border-radius: 22px; }
}

.social-block img{
  filter: brightness(0) saturate(100%) invert(15%) sepia(56%) saturate(606%) hue-rotate(333deg) brightness(99%) contrast(95%);
}
.social-block:hover{ transform: scale(1.1); }

.video-link:hover .video-arrow{ background-color: var(--brand); }
.video-link:hover img{ filter: invert(1); }

.new-card:hover{ background-color: var(--brand); color: #fff; }
.new-card:hover .news-arrow{ background-color: #fff; }
.new-card:hover .news-arrow img{ filter: invert(1); }

.service-item:nth-child(even){ flex-direction: row-reverse; }
.service-item:nth-child(even) .service-item-photo{ transform: scaleX(-1); }

.social-contact{ border: solid 1px var(--brand); }
.social-contact img{
  filter: brightness(0) saturate(100%) invert(15%) sepia(56%) saturate(606%) hue-rotate(333deg) brightness(99%) contrast(95%);
}
.social-contact:hover{
  background-color: var(--brand);
  border: var(--brand);
}
.social-contact:hover img{ filter: none; }

.about-contact:hover .about-arrow{ background-color: #FFF5EA; }
.about-contact:hover img{ filter: invert(1); }

/* =========================
   MOBILE MENU (compat _active + submenu-open)
   ========================= */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 998;
}

body.menu-open{ overflow: hidden; }
body.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1279px){
  .icon-menu{
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
  }

  .icon-menu span{
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 99px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .icon-menu span + span{ margin-top: 6px; }

  .icon-menu._active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .icon-menu._active span:nth-child(2){ opacity: 0; }
  .icon-menu._active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  .menu__body{
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(92vw, 420px);
    background: rgba(76,39,24,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transform: translateX(110%);
    transition: transform .25s ease;

    z-index: 999;
    padding: 92px 22px 22px;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,0.18);
  }

  .menu__body._active{ transform: translateX(0); }

  .menu__list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .menu__list > li{
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .menu__list > li:first-child{ border-top: 0; }

  .menu__list a{
    width: 100%;
    padding: 10px 6px;
    border-bottom: none !important;
    color: #fff;
    text-transform: none;
    font-size: 1.7rem;
    font-family: var(--font-head) !important;
  }

  .menu__list .sub-menu{
    position: static;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    margin: 8px 0 0;
    padding: 0 10px;
    list-style: none;

    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
  }

  .menu__list li.submenu-open > .sub-menu{
    max-height: 520px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu__list .sub-menu a{
    color: #fff;
    font-size: 1.5rem;
    padding: 10px 8px;
    border-radius: 12px;
    font-family: var(--font-head) !important;
  }

  .menu__list .sub-menu a:hover{
    background: rgba(255,255,255,0.10);
  }

  .menu__list .menu-item-has-children > a{
    position: relative;
    padding-right: 34px;
  }

  .menu__list .menu-item-has-children > a::after{
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid rgba(255,255,255,0.95);
    border-bottom: 2px solid rgba(255,255,255,0.95);
    transform: translateY(-50%) rotate(45deg);
    transition: transform .2s ease;
  }

  .menu__list li.submenu-open > a::after{
    transform: translateY(-50%) rotate(225deg);
  }

  .service-item:nth-child(even){ flex-direction: column; }
  .service-item:nth-child(even) .service-item-photo{ transform: none; }
}

@media (max-width: 480px){
  .container{ padding-left: 14px; padding-right: 14px; }
}

.site-title-fallback{
  font-family: var(--font-head) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 1vw + 1.2rem, 2.6rem);
  color: #fff;
  line-height: 1;
}

/* =========================
   Contact + Review privacy checkbox (unificat)
   ========================= */
#ar-contact-form .cf7-privacy,
#ar-home-contact-form .cf7-privacy,
#ar-review-form .cf7-privacy{
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-family: var(--font-body) !important;
  font-size: 1.9rem;
  line-height: 1.45;
}

#ar-contact-form .cf7-privacy span,
#ar-home-contact-form .cf7-privacy span,
#ar-review-form .cf7-privacy span{ font-size: inherit; }

#ar-contact-form .cf7-privacy a,
#ar-home-contact-form .cf7-privacy a,
#ar-review-form .cf7-privacy a{
  font-size: inherit;
  text-decoration: underline;
}

#ar-contact-form .cf7-privacy input[type="checkbox"],
#ar-home-contact-form .cf7-privacy input[type="checkbox"],
#ar-review-form .cf7-privacy input[type="checkbox"]{
  width: 24px;
  height: 24px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

/* =========================
   Contact form spacing
   ========================= */
#ar-contact-form .cf7-bottom-row,
#ar-home-contact-form .cf7-bottom-row{
  width: 100%;
  margin-top: 10px;
  gap: 28px;
  padding-top: 4px;
}

#ar-contact-form button[type="submit"],
#ar-home-contact-form button[type="submit"]{ margin-top: 2px; }

@media (max-width: 639px){
  #ar-contact-form button[type="submit"],
  #ar-home-contact-form button[type="submit"]{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   AJAX notice (PLUGIN): .arcm-alert
   ========================= */
#ar-contact-form .arcm-alert,
#ar-home-contact-form .arcm-alert{
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;

  font-family: var(--font-body) !important;
  font-size: 1.7rem;
  line-height: 1.35;

  border: 1px solid rgba(76,39,24,0.18);
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  position: relative;

  transition: opacity .22s ease, transform .22s ease;
}

/* show */
#ar-contact-form .arcm-alert.is-visible,
#ar-contact-form .arcm-alert:not(:empty),
#ar-home-contact-form .arcm-alert.is-visible,
#ar-home-contact-form .arcm-alert:not(:empty){
  display: block;
  animation: arNoticePop .18s ease-out;
}

#ar-contact-form .arcm-alert.is-hiding,
#ar-home-contact-form .arcm-alert.is-hiding{
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

#ar-contact-form .arcm-alert.is-success,
#ar-home-contact-form .arcm-alert.is-success{
  border-color: rgba(24, 120, 60, 0.28);
  background: rgba(230, 255, 240, 0.78);
  padding-left: 54px;
}

#ar-contact-form .arcm-alert.is-success::before,
#ar-home-contact-form .arcm-alert.is-success::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 120, 60, 0.12);
  border: 1px solid rgba(24, 120, 60, 0.18);
  font-weight: 800;
}

#ar-contact-form .arcm-alert.is-error,
#ar-home-contact-form .arcm-alert.is-error{
  border-color: rgba(170, 30, 30, 0.30);
  background: rgba(255, 235, 235, 0.82);
  padding-left: 54px;
}

#ar-contact-form .arcm-alert.is-error::before,
#ar-home-contact-form .arcm-alert.is-error::before{
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 30, 30, 0.10);
  border: 1px solid rgba(170, 30, 30, 0.18);
  font-weight: 900;
}

/* =========================
   Inline errors (PLUGIN): .arcm-field-msg
   ========================= */
#ar-contact-form .arcm-field-msg,
#ar-home-contact-form .arcm-field-msg{
  margin-top: 10px;
  font-family: var(--font-body) !important;
  font-size: 1.4rem;
  line-height: 1.35;
  color: rgba(170, 30, 30, 0.95);
}

/* highlight erori pe câmpuri (conform plugin) */
#ar-contact-form .arcm-field-error,
#ar-home-contact-form .arcm-field-error{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-contact-form .input-group.arcm-has-error .input,
#ar-contact-form .input-group.is-field-error .input,
#ar-home-contact-form .input-group.arcm-has-error .input,
#ar-home-contact-form .input-group.is-field-error .input{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-contact-form .input-group.arcm-has-error label,
#ar-contact-form .input-group.is-field-error label,
#ar-home-contact-form .input-group.arcm-has-error label,
#ar-home-contact-form .input-group.is-field-error label{
  color: rgba(220, 38, 38, 0.88) !important;
}

/* submit loading (plugin pune aria-busy + is-loading) */
#ar-contact-form button[aria-busy="true"],
#ar-contact-form button.is-loading,
#ar-home-contact-form button[aria-busy="true"],
#ar-home-contact-form button.is-loading{
  opacity: .75;
  pointer-events: none;
}

/* =========================
   Reduce motion (UPDATE: include home alert)
   ========================= */
@media (prefers-reduced-motion: reduce){
  .review .review-card,
  .review .ar-stars,
  .review .ar-featured-badge::after,
  #ar-contact-form .arcm-alert,
  #ar-home-contact-form .arcm-alert,
  .home-gallery .swiper-slide,
  .home-gallery .swiper-slide img{
    transition: none !important;
    animation: none !important;
  }
}


/* =========================
   Inline errors (PLUGIN): .arcm-field-msg
   ========================= */
#ar-contact-form .arcm-field-msg{
  margin-top: 10px;
  font-family: var(--font-body) !important;
  font-size: 1.4rem;
  line-height: 1.35;
  color: rgba(170, 30, 30, 0.95);
}

/* highlight erori pe câmpuri (conform plugin) */
#ar-contact-form .arcm-field-error{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-contact-form .input-group.arcm-has-error .input,
#ar-contact-form .input-group.is-field-error .input{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-contact-form .input-group.arcm-has-error label,
#ar-contact-form .input-group.is-field-error label{
  color: rgba(220, 38, 38, 0.88) !important;
}

/* submit loading (plugin pune aria-busy + is-loading) */
#ar-contact-form button[aria-busy="true"],
#ar-contact-form button.is-loading{
  opacity: .75;
  pointer-events: none;
}

/* =========================================================
   REVIEWS (AR Reviews) – premium + featured spotlight
   ========================================================= */

/* Swiper: stretch slides -> card same height */
.review .ReviewSwiper .swiper-wrapper{ align-items: stretch; }
.review .ReviewSwiper .swiper-slide{ height: auto; display: flex; }

/* ca să nu fie “lipite” când slide-ul activ are scale */
.review .ReviewSwiper{
  padding-left: 6px;
  padding-right: 6px;
}

.review .review-card{
  height: 100%;
  width: 100%;
  --ar-card-scale: 1;

  position: relative;
  overflow: hidden;

  border-color: rgba(76,39,24,0.82);
  border-width: 1px;

  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.70), rgba(255,255,255,0.00) 55%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.45), rgba(255,255,255,0.00) 60%),
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.52));

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* box-shadow:
    0 18px 46px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.55); */

  transform: translateY(0) scale(var(--ar-card-scale));
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  will-change: transform;
}

.review .review-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.00));
  opacity: .55;
}

.review .review-card:hover{
  transform: translateY(-4px) scale(var(--ar-card-scale));
  /* box-shadow:
    0 26px 72px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.62); */
}

/* (ajustat) scale mai mic -> nu se “lipesc” slide-urile */
.review .swiper-slide-active .review-card{ --ar-card-scale: 1.02; }

.review .swiper-slide.is-featured .review-card{ border-width: 2px; }

.review .swiper-slide.is-featured.swiper-slide-active .review-card{
  --ar-card-scale: 1.06;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.78), rgba(255,255,255,0.00) 55%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.52), rgba(255,255,255,0.00) 60%),
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.56));
  box-shadow: 0 32px 92px rgba(0,0,0,0.18);
}

.review .swiper-slide-prev .review-card,
.review .swiper-slide-next .review-card{ opacity: .94; }

/* Text clamp */
.review .review-text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-family: var(--font-body) !important;
  letter-spacing: 0.01em;
  opacity: .96;
}
@media (max-width: 767px){ .review .review-text{ -webkit-line-clamp: 9; } }
@media (min-width: 768px) and (max-width: 1023px){ .review .review-text{ -webkit-line-clamp: 8; } }
@media (min-width: 1024px){ .review .review-text{ -webkit-line-clamp: 7; } }

/* Stele rating */
.review .ar-stars{
  letter-spacing: 3px;
  user-select: none;
  opacity: .92;
  transition: transform .18s ease, opacity .18s ease;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.review .review-card:hover .ar-stars{
  transform: translateY(-1px);
  opacity: 1;
}

/* Rating text */
.review .ar-rating-text{
  font-family: var(--font-body) !important;
  font-size: 1.4rem;
  line-height: 1.2;
  opacity: .72;
  letter-spacing: 0.02em;
}

/* =========================
   NEW (review.php): badges container + date badge + rating chip + avatar icon
   ========================= */
.review .ar-card-badges{
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 5;
}

.review .ar-review-date-badge{
  position: relative;
  overflow: hidden;

  font-family: var(--font-body) !important;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  border: 1px solid rgba(76,39,24,0.18);
  border-radius: 999px;

  padding: 8px 12px;

  background:
    var(--ar-noise),
    rgba(255,255,255,0.58);
  background-blend-mode: soft-light, normal;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 22px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.60);

  opacity: .82;
}

.review .ar-review-date-badge::after{
  content:"";
  position:absolute;
  inset:-2px;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: arDateShine 2.8s ease-in-out infinite;
  pointer-events:none;
  opacity: .55;
}

@keyframes arDateShine{
  0%{ transform: translateX(-120%); opacity: 0; }
  18%{ opacity: 1; }
  70%{ opacity: 1; }
  100%{ transform: translateX(120%); opacity: 0; }
}

.review .ar-rating-chip{
  font-family: var(--font-body) !important;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(76,39,24,0.16);

  background:
    var(--ar-noise),
    rgba(255,255,255,0.48);
  background-blend-mode: soft-light, normal;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 22px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.55);

  opacity: .78;
}

/* dacă există un icon în HTML, îl ascundem */
.review .ar-review-avatar-icon{
  display: none !important;
  color: var(--brand);
}

/* =========================
   Avatar (reviews) – CLEAN: doar 2 cercuri (outer + inner)
   ========================= */
.review .ar-review-avatar{
  position: relative;
  overflow: hidden;

  border-color: rgba(76,39,24,0.78) !important;

  background: rgba(255,255,255,0.62) !important;
  background-image: none !important;
  background-blend-mode: normal !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 14px 34px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.60);
}

/* cercul interior (al doilea cerc) */
.review .ar-review-avatar::before{
  content:"";
  position:absolute;
  inset: 7px;
  border-radius: 999px;
  border: 1px solid rgba(76,39,24,0.14);
  pointer-events:none;
}

/* scoate shine-ul */
.review .ar-review-avatar::after{
  content: none !important;
}

/* inițiale: text simplu */
.review .ar-review-initials{
  position: relative;
  z-index: 2;

  color: var(--brand);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.60);
  transform: none !important;
}

/* elimină complet “ovalul” de sub inițiale */
.review .ar-review-initials::before,
.review .review-card:hover .ar-review-initials::before{
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================
   Featured badge: mai mic + glass + shine
   ========================= */
.review .ar-featured-badge{
  position: relative;
  overflow: hidden;

  font-size: 1.0rem !important;
  padding: 6px 10px !important;
  letter-spacing: 0.10em !important;

  border-color: rgba(76,39,24,0.78) !important;
  background:
    var(--ar-noise),
    rgba(255,255,255,0.72) !important;

  background-blend-mode: soft-light, normal;

  box-shadow:
    0 10px 22px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.60);
}

.review .ar-featured-badge::after{
  content: "";
  position: absolute;
  inset: -2px;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: arBadgeShine 2.2s ease-in-out infinite;
  pointer-events: none;
  opacity: .65;
}

@keyframes arBadgeShine{
  0%{ transform: translateX(-120%); opacity: 0; }
  15%{ opacity: 1; }
  60%{ opacity: 1; }
  100%{ transform: translateX(120%); opacity: 0; }
}

/* Fallback dacă Swiper nu e încărcat */
.review .ReviewSwiper.no-swiper .swiper-wrapper{
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review .ReviewSwiper.no-swiper .swiper-slide{
  min-width: min(86vw, 520px);
  scroll-snap-align: start;
}

/* =========================
   Reviews – smart name overflow
   ========================= */
.review .ar-review-name{
  text-transform: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;

  font-family: var(--font-head) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.review .ar-review-name.is-short{ letter-spacing: 0.01em; }
.review .ar-review-name.is-micro{ letter-spacing: 0.02em; }

/* =========================
   REVIEW FORM – rating stars + wow
   ========================= */
.review-form .ar-rating input{
  position: absolute;
  left: -9999px;
}

.review-form .ar-rating{ position: relative; }

.review-form .ar-rating label{
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: .35;
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
  filter: saturate(0.7);
  transform-origin: center;
}

.review-form .ar-rating input:checked ~ label{
  opacity: 1;
  filter: saturate(1);
}

.review-form .ar-rating label:hover,
.review-form .ar-rating label:hover ~ label{
  opacity: 1;
  filter: saturate(1);
}

/* micro-pop */
.review-form .ar-rating.is-pop label{ animation: arPop .28s ease; }

@keyframes arPop{
  0%{ transform: scale(1); }
  40%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}

/* WOW pentru 5★ */
.review-form .ar-rating.is-wow::after{
  content: "✨";
  position: absolute;
  right: -22px;
  top: -10px;
  font-size: 18px;
  animation: arSpark .7s ease forwards;
  opacity: 0;
}

@keyframes arSpark{
  0%{ transform: translateY(6px) scale(.7); opacity: 0; }
  30%{ opacity: 1; }
  100%{ transform: translateY(-10px) scale(1.1); opacity: 0; }
}

/* =========================
   Review form – inline field errors (client-side UX)
   ========================= */
.review-form .ar-field-msg{
  margin-top: 10px;
  font-family: var(--font-body) !important;
  font-size: 1.4rem;
  line-height: 1.35;
  color: rgba(170, 30, 30, 0.95);
}

.review-form .input-group.is-field-error .input{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

.review-form .input-group.is-field-error label{
  color: rgba(220, 38, 38, 0.88) !important;
}

/* =========================
   Review form – submit message
   ========================= */
.review-form [data-ar-message]{
  display: none;
  margin-top: 18px !important;
  padding: 16px 18px;
  border-radius: 20px;

  font-family: var(--font-body) !important;
  font-size: 1.6rem;
  line-height: 1.35;

  border: 1px solid rgba(76,39,24,0.18);
  background:
    var(--ar-noise),
    rgba(255,255,255,0.66);
  background-blend-mode: soft-light, normal;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  position: relative;
}

/* show */
.review-form [data-ar-message].is-visible,
.review-form [data-ar-message]:not(:empty){
  display: block;
  animation: arNoticePop .18s ease-out;
}

.review-form [data-ar-message].is-hiding{
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}

.review-form [data-ar-message].is-success,
.review-form [data-ar-message].success{
  border-color: rgba(24, 120, 60, 0.28);
  background:
    var(--ar-noise),
    rgba(230, 255, 240, 0.78);
  background-blend-mode: soft-light, normal;
  padding-left: 54px;
}

.review-form [data-ar-message].is-success::before,
.review-form [data-ar-message].success::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 120, 60, 0.12);
  border: 1px solid rgba(24, 120, 60, 0.18);
  font-weight: 800;
}

.review-form [data-ar-message].is-error,
.review-form [data-ar-message].error{
  border-color: rgba(170, 30, 30, 0.30);
  background:
    var(--ar-noise),
    rgba(255, 235, 235, 0.82);
  background-blend-mode: soft-light, normal;
  padding-left: 54px;
}

.review-form [data-ar-message].is-error::before,
.review-form [data-ar-message].error::before{
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 30, 30, 0.10);
  border: 1px solid rgba(170, 30, 30, 0.18);
  font-weight: 900;
}

/* =========================
   Reduce motion
   ========================= */
@media (prefers-reduced-motion: reduce){
  .review .review-card,
  .review .ar-stars,
  .review .ar-featured-badge::after,
  #ar-contact-form .arcm-alert,
  .home-gallery .swiper-slide,
  .home-gallery .swiper-slide img{
    transition: none !important;
    animation: none !important;
  }
}

/* ======================================================
   HOME GALLERY (Swiper) – ALBUMS (FINAL / CLEAN)
   - fără edge fade stânga/dreapta
   - meta + titlu mereu vizibile
   - descriere doar pe hover (pe mobile e vizibilă)
   - CTA centru pe hover (pe mobile e vizibil)
   - smart text color (hg-dark / hg-light) din JS
   - compat: dacă mai există .hg-kicker, îl stilizăm ca .hg-meta
   ====================================================== */

/* 0) Swiper container: clean, no masks, no bg */
.home-gallery.home-gallery--albums .mySwiper{
  position: relative;
  overflow: visible !important;
  border-radius: 0 !important;
  isolation: isolate;
  cursor: grab;

  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;

  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.home-gallery.home-gallery--albums .mySwiper:active{ cursor: grabbing; }

/* scoate complet fade margins DOAR aici */
.home-gallery.home-gallery--albums .mySwiper::before,
.home-gallery.home-gallery--albums .mySwiper::after{
  content: none !important;
  display: none !important;
}

.home-gallery.home-gallery--albums .swiper-wrapper{
  background: transparent !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  align-items: stretch;
}

/* slide: styling e pe hg-card */
.home-gallery.home-gallery--albums .swiper-slide{
  height: auto !important;
  border-radius: 0 !important;
  overflow: visible !important;

  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;

  transition: none !important;
}
.home-gallery.home-gallery--albums .swiper-slide::after{
  content: none !important;
  display: none !important;
}

/* link wrapper */
.home-gallery.home-gallery--albums .swiper-slide a{
  width: 100%;
  height: 100%;
  display: block;
}

/* nav buttons (păstrează premium) */
.home-gallery.home-gallery--albums .swiper-button-prev-custom,
.home-gallery.home-gallery--albums .swiper-button-next-custom{
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  user-select: none;
}
.home-gallery.home-gallery--albums .swiper-button-prev-custom:hover,
.home-gallery.home-gallery--albums .swiper-button-next-custom:hover{
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
}
.home-gallery.home-gallery--albums .swiper-button-disabled{
  opacity: .35;
  cursor: not-allowed !important;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

/* =========================
   HG CARD (album cover)
   ========================= */
.home-gallery--albums .hg-card{
  position: relative;
  border: 1px solid rgba(76,39,24,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

/* hover lift */
.home-gallery--albums .group:hover .hg-card{
  border-color: rgba(76,39,24,0.22);
  box-shadow: 0 22px 60px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

/* neutralizează hover-ul global pe imagini (din .home-gallery normal) */
.home-gallery--albums .swiper-slide img{
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* hover doar pe hg-img */
.home-gallery--albums img.hg-img{
  transform: scale(1);
  transition: transform .45s ease, filter .45s ease;
}
.home-gallery--albums .group:hover img.hg-img{
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.03);
}

/* overlay container */
.home-gallery--albums .hg-overlay{
  position: absolute;
  inset: 0;
}

/* =========================
   Fade gradient (NO BLUR)
   - discret permanent; pe hover mai puternic
   ========================= */
.home-gallery--albums .hg-fade{
  position: absolute;
  inset: 0;
  opacity: .22;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}
.home-gallery--albums .group:hover .hg-fade{ opacity: .62; }

.home-gallery--albums .hg-card.hg-dark .hg-fade{
  background: linear-gradient(to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.14) 48%,
    rgba(0,0,0,0) 76%
  );
}
.home-gallery--albums .hg-card.hg-light .hg-fade{
  background: linear-gradient(to top,
    rgba(255,255,255,.82) 0%,
    rgba(255,255,255,.18) 48%,
    rgba(255,255,255,0) 76%
  );
}
/* fallback înainte de analiză */
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-fade{
  background: linear-gradient(to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.14) 48%,
    rgba(0,0,0,0) 76%
  );
}

/* =========================
   Badge: count (top-left)
   ========================= */
.home-gallery--albums .hg-count{
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;

  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .01em;

  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* =========================
   Album index (bottom-right)
   ========================= */
.home-gallery--albums .hg-index{
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 1;

  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  font-size: clamp(44px, 4.6vw, 72px);

  opacity: .22;
  pointer-events: none;
  user-select: none;
}

/* =========================
   Bottom details (META + TITLE always)
   ========================= */
.home-gallery--albums .hg-details{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 5;
}

/* META: "2025 • Paris" */
.home-gallery--albums .hg-meta,
.home-gallery--albums .hg-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: .86;

  margin-bottom: 10px;
}

/* micro-line după meta */
.home-gallery--albums .hg-meta::after,
.home-gallery--albums .hg-kicker::after{
  content:"";
  width: 46px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: .22;
}

/* TITLE: editorial micro-caps */
.home-gallery--albums .hg-title{
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.10em;
  font-size: 18px;
  line-height: 1.06;
  max-width: 92%;
  opacity: .96;
}
.home-gallery--albums .hg-title::after{
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  border-radius: 999px;
  margin-top: 12px;
  background: currentColor;
  opacity: .18;
}

/* DESC: ascuns până la hover */
.home-gallery--albums .hg-desc{
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);

  border-left: 2px solid currentColor;
  padding-left: 12px;

  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: 0.01em;

  transition: opacity .25s ease, transform .25s ease, max-height .25s ease, margin-top .25s ease;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-gallery--albums .group:hover .hg-desc{
  margin-top: 10px;
  max-height: 56px;
  opacity: .92;
  transform: translateY(0);
}

/* =========================
   Center CTA (hover)
   ========================= */
.home-gallery--albums .hg-center-cta{
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;

  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.home-gallery--albums .group:hover .hg-center-cta{
  opacity: 1;
  transform: translateY(0);
}

.home-gallery--albums .hg-center-pill{
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .01em;

  box-shadow: 0 18px 46px rgba(0,0,0,.18);
  user-select: none;

  position: relative;
  overflow: hidden;
}

/* shine pe hover */
.home-gallery--albums .hg-center-pill::after{
  content: "";
  position: absolute;
  inset: -2px;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  opacity: .55;
  pointer-events: none;
}
.home-gallery--albums .group:hover .hg-center-pill::after{
  animation: hgPillShine 1.8s ease-in-out infinite;
}
@keyframes hgPillShine{
  0%{ transform: translateX(-120%); opacity: 0; }
  18%{ opacity: .55; }
  70%{ opacity: .55; }
  100%{ transform: translateX(120%); opacity: 0; }
}

.home-gallery--albums .hg-center-arrow{
  font-size: 18px;
  line-height: 1;
}

/* =========================
   Smart colors (dark / light)
   ========================= */

/* DARK image -> white */
.home-gallery--albums .hg-card.hg-dark .hg-meta,
.home-gallery--albums .hg-card.hg-dark .hg-kicker,
.home-gallery--albums .hg-card.hg-dark .hg-title,
.home-gallery--albums .hg-card.hg-dark .hg-desc,
.home-gallery--albums .hg-card.hg-dark .hg-index{
  color: #fff;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.home-gallery--albums .hg-card.hg-dark .hg-count{
  color: #fff;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.home-gallery--albums .hg-card.hg-dark .hg-center-pill{
  color: #fff;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.22);
}

/* LIGHT image -> black */
.home-gallery--albums .hg-card.hg-light .hg-meta,
.home-gallery--albums .hg-card.hg-light .hg-kicker,
.home-gallery--albums .hg-card.hg-light .hg-title,
.home-gallery--albums .hg-card.hg-light .hg-desc,
.home-gallery--albums .hg-card.hg-light .hg-index{
  color: #111;
  text-shadow: 0 10px 26px rgba(255,255,255,.35);
}
.home-gallery--albums .hg-card.hg-light .hg-count{
  color: #111;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.home-gallery--albums .hg-card.hg-light .hg-center-pill{
  color: #111;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(0,0,0,.10);
}

/* fallback înainte de analiză */
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-meta,
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-kicker,
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-title,
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-desc,
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-index{
  color: #fff;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-count{
  color: #fff;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.home-gallery--albums .hg-card:not(.hg-dark):not(.hg-light) .hg-center-pill{
  color: #fff;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.22);
}

/* =========================
   Mobile (no hover)
   - arătăm și descrierea + CTA
   ========================= */
@media (hover: none){
  .home-gallery--albums .hg-fade{ opacity: .55; }
  .home-gallery--albums .hg-center-cta{ opacity: 1; transform: none; }
  .home-gallery--albums .hg-desc{
    margin-top: 10px;
    max-height: 56px;
    opacity: .90;
    transform: none;
  }
}

/* responsive paddings */
@media (max-width: 768px){
  .home-gallery--albums .hg-count{
    top: 14px;
    left: 14px;
    padding: 9px 11px;
  }
  .home-gallery--albums .hg-index{
    right: 14px;
    bottom: 12px;
  }
  .home-gallery--albums .hg-details{
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .home-gallery--albums .hg-title{
    font-size: 17px;
    letter-spacing: 0.09em;
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .home-gallery--albums .hg-card,
  .home-gallery--albums img.hg-img,
  .home-gallery--albums .hg-center-cta,
  .home-gallery--albums .hg-fade,
  .home-gallery--albums .hg-desc{
    transition: none !important;
    animation: none !important;
  }
}

/* About Gallery - prevenim overflow orizontal (spațiu în header/footer) */
.about-gallery,
.about-gallery-strip,
.about-gallery-track {
  max-width: 100%;
}

/* Ascundem scrollbar + scroll smooth */
.about-gallery-track {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.about-gallery-track::-webkit-scrollbar { display: none; }

/* wpautop poate introduce <p> cu margin => spațiu nedorit */
.about-gallery-text p { margin: 0; }
.about-gallery-text p + p { margin-top: 14px; }

/* Fade premium (mask) – nu afectează layout */
.about-gallery-strip {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
@media (min-width: 1024px) {
  .about-gallery-strip { -webkit-mask-image: none; mask-image: none; }
}


/* roxy adaptive */

@media (max-width: 768px){
  .btn-rotate{
    transform: scale(0.8);
  }

  .btn-rotate.bg-maro, .btn-rotate.video-link, .w-full .btn-rotate{
    transform-origin: left center;
  }

  .cf7-bottom-row .btn-rotate, .review-form__wrap .btn-rotate{
    transform-origin:  center;
  }

  .social-hero{
    transform: scale(0.9);
  }
}

/* =========================================================
   NEWS FORM – stil identic cu celelalte formulare (HOME/CONTACT)
   Adaugă blocul ăsta la final în css-tailwind.css
   (nu strică nimic: doar extinde selectorii existenți)
   ========================================================= */

/* =========================
   Privacy checkbox (unificat)
   ========================= */
#ar-news-contact-form .cf7-privacy{
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-family: var(--font-body) !important;
  font-size: 1.9rem;
  line-height: 1.45;
}

#ar-news-contact-form .cf7-privacy span{ font-size: inherit; }

#ar-news-contact-form .cf7-privacy a{
  font-size: inherit;
  text-decoration: underline;
}

#ar-news-contact-form .cf7-privacy input[type="checkbox"]{
  width: 24px;
  height: 24px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

/* =========================
   Bottom row spacing (ca la home/contact)
   ========================= */
#ar-news-contact-form .cf7-bottom-row{
  width: 100%;
  margin-top: 10px;
  gap: 28px;
  padding-top: 4px;
}

#ar-news-contact-form button[type="submit"]{ margin-top: 2px; }

@media (max-width: 639px){
  #ar-news-contact-form button[type="submit"]{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   AJAX notice (PLUGIN): .arcm-alert
   ========================= */
#ar-news-contact-form .arcm-alert{
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;

  font-family: var(--font-body) !important;
  font-size: 1.7rem;
  line-height: 1.35;

  border: 1px solid rgba(76,39,24,0.18);
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  position: relative;

  transition: opacity .22s ease, transform .22s ease;
}

/* show */
#ar-news-contact-form .arcm-alert.is-visible,
#ar-news-contact-form .arcm-alert:not(:empty){
  display: block;
  animation: arNoticePop .18s ease-out;
}

/* hide anim */
#ar-news-contact-form .arcm-alert.is-hiding{
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

/* success */
#ar-news-contact-form .arcm-alert.is-success{
  border-color: rgba(24, 120, 60, 0.28);
  background: rgba(230, 255, 240, 0.78);
  padding-left: 54px;
}

#ar-news-contact-form .arcm-alert.is-success::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 120, 60, 0.12);
  border: 1px solid rgba(24, 120, 60, 0.18);
  font-weight: 800;
}

/* error */
#ar-news-contact-form .arcm-alert.is-error{
  border-color: rgba(170, 30, 30, 0.30);
  background: rgba(255, 235, 235, 0.82);
  padding-left: 54px;
}

#ar-news-contact-form .arcm-alert.is-error::before{
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 30, 30, 0.10);
  border: 1px solid rgba(170, 30, 30, 0.18);
  font-weight: 900;
}

/* (optional) close button, dacă JS îl adaugă */
#ar-news-contact-form .arcm-alert-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Inline errors (PLUGIN): .arcm-field-msg
   ========================= */
#ar-news-contact-form .arcm-field-msg{
  margin-top: 10px;
  font-family: var(--font-body) !important;
  font-size: 1.4rem;
  line-height: 1.35;
  color: rgba(170, 30, 30, 0.95);
}

/* highlight erori pe câmpuri (conform plugin) */
#ar-news-contact-form .arcm-field-error{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-news-contact-form .input-group.arcm-has-error .input,
#ar-news-contact-form .input-group.is-field-error .input{
  border-bottom-color: rgba(220, 38, 38, 0.78) !important;
}

#ar-news-contact-form .input-group.arcm-has-error label,
#ar-news-contact-form .input-group.is-field-error label{
  color: rgba(220, 38, 38, 0.88) !important;
}

/* submit loading */
#ar-news-contact-form button[aria-busy="true"],
#ar-news-contact-form button.is-loading{
  opacity: .75;
  pointer-events: none;
}

/* reduce motion (include news alert) */
@media (prefers-reduced-motion: reduce){
  #ar-news-contact-form .arcm-alert{
    transition: none !important;
    animation: none !important;
  }
}
