/* ==========================================================================
   footer2026.css — homepage footer + contact form (from inc/tailpage2026.php).
   Kept separate from footer.css because the homepage footer differs slightly.
   Chat widget styles live in footer.css (chat-inc.php is shared).
   ========================================================================== */

/* core wrapper */
.tail-form      {background:#13286b;color:#fff;padding:60px 20px; max-width: 1200px; margin: 0 auto;}
.tail-form h2   {margin:0 0 40px;font-size:42px;text-align:center;}
.tail-form label{display:block;margin:20px 0 6px;font-weight:600;}

.tail-form input,
.tail-form textarea,
.tail-form select{
    width:100%;max-width:550px;padding:14px 16px;border-radius:6px;
    border:2px solid #eaeaea;font-size:16px;box-sizing:border-box;
}
.tail-form textarea{min-height:120px;resize:vertical;}
.tail-form .row {display:flex;flex-wrap:wrap;gap:30px; max-width: 1130px; margin: 0 auto;}
.tail-form .row > div{ flex: 1 1 calc(50% - 15px);  box-sizing: border-box;}
.tail-form .note{font-size:14px;opacity:.8;margin-top:4px;}

.tail-form button{
    margin-top:30px;padding:16px 40px;border:none;border-radius:6px;
    background:#f26522;color:#fff;font-size:20px;cursor:pointer;
}
.tail-form button:hover{background:#d85616;}

.form-msg{margin-top:20px;font-size:18px;text-align:center;}
.form-msg.success{color:#9ef59e;}
.form-msg.error  {color:#ff9494;}

@media (max-width:600px){
  .tail-form h2{font-size:32px}
  .tail-form .row > div {
    flex: 1 1 100%; 
  }
}

.tail-form .form-heading {
  text-align: center;
  margin-bottom: 0px;
  margin-top: -20px;
}

.tail-form .form-heading .tagline {
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 46px;
  color: #66d0f0;
  margin: 0;
  line-height: 1.2;
  font-weight:700;
}

.tail-form .form-heading .mainline {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 5px 0 0;
  line-height: 1.1;
}


.tail-form-fullwidth-textarea {
  width: 100%;
  display: block;
  margin-top: 25px;
  max-width: 1130px; 
  margin-left: auto;
  margin-right: auto;
}

.tail-form-fullwidth-textarea textarea {
  width: 100%;
  min-height: 180px;
  font-size: 16px;
  padding: 14px;
  border-radius: 8px;
  border: 2px solid #eaeaea;
  resize: vertical;
  box-sizing: border-box;
  max-width: 100%;
}


.tail-form-submit-center {
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.tail-form-submit-btn {
  background: #f26522;
  color: #fff;
  font-size: 20px;
  padding: 16px 60px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tail-form-submit-btn:hover {
  background: #d8551a;
}

/* ===== GreenTop footer ===== */
.gth-footer          {background:#ffffff;color:#13286b;text-align:center;padding:50px 20px;line-height:1.6;font-size:18px;font-family:Arial,Helvetica,sans-serif;}
.gth-footer img      {display:block;margin:0 auto;}

.gth-flex            {display:flex;flex-wrap:wrap;justify-content:center;gap:40px;margin:40px 0;}
.gth-card            {flex:1 1 260px;max-width:300px;}

.gth-phone           {font-size:26px;font-weight:700;margin-top:8px;color:#d26522;}
.gth-phonee			 {font-size:26px;font-weight:700;margin-top:8px;color:#f21512;}
.gth-address         {white-space:pre-line;}               /* preserve line breaks */

.gth-license         {font-size:20px;font-weight:600;margin:30px 0 10px;}
.gth-hearts{
  display:flex;          /* place items on one line                   */
  justify-content:center;/* center the flex row within the container  */
  align-items:center;    /* vertical centering                        */
  gap:10px;              /* space between the two hearts              */
  margin:16px 0;         /* top / bottom spacing                      */
}

.gth-hearts img{
  width:48px;
  height:auto;
  margin:0;                /* kill stray margins */
  float:none;              /* in case something floated them */
}

.gth-social          {display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin:30px 0;}
.gth-social a img    {width:48px;height:48px;object-fit:contain;border-radius:8px;}

.gth-legal           {font-size:14px;color:#333;margin-top:40px;line-height:1.4; font-weight:700;}
.gth-legal a         {color:#13286b;text-decoration:none;}
.gth-legal a:hover   {text-decoration:underline;}

@media (max-width:767px){
  .gth-phone{font-size:22px;}
}


/* clip anything that slides in from the right */
.gth-truck-wrap{
  width:100%;
  overflow:hidden;
}

.gth-truck{
  max-width:320px;
  margin:0 auto;
  display:block;
  opacity:0;
  transform:translateX(120%);   /* a bit less than 150% */
}

.gth-truck.in-view {
  animation: truck-slide 1.2s cubic-bezier(.15,.85,.45,1) forwards;
}

/* slide-in animation when class .in-view is added */
@keyframes truck-slide{
  from{transform:translateX(150%); opacity:0;}
  to  {transform:translateX(0);    opacity:1;}
}


/* ─── Heart pulse cycle (4 s loop) ─── */
@keyframes heart-cycle-1 {
  0%   {transform: scale(1);}
  50%  {transform: scale(1);}                   /* wait while other heart pulses */
  62.5%{transform: scale(1.35);}                /* pulse up (0.5 s) */
  75%  {transform: scale(1);}
  100% {transform: scale(1);}
}

@keyframes heart-cycle-2 {
  0%   {transform: scale(1);}
  12.5%{transform: scale(1.35);}                /* pulse first second */
  25%  {transform: scale(1);}
  100% {transform: scale(1);}                   /* rest of the loop   */
}

.gth-heart-ukr,
.gth-heart-us {
  width: 48px;
  height: auto;
  display: block;
}

.gth-heart-ukr { animation: heart-cycle-2 4s infinite ease-in-out; }
.gth-heart-us  { animation: heart-cycle-1 4s infinite ease-in-out; }


.form-msg {
    padding: 12px 16px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: center;
    display: none;
    font-weight: bold;
}

.form-msg.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.form-msg.success {
    display: block;
    background: rgba(0, 128, 0, 0.1);
    color: #4ecdc4;
    border: 2px solid #4ecdc4;
}



input.error, select.error, textarea.error {
    border-color: #ff6b6b;
}






/* Block Click Month */

.gt-banner-system {
    position: fixed;
    left: 16px;
    bottom: 16px;
    width: 360px;
    max-width: calc(100vw - 110px);
    z-index: 999999;
    pointer-events: none;
}

.gt-slide-panel {
    position: relative;
    width: 100%;
    transform: translateY(calc(100% + 40px));
    opacity: 1;
    pointer-events: auto;
    transition: transform 1s ease;
}

.gt-slide-panel.open {
    transform: translateY(0);
}

.gt-slide-card {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.18);
    padding: 15px;
    overflow: hidden;
}

.gt-panel-content {
    display: block;
    cursor: pointer;
    line-height: 0;
}

.gt-panel-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 0;
}

.gt-panel-actions {
    position: absolute;
    top: -42px;
    left: 4px;
    display: flex;
    gap: 8px;
    z-index: 30;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.gt-panel-actions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.gt-panel-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid #0E1D84;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: #0E1D84;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    padding: 0;
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.gt-panel-btn:hover {
    transform: scale(1.05);
    color: #E55A2E;
    border-color: #E55A2E;
    background: #ffffff;
}

.gt-panel-btn-collapse {
    font-size: 22px;
    padding-bottom: 2px;
}

.gt-panel-btn-close {
    font-size: 20px;
}

.gt-minibar {
    position: fixed;
    left: 16px;
    bottom: 16px;
    width: 360px;
    max-width: calc(100vw - 110px);
    z-index: 1000000;
    transform: translateY(calc(100% + 30px));
    pointer-events: auto;
    transition: transform 0.6s ease;
}

.gt-minibar.show {
    transform: translateY(0);
}

.gt-minibar-card {
    position: relative;
    min-height: 56px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.16);
    padding: 14px 18px;
    display: flex;
    align-items: center;
}

.gt-minibar-text {
    color: #0E1D84;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    padding-right: 8px;
}

.gt-minibar-actions {
    position: absolute;
    top: -42px;
    left: 4px;
    display: flex;
    gap: 8px;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.gt-minibar-actions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.gt-minibar-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid #0E1D84;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: #0E1D84;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    padding: 0;
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.gt-minibar-btn:hover {
    transform: scale(1.05);
    color: #E55A2E;
    border-color: #E55A2E;
    background: #ffffff;
}

.gt-minibar-btn-expand {
    font-size: 17px;
}

.gt-minibar-btn-close {
    font-size: 20px;
}

@media (max-width: 767px) {
    .gt-banner-system,
    .gt-minibar {
        left: 12px;
        bottom: 12px;
        width: 310px; /* Reduced width by 10px */
        max-width: calc(100vw - 24px);
    }

    .gt-panel-actions,
    .gt-minibar-actions {
        top: -38px;
        left: 3px;
        gap: 7px;
    }

    .gt-panel-btn,
    .gt-minibar-btn {
        width: 32px;
        height: 32px;
    }

    .gt-minibar-text {
        font-size: 15px;
    }
}

