/*
Theme Name: SweetTooth Child
Theme URI: http://sweettooth.elated-themes.com
Description: A child theme of SweetTooth Theme
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Version: 1.0.0
Text Domain: sweettooth
Template: sweettooth
*/

/* ==========================================================================
   Gelati!! Gelati!! · Home B2B · estilos para WPBakery
   Todo el diseño cuelga de las clases gg-* (campo "Extra class name").
   PALETA: cambia los colores SOLO aquí, en las variables de .gg-sec
   ========================================================================== */
.gg-sec{
  --gg-choco:#2A1B17;   /* fondos oscuros / títulos */
  --gg-framb:#502C1F;   /* acento: botones, kickers, cierre */
  --gg-framb-h:#3C2117; /* hover de botones */
  --gg-framb-s:#FAE202; /* acento suave sobre oscuro */
  --gg-pist:#5E7B3F;    /* iconos y bloque ecológico */
  --gg-pist-t:#E9F0DD;  /* fondo bloque ecológico */
  --gg-nata:#FFFBF3;    /* fondo claro */
  --gg-crema:#F6EEDF;   /* fondo alterno */
  --gg-texto:#4A3B35; --gg-muted:#6B5B54; --gg-linea:#E6D9C3;
  position:relative; padding:96px 0; margin-bottom:0!important; color:var(--gg-texto);
}
.gg-sec *{box-sizing:border-box}
.gg-sec .wpb_content_element{margin-bottom:0!important}
.gg-css-row,.gg-css-row .wpb_content_element{margin:0!important;padding:0!important;height:0;min-height:0}

