/* ============================================================================
   Vila Florilor — custom site header & footer (loads site-wide).
   SPECIFICITY: the Elementor kit prints `.elementor-kit-9 a/h*` at (0,1,1);
   every rule here that touches a link/heading is `.vf-hd .x` / `.vf-ft .x`
   (>= 0,2,x) so it wins deterministically. Vars are namespaced --vfh-* so they
   can never collide with the blog stylesheet's --vf-* tokens.
   ========================================================================== */
:root{
  --vfh-ink:#2a2420;
  --vfh-pine:#1e5c48;
  --vfh-leaf:#61CE70;
  --vfh-leaf-deep:#2f8f43;
  --vfh-amber:#e8a24a;
  --vfh-glow:#f4bd72;
  --vfh-cream:#f7f2ea;
  --vfh-line:#e8dfcf;
  --vfh-dark:#18211a;
  --vfh-head:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --vfh-body:'Roboto',system-ui,-apple-system,'Segoe UI','Helvetica Neue',Arial,sans-serif;
  --vfh-wrap:1180px;
  --vfh-gutter:clamp(18px,4vw,36px);
}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

/* ============================ HEADER ============================ */
.vf-hd{
  position:sticky;top:0;z-index:120;
  background:rgba(247,242,234,.92);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--vfh-line);
  font-family:var(--vfh-body);
}
body.admin-bar .vf-hd{top:32px}
@media(max-width:782px){ body.admin-bar .vf-hd{top:46px} }
@media(max-width:600px){ body.admin-bar .vf-hd{top:0} } /* wpadminbar unfixes <=600px */

.vf-hd *,.vf-hd *::before,.vf-hd *::after{box-sizing:border-box}
.vf-hd .vf-hd__wrap{
  max-width:var(--vfh-wrap);margin-inline:auto;padding-inline:var(--vfh-gutter);
  display:flex;align-items:center;gap:24px;height:80px;
}
.vf-hd .vf-hd__logo{display:flex;align-items:center;flex:0 0 auto;line-height:0}
.vf-hd .vf-hd__logo img{height:46px;width:auto;display:block}

.vf-hd .vf-hd__nav{display:flex;align-items:center;gap:28px;margin-left:8px}
.vf-hd .vf-hd__nav a{
  font-family:var(--vfh-head);font-weight:500;font-size:.97rem;color:var(--vfh-ink);
  position:relative;padding:6px 0;text-decoration:none;letter-spacing:.01em;
  transition:color .2s ease;
}
.vf-hd .vf-hd__nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;
  background:var(--vfh-leaf);border-radius:2px;
  transition:right .28s cubic-bezier(.2,.7,.3,1);
}
.vf-hd .vf-hd__nav a:hover{color:var(--vfh-pine)}
.vf-hd .vf-hd__nav a:hover::after{right:0}
.vf-hd .vf-hd__nav a.is-active{color:var(--vfh-pine)}
.vf-hd .vf-hd__nav a.is-active::after{right:0;background:var(--vfh-pine)}

.vf-hd .vf-hd__right{margin-left:auto;display:flex;align-items:center;gap:14px}
.vf-hd .vf-hd__social{display:flex;gap:8px}
.vf-hd .vf-hd__social a{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  color:var(--vfh-pine);border:1px solid var(--vfh-line);background:#fff;
  text-decoration:none;transition:all .2s ease;
}
.vf-hd .vf-hd__social a:hover{color:#fff;background:var(--vfh-pine);border-color:var(--vfh-pine);transform:translateY(-2px)}
.vf-hd .vf-hd__social svg{width:16px;height:16px;fill:currentColor}

.vf-hd .vf-hd__phone{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--vfh-head);font-weight:600;font-size:.93rem;color:var(--vfh-ink);
  text-decoration:none;white-space:nowrap;transition:color .2s ease;
}
.vf-hd .vf-hd__phone:hover{color:var(--vfh-pine)}
.vf-hd .vf-hd__phone svg{width:17px;height:17px;fill:none;stroke:var(--vfh-amber);stroke-width:2}

