/*
Theme Name: Hello Elementor Child – Vilajardi
Theme URI: https://vilajardi.com
Description: Tema fill de Hello Elementor per al lloc de Vilajardi (jardineria i manteniment de finques). Inclou els tokens de disseny, una llibreria de classes de secció i 4 widgets custom d'Elementor.
Author: Vilajardi
Template: hello-elementor
Version: 1.0.0
Text Domain: vilajardi
*/

/* ============================================================
   TOKENS — font de veritat dels colors i mides del prototip.
   Reflectits també als Global Colors/Fonts d'Elementor.
   ============================================================ */
:root {
  --verd-fosc:  #1a4a1f;
  --verd-mig:   #2d7a35;
  --verd-llima: #7ec825;
  --verd-clar:  #e8f5e2;
  --terra:      #8b6a3e;
  --crema:      #f9f6f0;
  --blanc:      #ffffff;
  --gris-fosc:  #222222;
  --gris-mig:   #555555;
  --gris-clar:  #e8e8e8;

  --font-titol:  'Playfair Display', serif;
  --font-cos:    'DM Sans', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --vj-max: 1200px;
}

/* ============================================================
   BASE
   ============================================================ */
.vj * { box-sizing: border-box; }
.vj-page,
.vj { font-family: var(--font-cos); color: var(--gris-fosc); line-height: 1.6; }

.container { max-width: var(--vj-max); margin: 0 auto; }

.comments-area a, .page-content a{
  text-decoration: none;
}


/* ─── TOP BAR ─── */
.topbar { background: var(--verd-fosc); color: rgba(255,255,255,.85); font-size: 13px; padding: 8px 0; }
.topbar-inner { max-width: var(--vj-max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: flex-end; gap: 28px; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--verd-llima); }
.topbar-icon { font-size: 15px; }
.lang-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 4px 10px; font-size: 12px; color: rgba(255,255,255,.7); cursor: pointer; margin-left: 14px; }
.lang-badge:hover { background: rgba(255,255,255,.15); }

/* Selector d'idioma WPML amb aspecte de .lang-badge.
   Posa la classe CSS «vj-lang» al widget Shortcode (o al seu contenidor) a Elementor.
   Els !important són per guanyar el full d'estil propi de WPML. */
.vj-lang .wpml-ls,
.vj-lang .wpml-ls > ul,
.vj-lang .wpml-ls li,
.vj-lang .wpml-ls a {
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  background: none !important; box-shadow: none !important;
  width: auto !important; float: none !important; line-height: 1.4 !important;
}
.vj-lang .wpml-ls {
  display: inline-flex !important; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 6px; padding: 4px 10px !important; font-size: 12px;
}
.vj-lang .wpml-ls::before { content: "🌐"; font-size: 13px; line-height: 1; }
.vj-lang .wpml-ls > ul { display: inline-flex !important; align-items: center; gap: 8px; list-style: none !important; }
.vj-lang .wpml-ls li { display: inline-flex !important; align-items: center; }
/* Separador entre idiomes amb una línia, no amb un "|" solt. */
.vj-lang .wpml-ls li + li { border-left: 1px solid rgba(255,255,255,.35) !important; padding-left: 8px !important; }
.vj-lang .wpml-ls a,
.vj-lang .wpml-ls a span {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.75) !important; text-decoration: none !important; text-transform: uppercase;
}
.vj-lang .wpml-ls a:hover,
.vj-lang .wpml-ls a:hover span { color: var(--verd-llima) !important; }
/* Amaga qualsevol bandera/imatge que WPML pugui injectar (evita la icona trencada). */
.vj-lang .wpml-ls img,
.vj-lang .wpml-ls .wpml-ls-flag { display: none !important; }

/* ─── NAV ─── */
.vj-nav { background: var(--blanc); border-bottom: 1px solid #e0e8d8; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(26,74,31,.07); }
.nav-inner { max-width: var(--vj-max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.vj-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--gris-fosc); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all .2s; }
.nav-links a:hover { color: var(--verd-mig); background: var(--verd-clar); }
.nav-cta { background: var(--verd-mig) !important; color: var(--blanc) !important; padding: 9px 20px !important; border-radius: 8px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--verd-fosc) !important; color: var(--blanc) !important; }
.menu-item a{border-radius: 6px;}

