/* =========================================================================
   Garage Kit — stili del kit officina per Elementor Free + Hello Elementor
   Tutte le regole sono agganciate alle classi gk-* impostate nei template
   (Avanzate → Classi CSS). Togliendo una classe torni allo stile Elementor.
   ====================================================================== */

:root{
  --gk-navy:#122A52;
  --gk-navy-deep:#0E2246;
  --gk-navy-soft:#1B3767;
  --gk-orange:#F2711F;
  --gk-orange-dark:#D85F11;
  --gk-orange-soft:#FDEADB;
  --gk-text:#4C5666;
  --gk-muted:#6B7687;
  --gk-on-dark:#C3CDDC;
  --gk-light:#F7F9FC;
  --gk-mutedbg:#E4E9F2;
  --gk-border:#E5EAF2;
  --gk-radius:14px;
  --gk-radius-lg:16px;
  --gk-shadow-sm:0 1px 2px rgba(16,32,64,.05);
  --gk-shadow-md:0 18px 40px -18px rgba(16,32,64,.35);
  --gk-shadow-lg:0 26px 60px -28px rgba(16,32,64,.55);
  --gk-ease:cubic-bezier(.22,.61,.36,1);
}

html{ scroll-behavior:smooth; scroll-padding-top:96px; }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

.gk-site img{ max-width:100%; height:auto; }
.gk-site :focus-visible{ outline:3px solid rgba(242,113,31,.55); outline-offset:2px; border-radius:6px; }

/* ------------------------------------------------------------- header --- */
.gk-site-header,
.elementor-section.gk-header{ position:sticky; top:0; z-index:999; }
.gk-site-header{ background:var(--gk-navy); }
body.admin-bar .gk-site-header{ top:32px; }
@media (max-width:782px){ body.admin-bar .gk-site-header{ top:46px; } }