.vf-hd .vf-hd__cta{
  display:inline-flex;align-items:center;gap:.5em;
  font-family:var(--vfh-head);font-weight:600;font-size:.94rem;color:#fff;
  background:var(--vfh-pine);padding:.7em 1.35em;border-radius:999px;
  text-decoration:none;white-space:nowrap;
  box-shadow:0 10px 22px rgba(30,92,72,.28);transition:all .25s ease;
}
.vf-hd .vf-hd__cta:hover{background:var(--vfh-leaf-deep);color:#fff;transform:translateY(-2px);box-shadow:0 12px 26px rgba(47,143,67,.34)}
.vf-hd .vf-hd__cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .25s ease}
.vf-hd .vf-hd__cta:hover svg{transform:translateX(3px)}

.vf-hd .vf-hd__burger{
  display:none;width:44px;height:44px;border:1px solid var(--vfh-line);
  background:#fff;border-radius:12px;cursor:pointer;color:var(--vfh-ink);padding:0;
}
.vf-hd .vf-hd__burger svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.vf-hd .vf-hd__burger-close{display:none}
.vf-hd.is-open .vf-hd__burger-open{display:none}
.vf-hd.is-open .vf-hd__burger-close{display:block}

/* mobile dropdown panel */
.vf-hd .vf-hd__panel{
  display:none;border-top:1px solid var(--vfh-line);
  background:rgba(247,242,234,.98);
  padding:18px var(--vfh-gutter) 22px;
}
.vf-hd.is-open .vf-hd__panel{display:block}
.vf-hd .vf-hd__panel-nav{display:flex;flex-direction:column;gap:4px}
.vf-hd .vf-hd__panel-nav a{
  font-family:var(--vfh-head);font-weight:500;font-size:1.05rem;color:var(--vfh-ink);
  text-decoration:none;padding:11px 4px;border-bottom:1px solid var(--vfh-line);
}
.vf-hd .vf-hd__panel-nav a.is-active{color:var(--vfh-pine)}
.vf-hd .vf-hd__panel-foot{display:flex;align-items:center;gap:16px;margin-top:16px;flex-wrap:wrap}

@media(max-width:1080px){
  .vf-hd .vf-hd__phone{display:none}
}
@media(max-width:900px){
  .vf-hd .vf-hd__nav{display:none}
  .vf-hd .vf-hd__burger{display:grid;place-items:center}
  .vf-hd .vf-hd__wrap{height:70px}
  .vf-hd .vf-hd__logo img{height:40px}
  .vf-hd .vf-hd__panel .vf-hd__phone{display:inline-flex}
}
@media(max-width:560px){
  .vf-hd .vf-hd__social{display:none}
  .vf-hd .vf-hd__cta{padding:.62em 1.1em;font-size:.88rem}
}

/* ============================ FOOTER ============================ */
.vf-ft{font-family:var(--vfh-body);line-height:1.6}
.vf-ft *,.vf-ft *::before,.vf-ft *::after{box-sizing:border-box}
.vf-ft .vf-ft__ridge{display:block;width:100%;height:clamp(44px,8vw,110px)}

.vf-ft .vf-ft__main{position:relative;isolation:isolate;background:var(--vfh-dark);color:rgba(255,255,255,.82);overflow:hidden}
.vf-ft .vf-ft__bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.vf-ft .vf-ft__main::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,#18211a 0%,#18211a 5%,rgba(24,33,26,.92) 22%,rgba(23,20,14,.88) 55%,rgba(15,13,9,.95) 100%);
}
.vf-ft .vf-ft__wrap{max-width:var(--vfh-wrap);margin-inline:auto;padding-inline:var(--vfh-gutter)}