/* ─── HERO ─── */
.hero {
  background:
    linear-gradient(135deg, rgba(27,58,31,.85) 0%, rgba(45,107,52,.75) 50%, rgba(58,122,64,.7) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1600&q=80') center/cover no-repeat;
  color: var(--blanc); position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center;
}
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(126,200,37,.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(45,122,53,.3) 0%, transparent 40%); }
.hero-pattern { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C200,110 400,10 600,60 C800,110 1000,10 1200,60 L1200,120 L0,120Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/cover no-repeat; }

/* Utilitat: ona inferior aplicable a QUALSEVOL contenidor d'Elementor.
   Afegeix la classe «vj-has-pattern» a Advanced › CSS Classes.
   Personalitzable amb dues variables (Advanced › Custom CSS o Custom Code):
     --vj-pattern-fill:   color de l'ona (per defecte blanc)
     --vj-pattern-height: alçada de l'ona (per defecte 120px) */
.vj-has-pattern { position: relative; }
.vj-has-pattern > .e-con-inner,
.vj-has-pattern > .elementor-container { position: relative; z-index: 1; }
.vj-has-pattern::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--vj-pattern-height, 120px);
  background-color: var(--vj-pattern-fill, var(--blanc));
  pointer-events: none;
  z-index: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C200,110 400,10 600,60 C800,110 1000,10 1200,60 L1200,120 L0,120Z' fill='%23000'/%3E%3C/svg%3E") bottom/cover no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C200,110 400,10 600,60 C800,110 1000,10 1200,60 L1200,120 L0,120Z' fill='%23000'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
/* Variant: ona girada (per posar-la a la part superior d'una secció) */
.vj-has-pattern--top::after { bottom: auto; top: 0; transform: scaleY(-1); }
.hero-inner { max-width: var(--vj-max); margin: 0 auto; padding: 80px 24px 140px; display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(126,200,37,.2); border: 1px solid rgba(126,200,37,.4); color: var(--verd-llima); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 50px; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-titol); font-size: 52px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; color: var(--blanc); }
h1 em { font-style: normal; color: var(--verd-llima); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary { background: var(--verd-llima); color: var(--verd-fosc); padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; border: none; cursor: pointer; }
.btn-primary:hover { background: #91d62e; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(126,200,37,.35); }
.btn-outline { background: transparent; color: var(--blanc); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.4); transition: all .2s; }
.btn-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }

.hero-card { background: rgba(255,255,255,.07); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 36px 32px; }
.hero-card h3 { font-family: var(--font-titol); font-size: 22px; color: var(--blanc); }
.hero-card-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.hero-card-contact a { color: rgba(255,255,255,.85); text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 15px; transition: color .2s; }
.hero-card-contact a:hover { color: var(--verd-llima); }
.contact-icon { width: 38px; height: 38px; background: rgba(126,200,37,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.hero-card form { display: flex; flex-direction: column; gap: 10px; }
.hero-card input, .hero-card textarea { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 11px 14px; color: var(--blanc); font-family: var(--font-cos); font-size: 14px; outline: none; transition: border .2s; resize: none; line-height: 1; }
.hero-card input::placeholder, .hero-card textarea::placeholder { color: rgba(255,255,255,.45); }
.hero-card input:focus, .hero-card textarea:focus { border-color: var(--verd-llima); }
.hero-card .btn-send { background: var(--verd-llima); color: var(--verd-fosc); border: none; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s; }
.hero-card .btn-send:hover { background: #91d62e; }

/* ─── CF7 hero card ─── */
.hero-card .wpcf7 { margin: 0; }
.hero-card .wpcf7-form { display: flex; flex-direction: column; gap: 10px; }
.hero-card .wpcf7-form br { display: none; }
.hero-card .wpcf7-form-control-wrap { display: block;margin-bottom: 10px; }
.hero-card .wpcf7-form-control { width: 100%; }
.hero-card .wpcf7-not-valid-tip { color: var(--verd-llima); font-size: 12px; margin-top: 3px; display: block; }
.hero-card .wpcf7-response-output { border: none; background: rgba(255,255,255,.1); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--blanc); margin: 0; }
.hero-card .wpcf7-mail-sent-ok { background: rgba(126,200,37,.2); border: 1px solid rgba(126,200,37,.4); }
.hero-card .wpcf7-validation-errors { background: rgba(255,80,80,.15); border: 1px solid rgba(255,80,80,.3); }

/* ─── STATS ─── */
.stats { background: var(--verd-fosc); padding: 40px 24px; }
.stats-inner { max-width: var(--vj-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; }
.stat-item { background: var(--verd-fosc); padding: 28px 24px; text-align: center; }
.stat-num { font-family: var(--font-titol); font-size: 40px; font-weight: 700; color: var(--verd-llima); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 400; }

/* ─── SECTION HEADERS ─── */
.vj-section { padding: 80px 24px; }
.section-tag { display: inline-block; background: var(--verd-clar); color: var(--verd-mig); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }
.section-title { font-family: var(--font-titol); font-size: 38px; font-weight: 700; color: var(--verd-fosc); line-height: 1.2; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--gris-mig); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 50px; }

/* ─── FILOSOFIA / ECO-CARDS ─── */
.eco-section { background: linear-gradient(180deg, #fafdf6 0%, var(--verd-clar) 100%); padding: 100px 0; position: relative; overflow: hidden; }
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-bottom: 60px; }
.eco-card { background: var(--blanc); border-radius: 18px; padding: 32px 24px; text-align: center; border: 1px solid #e2eeda; box-shadow: 0 4px 20px rgba(27,58,31,.05); transition: all .3s; }
.eco-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,58,31,.12); }
.eco-card-emoji { font-size: 44px; margin-bottom: 14px; }
.eco-card-num { font-family: var(--font-accent); font-size: 38px; font-weight: 700; color: var(--verd-mig); line-height: 1.1; margin-bottom: 8px; }
.eco-card-lead { font-size: 14px; color: var(--verd-fosc); font-weight: 600; margin-bottom: 6px; }
.eco-card-desc { font-size: 13px; color: var(--gris-mig); line-height: 1.5; }
.eco-quote { background: var(--blanc); border-radius: 20px; padding: 48px 40px; max-width: 980px; margin: 0 auto; border-left: 5px solid var(--verd-llima); box-shadow: 0 8px 30px rgba(27,58,31,.08); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.eco-quote-mark { font-size: 64px; line-height: 1; color: var(--verd-llima); font-family: var(--font-accent); }
.eco-quote p { font-family: var(--font-accent); font-size: 24px; line-height: 1.5; color: var(--verd-fosc); font-style: italic; margin: 0 0 16px 0; }
.eco-quote cite { font-size: 14px; color: var(--gris-mig); font-weight: 600; font-style: normal; }

/* ─── SERVEIS ─── */
.serveis-section { background: var(--crema); }
.serveis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.servei-card { background: var(--blanc); border-radius: 16px; padding: 0 0 32px 0; border: 1px solid #e2eeda; transition: all .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.servei-card-img { height: 180px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.servei-card-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,31,0) 60%, rgba(27,58,31,.4) 100%); }
.servei-card-body { padding: 28px 28px 0 28px; flex: 1; display: flex; flex-direction: column; }
.servei-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--verd-llima); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.servei-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,74,31,.12); border-color: #b8d9a8; }
.servei-card:hover::after { transform: scaleX(1); }
.servei-icon { width: 56px; height: 56px; background: var(--blanc); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; margin-top: -28px; box-shadow: 0 6px 18px rgba(27,58,31,.18); position: relative; z-index: 2; }
.servei-card h3 { font-family: var(--font-titol); font-size: 20px; font-weight: 700; color: var(--verd-fosc); margin-bottom: 10px; }
.servei-card p { font-size: 14px; color: var(--gris-mig); line-height: 1.65; margin-bottom: 18px; }
.servei-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px 0; padding: 0; }
.servei-list li { font-size: 13px; color: var(--gris-mig); display: flex; align-items: center; gap: 8px; }
.servei-list li::before { content: ''; width: 6px; height: 6px; background: var(--verd-llima); border-radius: 50%; flex-shrink: 0; }
.servei-link { color: var(--verd-mig); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; margin-top: auto; }
.servei-link:hover { gap: 8px; }

/* ─── DETALL DEL SERVEI (single-servei.php) ─── */
.servei-single-hero {
  position: relative; color: var(--blanc);
  min-height: 340px; display: flex; align-items: flex-end;
  background: var(--verd-fosc) center/cover no-repeat;
}
.servei-single-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,58,31,.5) 0%, rgba(27,58,31,.88) 100%);
}
.servei-single-hero .container { position: relative; z-index: 1; padding: 48px 24px; width: 100%; }
.servei-single-back { display: inline-block; color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; margin-bottom: 22px; transition: color .2s; }
.servei-single-back:hover { color: var(--verd-llima); }
.servei-single-icon {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  font-size: 32px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px; margin-bottom: 18px;
}
.servei-single-hero h1 { font-family: var(--font-titol); font-size: 44px; font-weight: 700; color: var(--blanc); margin: 0 0 14px; line-height: 1.15; }
.servei-single-sub { font-size: 18px; color: rgba(255,255,255,.9); max-width: 640px; margin: 0; line-height: 1.65; }