/* ---------- fondos por sección ---------- */
.gg-hero{background-color:var(--gg-choco);background-size:cover;background-position:center;min-height:720px;padding:140px 0 120px}
.gg-hero::before{content:"";display:block!important;position:absolute;inset:0;background:rgba(30,18,14,.62);z-index:0}
.gg-hero>.vc_column_container{position:relative;z-index:1}
.gg-kpis{background:var(--gg-crema);padding:44px 0}
.gg-s2,.gg-s6{background:var(--gg-nata)}
.gg-s3,.gg-s7{background:#fff}
.gg-s4{background:var(--gg-choco)}
.gg-s5{background:var(--gg-crema)}
.gg-s8{background:var(--gg-framb)}
.gg-s4.gg-top{padding-bottom:0}
.gg-s4.gg-bottom{padding-top:72px}

/* ---------- tipografía (hereda la fuente del tema) ---------- */
.gg-sec .gg-kicker{font-size:13px!important;font-weight:700!important;letter-spacing:.18em;text-transform:uppercase;line-height:1.3!important;color:var(--gg-framb)!important;margin:0 0 14px!important}
.gg-dark .gg-kicker{color:var(--gg-framb-s)!important}
.gg-s8 .gg-kicker{color:var(--gg-framb-s)!important}
.gg-sec .gg-h1{font-size:58px!important;line-height:1.08!important;font-weight:700!important;color:#fff!important;margin:0 0 24px!important}
.gg-sec .gg-h2{font-size:42px!important;line-height:1.15!important;font-weight:700!important;color:var(--gg-choco)!important;margin:0 0 20px!important}
.gg-dark .gg-h2{color:var(--gg-crema)!important}
.gg-s8 .gg-h2{color:#fff!important}
.gg-sec .gg-h3{font-size:24px!important;line-height:1.2!important;font-weight:700!important;color:var(--gg-choco)!important;margin:0 0 8px!important}
.gg-sec .gg-h3--sm{font-size:21px!important;margin-bottom:10px!important}
.gg-dark .gg-h3{color:var(--gg-crema)!important}
.gg-sec .gg-h3--eco{color:var(--gg-pist)!important;font-size:28px!important;margin:0!important}
.gg-sec .gg-h4{font-size:18px!important;line-height:1.25!important;font-weight:700!important;color:#fff!important;margin:0 0 8px!important}
.gg-sec .gg-eyebrow{font-size:13px!important;font-weight:700!important;letter-spacing:.14em;text-transform:uppercase;color:var(--gg-framb)!important;margin:0 0 6px!important}
.gg-sec .gg-p,.gg-sec .gg-p p,.gg-sec .gg-p li{font-size:17px;line-height:1.65;color:var(--gg-texto)}
.gg-sec .gg-p p{margin:0 0 .9em}
.gg-sec .gg-p p:last-child{margin-bottom:0}
.gg-sec .gg-p ul{margin:0;padding-left:1.2em}
.gg-sec .gg-p li{margin-bottom:.35em}
.gg-sec .gg-p--lg,.gg-sec .gg-p--lg p{font-size:18px}
.gg-sec .gg-p--sm,.gg-sec .gg-p--sm p{font-size:15.5px;line-height:1.6}
.gg-dark .gg-p,.gg-dark .gg-p p{color:#E9DCCB}
.gg-sec .gg-hero-lead,.gg-sec .gg-hero-lead p{font-size:20px;line-height:1.6;color:#F1E7D8}
.gg-sec .gg-center,.gg-sec .gg-center p{text-align:center}
.gg-sec .gg-narrow{max-width:820px;margin-left:auto!important;margin-right:auto!important}
.gg-sec .gg-mb-s{margin-bottom:16px!important}
.gg-sec .gg-mb-m{margin-bottom:26px!important}
.gg-sec .gg-mb-l{margin-bottom:34px!important}
.gg-sec .gg-mt-l{margin-top:36px!important}
.gg-sec .gg-micro,.gg-sec .gg-micro p{font-size:14px;color:var(--gg-muted);text-align:center}

/* ---------- botones (colores base también en el propio botón; aquí forma y hover) ---------- */
.gg-sec .gg-btn.vc_btn3-container{margin-bottom:0}
.gg-sec .gg-btn .vc_btn3{font-size:14px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;line-height:1.3!important;padding:16px 30px!important;border-radius:50px!important;border:2px solid transparent!important;transition:.2s}
.gg-sec .gg-btn--primary .vc_btn3{background:var(--gg-framb)!important;border-color:var(--gg-framb)!important;color:#fff!important}
.gg-sec .gg-btn--primary .vc_btn3:hover{background:var(--gg-framb-h)!important;border-color:var(--gg-framb-h)!important;color:#fff!important}
.gg-sec .gg-btn--outline .vc_btn3{background:transparent!important;border-color:var(--gg-choco)!important;color:var(--gg-choco)!important}
.gg-sec .gg-btn--outline .vc_btn3:hover{background:var(--gg-framb)!important;border-color:var(--gg-framb)!important;color:#fff!important}
.gg-sec .gg-btn--block .vc_btn3{display:block;width:100%;text-align:center}
.gg-sec .gg-link,.gg-sec .gg-link a{font-size:15px;font-weight:700;line-height:1.3;margin:0!important}
.gg-sec .gg-link a{color:var(--gg-framb)!important;text-decoration:underline}
.gg-sec .gg-link a:hover{color:var(--gg-framb-h)!important}
.gg-dark .gg-link a,.gg-hero .gg-link a{color:var(--gg-framb-s)!important}
.gg-hero .gg-link a:hover,.gg-dark .gg-link a:hover{color:#fff!important}
.gg-hero .gg-link{margin-top:22px!important}
.gg-hero .gg-link,.gg-hero .gg-link a{font-size:16px}

/* ---------- iconos ---------- */
.gg-sec .gg-ico{margin-bottom:18px!important}
.gg-sec .gg-ico .vc_icon_element-icon{color:var(--gg-pist)!important;font-size:34px!important}

/* ---------- huecos de foto (Extra class name de "Imagen individual") ---------- */
.gg-sec .gg-foto,.gg-sec .gg-foto figure,.gg-sec .gg-foto .vc_single_image-wrapper{display:block;width:100%;margin:0!important;line-height:0}
.gg-sec .gg-foto img{width:100%!important;max-width:100%;height:var(--gg-h,300px)!important;object-fit:cover;display:block;border-radius:var(--gg-r,0)}
.gg-foto--card{--gg-h:210px}
.gg-foto--fam{--gg-h:260px}
.gg-foto--medida{--gg-h:600px;--gg-r:22px}
.gg-foto--obrador{--gg-h:540px;--gg-r:22px}

/* ---------- tarjetas ---------- */
.gg-sec .gg-card>.vc_column-inner{display:flex;padding-bottom:24px}
.gg-sec .gg-card>.vc_column-inner>.wpb_wrapper{width:100%;display:flex;flex-direction:column;background:#fff;border-radius:20px;overflow:hidden}
.gg-sec .gg-card--line>.vc_column-inner>.wpb_wrapper{border:1px solid var(--gg-linea)}
.gg-sec .gg-card--shadow>.vc_column-inner>.wpb_wrapper{box-shadow:0 14px 34px rgba(42,27,23,.09)}
.gg-sec .gg-card--dark>.vc_column-inner>.wpb_wrapper{background:var(--gg-choco);box-shadow:0 14px 34px rgba(42,27,23,.22)}
.gg-sec .gg-card--dark .gg-h3{color:var(--gg-crema)!important}
.gg-sec .gg-card--dark .gg-p,.gg-sec .gg-card--dark .gg-p p{color:#E9DCCB}
.gg-sec .gg-card--dark .gg-eyebrow{color:var(--gg-framb-s)!important}
.gg-sec .gg-card--dark .gg-link a{color:var(--gg-framb-s)!important}
.gg-sec .gg-card--photo>.vc_column-inner>.wpb_wrapper{padding-bottom:30px}
.gg-sec .gg-card--photo>.vc_column-inner>.wpb_wrapper>*:not(.gg-foto){margin-left:28px!important;margin-right:28px!important}
.gg-sec .gg-card--photo .gg-foto{margin-bottom:26px!important}
.gg-sec .gg-card--pad>.vc_column-inner>.wpb_wrapper{padding:30px 28px 32px}
.gg-sec .gg-card--soft>.vc_column-inner>.wpb_wrapper{background:var(--gg-nata);border-radius:18px}
.gg-sec .gg-card--door>.vc_column-inner>.wpb_wrapper{border-radius:18px}
.gg-sec .gg-card--perk>.vc_column-inner>.wpb_wrapper{background:#3A2722;border:1px solid #54382F;border-radius:16px;padding:26px}
.gg-sec .gg-head>.vc_column-inner{padding-bottom:48px}
.gg-sec .gg-block>.vc_column-inner{padding-bottom:0}
.gg-sec .gg-head-s>.vc_column-inner{padding-bottom:14px}

/* ---------- cifras ---------- */
.gg-sec .gg-kpi-n{font-size:46px;font-weight:800;line-height:1;color:var(--gg-framb);margin-bottom:6px}
.gg-sec .gg-kpi-l{font-size:15px;font-weight:600;line-height:1.3;color:var(--gg-texto)}

.gg-sec.gg-kpis>.vc_column_container>.vc_column-inner{padding-bottom:16px}
.gg-sec.gg-kpis{padding-bottom:28px}

/* ---------- bloque ecológico ---------- */
.gg-sec .gg-eco{background:var(--gg-pist-t);border-radius:18px;padding:34px 23px;margin:36px 0 0!important}
.gg-sec .gg-eco .gg-p,.gg-sec .gg-eco .gg-p p{font-size:17px}

/* ---------- distribuidor: tarjeta del formulario ---------- */
.gg-sec .gg-form-card>.vc_column-inner>.wpb_wrapper{background:var(--gg-nata);border-radius:24px;padding:34px 34px 30px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.gg-sec .gg-formulario{border:2px dashed #D9B9A8;border-radius:14px;background:#FFF5F0;min-height:300px;padding:24px;display:flex;align-items:center;justify-content:center;margin-bottom:20px!important}
.gg-sec .gg-formulario,.gg-sec .gg-formulario p{font-size:14px;color:var(--gg-muted);text-align:center;line-height:1.6}
.gg-sec .gg-formulario strong{display:block;color:var(--gg-framb);font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.gg-sec .gg-form-card .gg-micro{margin-top:12px!important}
.gg-sec .gg-pad-l>.vc_column-inner{padding-left:48px}
.gg-sec .gg-pad-r>.vc_column-inner{padding-right:48px}

/* ---------- cierre ---------- */
.gg-sec .gg-contact{border-top:1px solid rgba(255,255,255,.35);margin:48px 0 0!important;padding-top:34px}
.gg-sec .gg-contact .gg-p,.gg-sec .gg-contact .gg-p p{color:#fff;font-size:17px}
.gg-sec .gg-contact .gg-h3{color:#fff!important;margin:0!important}
.gg-sec .gg-contact a{color:#fff!important;text-decoration:none}
.gg-sec .gg-contact .gg-p p{margin-bottom:12px}

/* ---------- tablet ---------- */
@media (min-width:768px) and (max-width:1023px){
  .gg-sec.gg-c6>.vc_column_container.gg-card{width:50%!important}
  .gg-sec.gg-c3>.vc_column_container.gg-card{width:100%!important}
  .gg-sec .gg-pad-l>.vc_column-inner{padding-left:15px}
  .gg-sec .gg-pad-r>.vc_column-inner{padding-right:15px}
  .gg-sec.gg-flip>.vc_column_container{width:100%!important}
}
@media (max-width:1023px){
  .gg-sec.gg-top>.vc_column_container:first-child>.vc_column-inner{padding-bottom:32px}
  .gg-sec{padding:72px 0}
  .gg-hero{min-height:620px;padding:110px 0 90px}
  .gg-kpis{padding:36px 0}
  .gg-sec .gg-h1{font-size:46px!important}
  .gg-sec .gg-h2{font-size:36px!important}
  .gg-foto--medida{--gg-h:440px}.gg-foto--obrador{--gg-h:420px}
  .gg-sec .gg-foto--medida,.gg-sec .gg-foto--obrador{margin-bottom:24px!important}
}
/* ---------- móvil ---------- */
@media (max-width:767px){
  .gg-sec{padding:56px 0}
  .gg-hero{min-height:560px;padding:96px 0 64px}
  .gg-kpis{padding:32px 0}
  .gg-sec .gg-h1{font-size:34px!important}
  .gg-sec .gg-h2{font-size:30px!important}
  .gg-sec .gg-h3{font-size:22px!important}
  .gg-sec .gg-hero-lead,.gg-sec .gg-hero-lead p{font-size:17px}
  .gg-sec .gg-p,.gg-sec .gg-p p,.gg-sec .gg-p li{font-size:16.5px}
  .gg-sec .gg-kpi-n{font-size:34px}.gg-sec .gg-kpi-l{font-size:13.5px}
  .gg-foto--medida{--gg-h:320px}.gg-foto--obrador{--gg-h:300px}.gg-foto--card{--gg-h:190px}.gg-foto--fam{--gg-h:220px}
  .gg-sec .gg-foto--medida,.gg-sec .gg-foto--obrador{margin-bottom:24px!important}
  .gg-sec .gg-pad-l>.vc_column-inner,.gg-sec .gg-pad-r>.vc_column-inner{padding-left:15px;padding-right:15px}
  .gg-sec .gg-eco{padding:26px 11px}
  .gg-sec .gg-form-card>.vc_column-inner>.wpb_wrapper{padding:22px 20px}
  .gg-sec .gg-btn .vc_btn3{padding:15px 24px!important}
}