.vf-ft .vf-ft__grid{
  display:grid;grid-template-columns:1.6fr 1fr 1.35fr 1fr;
  gap:clamp(28px,4vw,54px);
  padding:clamp(34px,5vw,58px) 0 clamp(30px,4vw,44px);
}
.vf-ft .vf-ft__brand img{height:52px;width:auto;filter:brightness(0) invert(1);opacity:.95}
.vf-ft .vf-ft__brand p{margin:18px 0 0;max-width:34ch;font-size:.96rem;line-height:1.7;color:rgba(255,255,255,.72)}

.vf-ft .vf-ft__title{
  font-family:var(--vfh-head);font-weight:600;font-size:.78rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--vfh-glow);
  margin:6px 0 20px;line-height:1.2;
}
.vf-ft .vf-ft__links{display:flex;flex-direction:column;gap:12px}
.vf-ft .vf-ft__links a{
  font-size:.97rem;color:rgba(255,255,255,.82);text-decoration:none;
  width:fit-content;transition:color .2s ease,transform .2s ease;
}
.vf-ft .vf-ft__links a:hover{color:var(--vfh-glow);transform:translateX(4px)}

.vf-ft .vf-ft__contact{display:flex;flex-direction:column;gap:16px}
.vf-ft .vf-ft__c{display:flex;gap:12px;align-items:flex-start;font-size:.96rem;line-height:1.5}
.vf-ft .vf-ft__c svg{flex:0 0 auto;width:19px;height:19px;fill:none;stroke:var(--vfh-amber);stroke-width:1.8;margin-top:2px}
.vf-ft .vf-ft__c a{color:rgba(255,255,255,.82);text-decoration:none;transition:color .2s ease}
.vf-ft .vf-ft__c a:hover{color:var(--vfh-glow)}

.vf-ft .vf-ft__soc{display:flex;gap:11px}
.vf-ft .vf-ft__soc a{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(244,189,114,.18);
  text-decoration:none;transition:all .22s ease;
}
.vf-ft .vf-ft__soc a:hover{background:var(--vfh-amber);border-color:var(--vfh-amber);color:#241a0e;transform:translateY(-3px)}
.vf-ft .vf-ft__soc svg{width:17px;height:17px;fill:currentColor}

.vf-ft .vf-ft__bar{
  border-top:1px solid rgba(255,255,255,.1);
  padding:20px 0 26px;display:flex;justify-content:space-between;align-items:center;
  gap:14px;flex-wrap:wrap;font-size:.85rem;color:rgba(255,255,255,.6);
}
.vf-ft .vf-ft__made{display:inline-flex;align-items:center;gap:7px;font-family:var(--vfh-head)}
.vf-ft .vf-ft__made svg{width:15px;height:15px;fill:var(--vfh-amber)}

@media(max-width:900px){
  .vf-ft .vf-ft__grid{grid-template-columns:1fr 1fr;gap:32px}
  .vf-ft .vf-ft__brand{grid-column:1/-1}
}
@media(max-width:560px){
  .vf-ft .vf-ft__grid{grid-template-columns:1fr}
  .vf-ft .vf-ft__bar{flex-direction:column;align-items:flex-start}
}

@media (prefers-reduced-motion:reduce){
  .vf-hd .vf-hd__nav a::after,.vf-hd .vf-hd__cta,.vf-hd .vf-hd__cta svg,
  .vf-hd .vf-hd__social a,.vf-ft .vf-ft__links a,.vf-ft .vf-ft__soc a{transition:none}
}

/* ---------------------------------------------------------------------------
   Homepage (Elementor page 420, switched off Canvas): its old header/footer
   were SECTIONS inside the page content. The theme header/footer replace them,
   so those four sections are hidden here. Reversible: delete these rules (the
   sections still exist in the Elementor editor, untouched).
   0 22e692a4 = old logo/social header bar · 1 2bcc3ba = old address topbar
   17 489f05d + 18 15df29ce = old footer blocks
   ------------------------------------------------------------------------- */
.elementor-420 .elementor-element-22e692a4,
.elementor-420 .elementor-element-2bcc3ba,
.elementor-420 .elementor-element-489f05d,
.elementor-420 .elementor-element-15df29ce{display:none !important}