.servei-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; padding: 0 24px; }
.servei-single-main > * { max-width: 680px; }
.servei-single-main p { color: var(--gris-mig); line-height: 1.75; margin-bottom: 18px; }
.servei-single-h2 { font-family: var(--font-titol); font-size: 27px; color: var(--verd-fosc); margin: 0 0 22px; }
.servei-list--lg { gap: 14px; margin: 0; }
.servei-list--lg li { font-size: 16px; color: var(--gris-fosc); align-items: flex-start; }
.servei-list--lg li::before { width: 9px; height: 9px; margin-top: 8px; }

.servei-single-cta { background: var(--blanc); border: 1px solid #e2eeda; border-radius: 16px; padding: 32px; position: sticky; top: 100px; }
.servei-single-cta h3 { font-family: var(--font-titol); font-size: 23px; color: var(--verd-fosc); margin: 0 0 12px; }
.servei-single-cta p { font-size: 14px; color: var(--gris-mig); line-height: 1.65; margin: 0 0 22px; }
.servei-single-cta .btn-primary { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .servei-single-grid { grid-template-columns: 1fr; }
  .servei-single-cta { position: static; }
  .servei-single-hero h1 { font-size: 32px; }
  .servei-single-sub { font-size: 16px; }
}

/* ─── PÀGINES DE TEXT (page.php: legal, privacitat, qui som…) ─── */
.vj-textpage { background: var(--crema); }
.vj-textpage-hero {
  position: relative;
  background: linear-gradient(135deg, var(--verd-fosc) 0%, var(--verd-mig) 100%);
  color: var(--blanc); padding: 56px 0 74px;
}
.vj-textpage-hero .container { position: relative; z-index: 1; padding: 0 24px; }
.vj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.vj-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.vj-crumbs a:hover { color: var(--verd-llima); }
.vj-crumbs-current { color: var(--blanc); }
.vj-textpage-title { font-family: var(--font-titol); font-size: 42px; font-weight: 700; color: var(--blanc); margin: 0; line-height: 1.15; }

.vj-textpage-body { padding: 50px 0 84px; }
.vj-textpage-inner { padding: 0 24px; }
.vj-textpage-figure { max-width: 760px; margin: 0 auto 36px; }
.vj-textpage-figure img { width: 100%; height: auto; border-radius: 16px; display: block; }

/* Tipografia de contingut reutilitzable (.vj-prose) */
.vj-prose {  margin: 0 auto; color: var(--gris-fosc); font-size: 16px; line-height: 1.8; }
.vj-prose > * + * { margin-top: 1.2em; }
.vj-prose h2 { font-family: var(--font-titol); font-size: 28px; color: var(--verd-fosc); margin-top: 1.8em; line-height: 1.25; }
.vj-prose h3 { font-family: var(--font-titol); font-size: 22px; color: var(--verd-fosc); margin-top: 1.6em; }
.vj-prose h4 { font-family: var(--font-cos); font-weight: 700; font-size: 18px; color: var(--verd-fosc); margin-top: 1.4em; }
.vj-prose p { color: var(--gris-mig); }
.vj-prose a { color: var(--verd-mig); text-decoration: underline; text-underline-offset: 2px; }
.vj-prose a:hover { color: var(--verd-fosc); }
.vj-prose strong { color: var(--gris-fosc); }
.vj-prose ul, .vj-prose ol { padding-left: 1.4em; color: var(--gris-mig); }
.vj-prose li { margin: .4em 0; }
.vj-prose ul li::marker { color: var(--verd-llima); }
.vj-prose blockquote { border-left: 4px solid var(--verd-llima); background: var(--blanc); margin: 1.6em 0; padding: 18px 24px; border-radius: 0 12px 12px 0; font-family: var(--font-accent); font-size: 20px; color: var(--verd-fosc); }
.vj-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.vj-prose hr { border: 0; border-top: 1px solid var(--gris-clar); margin: 2.4em 0; }
.vj-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.vj-prose th, .vj-prose td { border: 1px solid #e2eeda; padding: 10px 14px; text-align: left; }
.vj-prose th { background: var(--verd-clar); color: var(--verd-fosc); }
.vj-prose code { background: var(--verd-clar); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.vj-page-links { margin-top: 2em; font-size: 14px; color: var(--gris-mig); }

@media (max-width: 900px) {
  .vj-textpage-hero { padding: 40px 0 60px; }
  .vj-textpage-title { font-size: 30px; }
  .vj-prose { font-size: 16px; }
}

/* ─── EMPRESES ─── */
.empreses-section { background: linear-gradient(135deg, var(--verd-fosc) 0%, var(--verd-mig) 100%); color: var(--blanc); padding: 100px 0; }
.empreses-section .section-title { color: var(--blanc); }
.empreses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 50px; }
.empresa-card { background: rgba(255,255,255,.08); backdrop-filter: blur(10px); padding: 32px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); text-align: center; }
.empresa-card-emoji { font-size: 40px; margin-bottom: 12px; }
.empresa-card h4 { color: var(--blanc); font-family: var(--font-accent); font-size: 22px; margin-bottom: 8px; }
.empresa-card p { color: rgba(255,255,255,.75); font-size: 15px; margin: 0; }
.empreses-note { background: rgba(255,255,255,.12); border-left: 4px solid var(--verd-llima); padding: 24px 32px; border-radius: 12px; max-width: 900px; margin: 0 auto; }
.empreses-note strong { color: var(--verd-llima); }

/* ─── NOSALTRES / RAONS ─── */
.nosaltres-section { background: var(--blanc); }
.nosaltres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nosaltres-img-wrap { position: relative; }
.nosaltres-img-placeholder { width: 100%; aspect-ratio: 4/5; background: linear-gradient(145deg, var(--verd-clar), #c8e6b4); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 80px; color: var(--verd-mig); }
.nosaltres-badge-img { position: absolute; bottom: -20px; right: -20px; background: var(--verd-fosc); color: var(--blanc); border-radius: 14px; padding: 20px 24px; text-align: center; border: 4px solid var(--blanc); }
.nosaltres-badge-img .num { font-family: var(--font-titol); font-size: 36px; font-weight: 700; color: var(--verd-llima); line-height: 1; }
.nosaltres-badge-img .txt { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 4px; }
.raons-list { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.rao { display: flex; gap: 16px; }
.rao-icon { width: 46px; height: 46px; background: var(--verd-clar); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.rao-text h4 { font-size: 15px; font-weight: 600; color: var(--verd-fosc); margin-bottom: 4px; }
.rao-text p { font-size: 13px; color: var(--gris-mig); line-height: 1.6; }

/* ─── ZONES ─── */
.zones-section { background: var(--verd-fosc); }
.zones-section .section-title { color: var(--blanc); }
.zones-section .section-sub { color: rgba(255,255,255,.65); }
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.zona-pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 18px 16px; text-align: center; transition: all .2s; cursor: default; }
.zona-pill:hover { background: rgba(126,200,37,.15); border-color: rgba(126,200,37,.4); }
.zona-pill .zona-name { font-weight: 600; font-size: 14px; color: var(--blanc); margin-bottom: 4px; }
.zona-pill .zona-comarca { font-size: 12px; color: rgba(255,255,255,.5); }

/* ─── TESTIMONIS ─── */
.testimonis-section { background: var(--crema); }
.testimonis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimoni-card { background: var(--blanc); border-radius: 16px; padding: 32px 28px; border: 1px solid #e2eeda; position: relative; }
.testimoni-card::before { content: '"'; font-family: var(--font-titol); font-size: 80px; color: var(--verd-clar); position: absolute; top: 8px; left: 24px; line-height: 1; }
.testimoni-stars { display: flex; gap: 3px; margin-bottom: 16px; margin-top: 20px; }
.testimoni-stars .star { color: #f5a623; font-size: 15px; }
.testimoni-text { font-size: 14px; color: var(--gris-mig); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimoni-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gris-clar); padding-top: 16px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--verd-mig); display: flex; align-items: center; justify-content: center; color: var(--blanc); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 14px; color: var(--verd-fosc); }
.author-loc { font-size: 12px; color: var(--gris-mig); }

/* ─── CTA BANNER ─── */
.cta-banner { background: linear-gradient(135deg, var(--verd-mig), var(--verd-fosc)); padding: 70px 24px; text-align: center; color: var(--blanc); }
.cta-banner h2 { font-family: var(--font-titol); font-size: 36px; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--blanc); color: var(--verd-fosc); padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { background: var(--verd-llima); transform: translateY(-1px); }

/* ─── FOOTER ─── */
.vj-footer { background: #111; color: rgba(255,255,255,.7); padding: 60px 24px 32px; }
.footer-inner { max-width: var(--vj-max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo img { height: 42px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .8; }
.footer-desc { font-size: 13px; line-height: 1.75; margin-bottom: 20px; color: rgba(255,255,255,.5); }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,.6); font-size: 15px; transition: all .2s; }
.social-btn:hover { background: var(--verd-mig); color: var(--blanc); }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.footer-col ul li a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--verd-llima); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .serveis-grid { grid-template-columns: 1fr 1fr; }
  .nosaltres-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: repeat(2,1fr); }
  .testimonis-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .serveis-grid, .testimonis-grid, .zones-grid, .stats-inner, .footer-grid { grid-template-columns: 1fr; }
}

.clients-p b{
  color: var(--verd-llima);
}
.section-sub a{
  font-weight: 700;
  text-decoration: underline;
}
/* WPML */
/* Selector d'idioma WPML dins la topbar amb aspecte de .lang-badge */
.topbar .wpml-ls,
.topbar .wpml-ls ul { margin: 0; padding: 0; border: 0; background: none; }

.topbar .wpml-ls {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; padding: 4px 10px;
  font-size: 12px; margin-left: 14px;
}
.topbar .wpml-ls::before { content: "🌐"; }         /* globus del prototip */
.topbar .wpml-ls ul { display: flex; gap: 0px; list-style: none; }
.topbar .wpml-ls li {position: relative;}
.topbar .wpml-ls li:not(:last-child)::after { content: "|"; margin-left: 6px; color: rgba(255,255,255,.4); position: absolute; top:2px;right:0 }
.topbar .wpml-ls-current-language a{ font-weight: 700;}
.topbar .wpml-ls a,
.topbar .wpml-ls a span { color: rgba(255,255,255,.7); text-decoration: none; text-transform: uppercase; }
.topbar .wpml-ls a:hover span { color: var(--verd-llima); }


.wpcf7 .cf7__form .cf7-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.wpcf7 .cf7__form .cf7-field { margin:0 0 18px; }
.wpcf7 .cf7__form label { display:block; font-size:13px; font-weight:600; color:#222; }
.wpcf7 .cf7__form label span { color:#2d7a35; }

.wpcf7 .cf7__form input[type=text],
.wpcf7 .cf7__form input[type=tel],
.wpcf7 .cf7__form input[type=email],
.wpcf7 .cf7__form select,
.wpcf7 .cf7__form textarea {
  width:100%; margin-top:7px;
  background:#fafcf7; border:1.5px solid #e0e8d8; border-radius:9px;
  padding:12px 14px; font-size:14.5px; color:#222;
  font-family:'DM Sans',sans-serif; outline:none; transition:all .2s;
}
.wpcf7 .cf7__form input:focus,
.wpcf7 .cf7__form select:focus,
.wpcf7 .cf7__form textarea:focus {
  border-color:#7ec825; background:#fff;
  box-shadow:0 0 0 3px rgba(126,200,37,.15);
}

.wpcf7 .cf7__form .cf7-consent { display:flex; gap:10px; align-items:flex-start;
  font-size:13px; color:#555; line-height:1.5; margin:4px 0 22px; }
.wpcf7 .cf7__form .cf7-consent a { color:#2d7a35; font-weight:600; }

.wpcf7 .cf7__form input[type=submit] {
  width:100%; background:#2d7a35; color:#fff; border:none;
  padding:15px; border-radius:10px; font-weight:700; font-size:15px;
  cursor:pointer; transition:all .2s;
}
.wpcf7 .cf7__form input[type=submit]:hover {
  background:#1a4a1f; transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(26,74,31,.25);
}

@media (max-width:560px){ .wpcf7 .cf7__form .cf7-row { grid-template-columns:1fr; } }

.javajan-credit{
      display: flex;
  justify-content:center;
    text-align: center;
    background: black;
    color: white;
    padding: 10px;
    font-size: 12px;
}
.javajan-credit p{
	margin:0;
}
.javajan-credit p a{
	color:white;
	text-decoration:underline;
	font-weight:600;
}