.gk-header{ box-shadow:0 1px 0 rgba(255,255,255,.07); transition:box-shadow .25s var(--gk-ease); }
.gk-scrolled .gk-header,
.gk-site-header.gk-scrolled{ box-shadow:0 10px 30px -18px rgba(0,0,0,.75); }
.gk-header > .elementor-container{ align-items:center; }
.gk-header-right > .elementor-widget-wrap,
.gk-header-right > .elementor-column-wrap > .elementor-widget-wrap{
  flex-direction:row; flex-wrap:nowrap; justify-content:flex-end; align-items:center; gap:28px;
}
.gk-header-right .elementor-widget{ width:auto; margin-bottom:0; }
.gk-brand .elementor-heading-title{ letter-spacing:.2px; }
.gk-brand .elementor-heading-title a{ color:inherit; text-decoration:none; }
.gk-nav .elementor-icon-list-items{ gap:0 26px; }
.gk-nav .elementor-icon-list-item a{ color:#D8E0EC; transition:color .2s var(--gk-ease); }
.gk-nav .elementor-icon-list-item a:hover{ color:#fff; }
.gk-nav .elementor-icon-list-icon{ display:none; }
@media (max-width:880px){ .gk-nav{ display:none; } }

/* --------------------------------------------------------------- hero --- */
.gk-hero{ position:relative; overflow:hidden; }
.gk-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:
    radial-gradient(1100px 520px at 85% 8%, rgba(242,113,31,.20), transparent 62%),
    linear-gradient(180deg, rgba(6,17,38,.18) 0%, rgba(6,17,38,.55) 100%);
}
.gk-hero > .elementor-container{ position:relative; z-index:2; }
.gk-hero__col > .elementor-widget-wrap,
.gk-hero__col > .elementor-column-wrap > .elementor-widget-wrap{ max-width:820px; }
.gk-h1 .elementor-heading-title{ text-wrap:balance; }
.gk-hero__lead{ max-width:640px; }
.gk-phone .elementor-heading-title,
.gk-phone .elementor-heading-title a{ color:var(--gk-orange); text-decoration:none; transition:color .2s var(--gk-ease); }
.gk-phone .elementor-heading-title a:hover{ color:#fff; }
.gk-cta-row{ margin-top:4px; }
.gk-cta-row .elementor-widget:not(:last-child){ margin-bottom:0; }

/* pill "5,0 su Google · 387 recensioni" nell'hero */
.gk-hero .elementor-star-rating__wrapper{
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18);
  padding:9px 16px 9px 14px; border-radius:999px;
}
.gk-hero .elementor-star-rating__title{
  order:2; margin:0; color:#E7EDF6; font-size:14px; font-weight:500; white-space:nowrap;
}
.gk-hero .elementor-star-rating{ order:1; }

/* stelle (fallback ai colori impostati nei widget) */
.gk-stars .elementor-star-full:before,
.gk-stars .elementor-star-rating i.elementor-star-full:before{ color:var(--gk-orange); }

/* -------------------------------------------------------------- bottoni -- */
.gk-btn .elementor-button{
  border-radius:10px; letter-spacing:.2px;
  transition:transform .18s var(--gk-ease), background-color .2s var(--gk-ease), box-shadow .2s var(--gk-ease), color .2s var(--gk-ease);
}
.gk-btn .elementor-button:hover{ transform:translateY(-1px); }
.gk-btn--primary .elementor-button{ box-shadow:0 12px 26px -14px rgba(242,113,31,.95); }
.gk-btn--primary .elementor-button:hover{ box-shadow:0 16px 30px -14px rgba(242,113,31,.95); }
.gk-btn--ghost .elementor-button:hover{ border-color:#fff; }
.gk-btn .elementor-button-icon svg{ width:1em; height:1em; }

/* ---------------------------------------------------------- intestazioni -- */
.gk-eyebrow .elementor-heading-title{ font-feature-settings:"case"; }
.gk-sec-head--split > .elementor-container{ align-items:center; }
.gk-rating-right .elementor-star-rating__wrapper{ justify-content:flex-end; gap:10px; }
.gk-rating-right .elementor-star-rating__title{ order:2; margin:0; color:var(--gk-navy); font-size:14.5px; font-weight:500; }
.gk-rating-right .elementor-star-rating{ order:1; }
@media (max-width:767px){
  .gk-rating-right .elementor-star-rating__wrapper{ justify-content:flex-start; margin-top:14px; }
}

/* ---------------------------------------------------------------- card --- */
.gk-card .elementor-element-populated{
  box-shadow:var(--gk-shadow-sm);
  transition:transform .28s var(--gk-ease), box-shadow .28s var(--gk-ease), border-color .28s var(--gk-ease);
  height:100%;
}
.gk-card:hover .elementor-element-populated{
  transform:translateY(-4px); box-shadow:var(--gk-shadow-md); border-color:#D9E2EF;
}
.gk-cards .elementor-column{ display:flex; }
.gk-cards .elementor-column > .elementor-element-populated,
.gk-cards .elementor-column > .elementor-column-wrap{ width:100%; }
@media (max-width:767px){
  .gk-cards .elementor-column{ margin-bottom:16px; }
  .gk-card:hover .elementor-element-populated{ transform:none; }
}

/* icon box */
.gk-iconbox .elementor-icon{ border-radius:10px; }
.gk-iconbox .elementor-icon-box-title{ margin-bottom:8px; }
.gk-iconbox .elementor-icon-box-description{ margin:0; }
.gk-iconbox.elementor-widget:not(:last-child){ margin-bottom:22px; }
.gk-section--dark .gk-iconbox .elementor-icon-box-icon{ margin-bottom:16px; }

/* --------------------------------------------------- pannello "vacanza" -- */
.gk-panel{ overflow:hidden; border-left:6px solid var(--gk-orange); }
.gk-panel > .elementor-container{ align-items:stretch; }
.gk-panel__mediacol .elementor-element-populated{ padding:0; height:100%; }
.gk-panel__mediacol .elementor-widget-wrap{ align-content:stretch; }
.gk-panel__media,
.gk-panel__media .elementor-widget-container,
.gk-panel__media .elementor-image,
.gk-panel__media figure{ height:100%; margin:0; }
.gk-panel__media img{ width:100%; height:100%; min-height:460px; object-fit:cover; display:block; }
@media (max-width:1024px){ .gk-panel__media img{ min-height:340px; } }
@media (max-width:767px){
  .gk-panel{ border-left-width:5px; }
  .gk-panel__media img{ min-height:240px; }
}

/* --------------------------------------------------- sezione split gomme -- */
.gk-split > .elementor-container{ align-items:center; }
.gk-shot img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--gk-radius); box-shadow:var(--gk-shadow-md); }
@supports not (aspect-ratio:4/3){ .gk-shot img{ min-height:380px; } }
.gk-list .elementor-icon-list-item{ align-items:flex-start; }
.gk-list .elementor-icon-list-icon{ margin-top:3px; }

/* ---------------------------------------------------------------- note --- */
.gk-note .elementor-widget-container{
  background:#EDF1F7; border-radius:12px; padding:18px 20px;
}
.gk-note--outline .elementor-widget-container{ background:#fff; border:1px solid var(--gk-border); }
.gk-note p{ margin:0; }
.gk-note strong{ color:var(--gk-navy); }
.gk-note__icon{
  display:inline-block; width:18px; height:18px; vertical-align:-3px; margin-right:8px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2711F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ------------------------------------------------------------ recensioni -- */
.gk-quote p{ margin:0; }
.gk-author .elementor-heading-title{ letter-spacing:.1px; }

/* -------------------------------------------------------------- contatti -- */
.gk-hours{ width:100%; border-collapse:collapse; margin:4px 0 0; }
.gk-hours th{ text-align:left; font-weight:500; color:#33425E; padding:13px 0; font-size:15.5px; }
.gk-hours td{ text-align:right; color:var(--gk-muted); padding:13px 0; font-size:15.5px; white-space:nowrap; }
.gk-hours tr + tr{ border-top:1px solid var(--gk-border); }
@media (max-width:480px){
  .gk-hours th, .gk-hours td{ display:block; text-align:left; padding:6px 0; }
  .gk-hours tr + tr{ margin-top:6px; }
  .gk-hours th{ padding-top:12px; }
}
.gk-map .elementor-custom-embed,
.gk-map iframe{ border-radius:var(--gk-radius); }
.gk-map .elementor-custom-embed{ overflow:hidden; border:1px solid var(--gk-border); box-shadow:var(--gk-shadow-sm); }
.gk-contact-col .gk-iconbox .elementor-icon-box-description:empty{ display:none; }

/* ---------------------------------------------------------------- footer -- */
.gk-footer a{ text-decoration:none; transition:color .2s var(--gk-ease); }
.gk-footer .elementor-icon-list-item a:hover{ color:#fff; }
.gk-footer__bottom{ border-top:1px solid rgba(255,255,255,.10); }

/* ============================== FORM =================================== */
.gk-form{
  background:#fff; border:1px solid var(--gk-border); border-radius:var(--gk-radius-lg);
  padding:34px 32px; box-shadow:var(--gk-shadow-lg); color:var(--gk-text);
}
@media (max-width:600px){ .gk-form{ padding:24px 20px; } }
.gk-form__title{ margin:0 0 18px; color:var(--gk-navy); font-size:22px; }
.gk-field{ margin-bottom:20px; }
.gk-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .gk-row{ grid-template-columns:1fr; gap:0; } }
.gk-label{ display:block; font-weight:600; color:var(--gk-navy); font-size:15px; margin-bottom:8px; }
.gk-req{ color:var(--gk-orange); }
.gk-input,
.gk-select select{
  width:100%; padding:14px 16px; border:1px solid #DFE5EE; border-radius:10px;
  background:#F7F9FC; color:#22314C; font-size:16px; font-family:inherit; line-height:1.3;
  transition:border-color .18s var(--gk-ease), box-shadow .18s var(--gk-ease), background-color .18s var(--gk-ease);
  -webkit-appearance:none; appearance:none;
}
.gk-input::placeholder{ color:#98A3B4; }
.gk-input:focus,
.gk-select select:focus{
  outline:none; background:#fff; border-color:var(--gk-orange);
  box-shadow:0 0 0 4px rgba(242,113,31,.14);
}
.gk-select{ position:relative; }
.gk-select::after{
  content:""; position:absolute; right:16px; top:50%; margin-top:-3px;
  width:0; height:0; pointer-events:none;
  border-left:6px solid transparent; border-right:6px solid transparent; border-top:7px solid #64748B;
}
.gk-pills{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:480px){ .gk-pills{ grid-template-columns:1fr; } }
.gk-pill{ position:relative; display:block; margin:0; }
.gk-pill input{ position:absolute; opacity:0; width:1px; height:1px; }
.gk-pill span{
  display:block; text-align:center; padding:14px 12px; border:1px solid #DFE5EE; border-radius:10px;
  background:#fff; color:#5A6577; font-size:15.5px; cursor:pointer;
  transition:border-color .18s var(--gk-ease), background-color .18s var(--gk-ease), color .18s var(--gk-ease);
}
.gk-pill:hover span{ border-color:#C9D4E4; }
.gk-pill input:checked + span{
  border-color:var(--gk-orange); background:#FFF4EB; color:#B54F0C; font-weight:600;
}
.gk-pill input:focus-visible + span{ box-shadow:0 0 0 4px rgba(242,113,31,.18); }
.gk-field--check{ margin-top:-4px; }
.gk-check{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--gk-muted); }
.gk-check input{ margin-top:3px; accent-color:var(--gk-orange); width:17px; height:17px; }
.gk-check a{ color:var(--gk-orange); }
.gk-submit{
  width:100%; border:0; border-radius:10px; padding:18px 22px; cursor:pointer;
  background:var(--gk-orange); color:#fff; font-size:17px; font-weight:600; font-family:inherit;
  box-shadow:0 14px 30px -16px rgba(242,113,31,1);
  transition:background-color .2s var(--gk-ease), transform .18s var(--gk-ease), box-shadow .2s var(--gk-ease);
}
.gk-submit:hover{ background:var(--gk-orange-dark); transform:translateY(-1px); }
.gk-submit:active{ transform:translateY(0); }
.gk-arrow{ margin-left:6px; }
.gk-form__note{ margin:14px 0 0; font-size:13px; color:#8B95A5; }
.gk-hp{ position:absolute !important; left:-9999px !important; height:0; overflow:hidden; }
.gk-alert{ border-radius:12px; padding:16px 18px; margin-bottom:22px; font-size:15.5px; line-height:1.55; }
.gk-alert--ok{ background:#ECFAF1; border:1px solid #BFE7CD; color:#1C6B3A; }
.gk-alert--err{ background:#FEF2F2; border:1px solid #F3C9C9; color:#9B2B2B; }
.gk-alert a{ color:inherit; font-weight:600; }

/* ================= barra contatti mobile ================================ */
.gk-mobile-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:998; display:none;
  grid-template-columns:1fr 1fr; gap:10px; padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96); border-top:1px solid var(--gk-border);
  box-shadow:0 -8px 24px -16px rgba(16,32,64,.5); backdrop-filter:blur(6px);
}
.gk-mobile-bar__btn{
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 10px; border-radius:10px; font-weight:600; font-size:16px; text-decoration:none;
}
.gk-mobile-bar__btn--call{ background:var(--gk-orange); color:#fff; }
.gk-mobile-bar__btn--wa{ background:#128C7E; color:#fff; }
.gk-ic{ width:18px; height:18px; display:inline-block; }
.gk-ic--phone{ background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.2a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") no-repeat center/contain; }
.gk-ic--wa{ background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15L2 22l5.2-1.4A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4.1 14.8l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4zm-3 4.4c-.2 0-.5.1-.7.4-.3.3-.9.9-.9 2.1s.9 2.4 1 2.6c.1.2 1.7 2.7 4.2 3.7 2.1.8 2.5.6 3 .6.5 0 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2l-.6-.3-1.6-.8c-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1-.2-.1-1.1-.4-2-1.3-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5.3-.5v-.5l-.7-1.7c-.2-.4-.4-.4-.6-.4h-.6z'/%3E%3C/svg%3E") no-repeat center/contain; }
@media (max-width:767px){
  .gk-mobile-bar{ display:grid; }
  body.gk-has-bar{ padding-bottom:76px; }
}
