/**
Theme Name: Gyla Energija Child
Author: W Agency
Author URI: https://wagency.lt/
Description: Child theme for Gyla Energija website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gyla-energija-child
Template: astra
*/

/* Čia prasideda Gyla Energija stiliai */

/* GYLA ENERGIJA – BITRIX24 FORMA */

.gyla-bitrix-form .b24-form {
  width: 100%;
}

.gyla-bitrix-form .b24-form-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 0 !important;
  border-top: 4px solid #1c9c89 !important;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12) !important;
}

/* Bitrix palieka tuščią antraštės bloką */
.gyla-bitrix-form .b24-form-header {
  display: none !important;
}

.gyla-bitrix-form .b24-form-padding-side {
  padding-right: 36px !important;
  padding-left: 36px !important;
}

.gyla-bitrix-form .b24-form-content {
  padding-top: 32px !important;
  padding-bottom: 28px !important;
}

/* Laukai */
.gyla-bitrix-form .b24-form-field {
  margin-bottom: 14px !important;
}

.gyla-bitrix-form
  .b24-form-field:not(.b24-form-field-agreement)
  .b24-form-control-container {
  min-height: 54px;
  border-color: #dce5e2 !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gyla-bitrix-form
  .b24-form-field:not(.b24-form-field-agreement)
  .b24-form-control-container:focus-within {
  border-color: #1c9c89 !important;
  box-shadow: 0 2px 0 #1c9c89;
}

.gyla-bitrix-form .b24-form-control-label {
  color: #66736f !important;
}

.gyla-bitrix-form .b24-form-control-required {
  color: #e45454 !important;
}

.gyla-bitrix-form textarea.b24-form-control {
  min-height: 100px !important;
  resize: vertical;
}

/* Sutikimai */
.gyla-bitrix-form .b24-form-field-agreement {
  margin-bottom: 10px !important;
}

.gyla-bitrix-form .b24-form-control-desc {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #4f5c58 !important;
}

/* CTA */
.gyla-bitrix-form .b24-form-btn-container {
  margin-top: 20px !important;
}

.gyla-bitrix-form .b24-form-btn {
  min-height: 54px !important;
  border-radius: 6px !important;
  background: #1c9c89 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.gyla-bitrix-form .b24-form-btn:hover {
  background: #168374 !important;
  transform: translateY(-1px);
}

/* reCAPTCHA vizualas */
.gyla-bitrix-form .b24-form-recaptcha {
  display: none !important;
}

/* Bitrix nuorodą paliekame, tik padarome mažiau ryškią */
.gyla-bitrix-form .b24-form-sign {
  padding: 0 36px 18px !important;
  opacity: 0.45;
}

/* Mobilus */
@media (max-width: 767px) {
  .gyla-bitrix-form .b24-form-padding-side {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .gyla-bitrix-form .b24-form-content {
    padding-top: 24px !important;
    padding-bottom: 22px !important;
  }

  .gyla-bitrix-form .b24-form-sign {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}


.gyla-recaptcha-notice {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: #78827f;
}

.gyla-recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

#gauti-pasiulyma {
  scroll-margin-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* GYLA ENERGIJA – AČIŪ PUSLAPIS */
.gyla-thank-you {
  display: flex;
  min-height: calc(100vh - 160px);
  padding: clamp(72px, 10vw, 140px) 24px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(27, 156, 133, 0.14), transparent 38%),
    var(--ast-global-color-4, #edf6ee);
}

.gyla-thank-you__inner {
  width: min(100%, 840px);
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.gyla-thank-you__icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  color: #ffffff;
  background: var(--ast-global-color-0, #1b9c85);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(27, 156, 133, 0.24);
}

.gyla-thank-you__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gyla-thank-you .gyla-thank-you__eyebrow {
  margin: 0 0 12px;
  color: var(--ast-global-color-0, #1b9c85);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gyla-thank-you h1 {
  max-width: 680px;
  margin: 0 auto 20px;
  color: var(--ast-global-color-2, #0f172a);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
}

.gyla-thank-you .gyla-thank-you__intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ast-global-color-3, #454f5e);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.gyla-thank-you__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
  text-align: left;
}

.gyla-thank-you__step {
  padding: 22px;
  background: var(--ast-global-color-4, #edf6ee);
  border-radius: 16px;
}

.gyla-thank-you__step span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  place-items: center;
  color: #ffffff;
  background: var(--ast-global-color-0, #1b9c85);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.gyla-thank-you__step p {
  margin: 0;
  color: var(--ast-global-color-2, #0f172a);
  font-size: 15px;
  line-height: 1.55;
}

.gyla-thank-you__button {
  display: inline-flex;
  min-height: 52px;
  padding: 15px 28px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ast-global-color-0, #1b9c85);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gyla-thank-you__button:hover,
.gyla-thank-you__button:focus-visible {
  color: #ffffff;
  background: var(--ast-global-color-1, #178e79);
  transform: translateY(-2px);
}

.gyla-thank-you__button:focus-visible {
  outline: 3px solid rgba(27, 156, 133, 0.3);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .gyla-thank-you {
    min-height: auto;
    padding: 48px 16px;
  }

  .gyla-thank-you__inner {
    padding: 36px 20px;
    border-radius: 18px;
  }

  .gyla-thank-you__icon {
    width: 64px;
    height: 64px;
  }

  .gyla-thank-you__steps {
    grid-template-columns: 1fr;
    margin: 32px 0;
  }

  .gyla-thank-you__step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
  }

  .gyla-thank-you__step span {
    margin: 0;
  }

  .gyla-thank-you__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gyla-thank-you__button {
    transition: none;
  }
}


/* HEADER: sticky + shrink */
#masthead {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: #ffffff;
	transition: box-shadow 0.25s ease;
}

#masthead .ast-primary-header-bar {
	transition:
		padding-top 0.25s ease,
		padding-bottom 0.25s ease;
}

#masthead .site-primary-header-wrap {
	transition: min-height 0.25s ease;
}

#masthead .custom-logo {
	transition:
		width 0.25s ease,
		max-width 0.25s ease;
}

#masthead.gyla-header--scrolled {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Desktop shrink */
@media (min-width: 922px) {
	#masthead.gyla-header--scrolled #ast-desktop-header .ast-primary-header-bar {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	#masthead.gyla-header--scrolled #ast-desktop-header .site-primary-header-wrap {
		min-height: 60px;
	}

	#masthead.gyla-header--scrolled #ast-desktop-header .custom-logo {
		width: 100px;
		max-width: 100px;
		height: auto;
	}
}

/* Mobile shrink */
@media (max-width: 921px) {
	#masthead.gyla-header--scrolled #ast-mobile-header .ast-primary-header-bar {
		padding-top: 0;
		padding-bottom: 0;
	}

	#masthead.gyla-header--scrolled #ast-mobile-header .site-primary-header-wrap {
		min-height: 56px;
	}

	#masthead.gyla-header--scrolled #ast-mobile-header .custom-logo {
		width: 68px;
		max-width: 68px;
		height: auto;
	}
}

/* WordPress administratoriaus juosta */
.admin-bar #masthead {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar #masthead {
		top: 46px;
	}
}

/* Mažiau animacijos pasirinkusiems lankytojams */
@media (prefers-reduced-motion: reduce) {
	#masthead,
	#masthead .ast-primary-header-bar,
	#masthead .site-primary-header-wrap,
	#masthead .custom-logo {
		transition: none;
	}
}

/* FOOTER: kontaktų skiltis */
.gyla-footer-contact h3 {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.25;
	color: #0f172a;
}

.gyla-footer-contact p {
	margin: 0 0 18px;
	line-height: 1.7;
}

.gyla-footer-contact a {
	text-decoration: none;
}

.gyla-footer-contact__links {
	margin-bottom: 22px;
}

.gyla-footer-contact__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
	padding: 12px 20px;
	border-radius: 4px;
	background: #1b9c85;
	color: #ffffff !important;
	font-weight: 600;
	line-height: 1.2;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.gyla-footer-contact__cta:hover,
.gyla-footer-contact__cta:focus {
	background: #178e79;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* HERO video */
.gyla-hero-video {
  --hv: min(70svh, 620px);

  height: var(--hv);
  width: calc(var(--hv) * 9 / 16);
  max-width: 100%;

  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  line-height: 0;

  align-self: center;
  flex: 0 0 auto;
  min-height: 0;
  min-width: 0;
}

.gyla-hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

@media (max-width: 767px) {
  .gyla-hero-video {
    width: min(100%, calc(var(--hv) * 9 / 16));
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* HERO trust strip */
.gyla-trust-strip {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e2ebe7;
  border-bottom: 1px solid #e2ebe7;
}

.gyla-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
  list-style: none;
}

.gyla-trust-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 78px;
  padding: 4px 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.gyla-trust-item:not(:first-child)::before {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 0;
  width: 2px;
  background: #1b9c85;
  content: "";
}

.gyla-trust-item strong {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.gyla-trust-item span {
  max-width: 240px;
  color: #52605b;
  font-size: 14px;
  line-height: 1.45;
}

/* Tablet */
@media (max-width: 900px) {
  .gyla-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gyla-trust-item {
    padding: 24px;
  }

  .gyla-trust-item:nth-child(odd)::before {
    display: none;
  }

  .gyla-trust-item:nth-child(n + 3) {
    border-top: 1px solid #d8e4df;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gyla-trust-strip__inner {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .gyla-trust-item {
    min-height: 0;
    padding: 22px 8px;
  }

  .gyla-trust-item::before {
    display: none !important;
  }

  .gyla-trust-item + .gyla-trust-item {
    border-top: 1px solid #d8e4df;
  }

  .gyla-trust-item:nth-child(n + 3) {
    border-top: 1px solid #d8e4df;
  }
}

/* SAULĖS ELEKTRINIŲ SPRENDIMAI - elektrinių tėvinis */

.gyla-solutions {
  padding: 40px 24px 90px;
  background: #ffffff;
}

.gyla-solutions__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-solutions__header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.gyla-solutions__header h2 {
  margin: 0 0 16px;
  color: #001a2d;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-solutions__header p {
  margin: 0;
  color: #52626d;
  font-size: 17px;
  line-height: 1.7;
}

.gyla-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* Vidurinė kortelė nuleista žemyn */
.gyla-solution-card:nth-child(2) {
  margin-top: 32px;
}

.gyla-solution-card {
  display: flex;
  min-height: 390px;
  padding: 34px;
  flex-direction: column;
  color: #001a2d;
  text-decoration: none !important;
  background: #f3f8f6;
  border: 1px solid #dfeae6;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 26, 45, 0.14);
}

/* Paliekamas tik klaviatūros fokusas – be hover efekto */
.gyla-solution-card:focus-visible {
  outline: 3px solid rgba(28, 156, 134, 0.35);
  outline-offset: 4px;
}

.gyla-solution-card h3 {
  margin: 0 0 22px;
  color: #001a2d;
  font-size: 25px;
  line-height: 1.25;
}

.gyla-solution-card h3::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: #1c9c86;
  content: "";
}

.gyla-solution-card p {
  margin: 0;
  color: #52626d;
  font-size: 16px;
  line-height: 1.8;
}

.gyla-solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 36px;
  color: #168873;
  font-size: 16px;
  font-weight: 700;
}

.gyla-solution-card__link::after {
  content: "→";
}

@media (max-width: 900px) {
  .gyla-solutions {
    padding: 72px 20px;
  }

  .gyla-solutions__header {
    margin-bottom: 40px;
    text-align: left;
  }

  .gyla-solutions__grid {
    grid-template-columns: 1fr;
  }

  .gyla-solution-card,
  .gyla-solution-card:nth-child(2) {
    min-height: 0;
    margin-top: 0;
  }
}

/* HOMEPAGE – SPRENDIMAI SU NUOTRAUKOMIS */

.gyla-home-solutions .gyla-solutions__grid {
  align-items: stretch;
}

.gyla-home-solutions .gyla-solution-card {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 26, 45, 0.08);
}

.gyla-home-solutions .gyla-solution-card:nth-child(2) {
  margin-top: 0;
}

.gyla-home-solutions__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gyla-home-solutions__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.gyla-home-solutions .gyla-solution-card h3 {
  font-size: clamp(23px, 2.2vw, 28px);
}

.gyla-home-solutions .gyla-solution-card__link {
  line-height: 1.5;
}

.gyla-home-solutions .gyla-solution-card__link::after {
  flex-shrink: 0;
}

/* Papildomos paslaugos */

.gyla-home-solutions__extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.gyla-home-solutions__extra {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 0 0;
  border-top: 2px solid #1c9c86;
}

.gyla-home-solutions__extra h3 {
  margin: 0 0 12px;
  color: #001a2d;
  font-size: 23px;
  line-height: 1.3;
}

.gyla-home-solutions__extra p {
  margin: 0;
  color: #52626d;
  font-size: 16px;
  line-height: 1.8;
}

.gyla-home-solutions__extra .gyla-solution-card__link {
  padding-top: 20px;
  text-decoration: none;
}

.gyla-home-solutions__extra a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gyla-home-solutions__extra a:focus-visible {
  outline: 3px solid #1c9c86;
  outline-offset: 5px;
  border-radius: 2px;
}

/* Mobilus išdėstymas */

@media (max-width: 900px) {
  .gyla-home-solutions .gyla-solutions__grid {
    gap: 28px;
  }

  .gyla-home-solutions__body {
    padding: 24px;
  }

  .gyla-home-solutions__extras {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .gyla-home-solutions__extra {
    padding-top: 24px;
  }
}

/* SAULĖS ELEKTRINĖS GALIOS PARINKIMAS */

.gyla-sizing {
  padding: 96px 24px;
  background: #f3f8f6;
}

.gyla-sizing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-sizing__content {
  max-width: 610px;
}

.gyla-sizing__content h2 {
  margin: 0 0 28px;
  color: #001a2d;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-sizing__content h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  background: #1c9c86;
  content: "";
}

.gyla-sizing__content p {
  margin: 0 0 18px;
  color: #52626d;
  font-size: 17px;
  line-height: 1.75;
}

.gyla-sizing__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 14px 26px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  background: #1c9c86;
  border-radius: 12px;
}

.gyla-sizing__button:hover,
.gyla-sizing__button:focus {
  color: #ffffff !important;
  background: #168873;
}

.gyla-sizing__panel {
  padding: 40px;
  background: #ffffff;
  border: 1px solid #dfeae6;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 26, 45, 0.13);
}

.gyla-sizing__panel h3 {
  margin: 0 0 28px;
  color: #001a2d;
  font-size: 25px;
  line-height: 1.3;
}

.gyla-sizing__list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gyla-sizing__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
}

.gyla-sizing__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: #1c9c86;
  border-radius: 50%;
}

.gyla-sizing__list strong {
  display: block;
  margin-bottom: 4px;
  color: #001a2d;
  font-size: 16px;
  line-height: 1.4;
}

.gyla-sizing__list li div > span {
  display: block;
  color: #63717a;
  font-size: 14px;
  line-height: 1.55;
}

.gyla-sizing__result {
  margin-top: 30px;
  padding: 18px 20px;
  color: #32454f;
  font-size: 15px;
  line-height: 1.6;
  background: #edf7f4;
  border-left: 3px solid #1c9c86;
  border-radius: 0 10px 10px 0;
}

.gyla-sizing__result strong {
  color: #001a2d;
}

@media (max-width: 900px) {
  .gyla-sizing {
    padding: 72px 20px;
  }

  .gyla-sizing__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gyla-sizing__content {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .gyla-sizing {
    padding: 56px 20px;
  }

  .gyla-sizing__content h2 {
    font-size: 32px;
  }

  .gyla-sizing__content p {
    font-size: 16px;
  }

  .gyla-sizing__button {
    width: 100%;
  }

  .gyla-sizing__panel {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .gyla-sizing__panel h3 {
    font-size: 23px;
  }
}

/* SAULĖS ELEKTRINĖS ĮRENGIMO PROCESAS */

.gyla-process {
  padding: 100px 24px;
  background: #ffffff;
}

.gyla-process__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 88px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-process__intro {
  max-width: 500px;
}

.gyla-process__intro h2 {
  margin: 0 0 28px;
  color: #001a2d;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-process__intro h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  background: #1c9c86;
  content: "";
}

.gyla-process__intro p {
  margin: 0;
  color: #52626d;
  font-size: 17px;
  line-height: 1.75;
}

.gyla-process__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 32px;
  padding: 14px 26px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  background: #1c9c86;
  border-radius: 12px;
}

.gyla-process__button:hover,
.gyla-process__button:focus {
  color: #ffffff !important;
  background: #168873;
}

.gyla-process__steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gyla-process__steps::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 22px;
  width: 2px;
  background: #cce5df;
  content: "";
}

.gyla-process__steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0;
  padding: 0 0 34px;
}

.gyla-process__steps li:last-child {
  padding-bottom: 0;
}

.gyla-process__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: #1c9c86;
  border: 5px solid #ffffff;
  border-radius: 50%;
}

.gyla-process__steps h3 {
  margin: 3px 0 8px;
  color: #001a2d;
  font-size: 22px;
  line-height: 1.3;
}

.gyla-process__steps p {
  margin: 0;
  color: #63717a;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .gyla-process {
    padding: 72px 20px;
  }

  .gyla-process__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .gyla-process__intro {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .gyla-process {
    padding: 56px 20px;
  }

  .gyla-process__intro h2 {
    font-size: 32px;
  }

  .gyla-process__intro p {
    font-size: 16px;
  }

  .gyla-process__button {
    width: 100%;
  }

  .gyla-process__steps::before {
    left: 19px;
  }

  .gyla-process__steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 30px;
  }

  .gyla-process__number {
    width: 40px;
    height: 40px;
    font-size: 12px;
    border-width: 4px;
  }

  .gyla-process__steps h3 {
    margin-top: 2px;
    font-size: 20px;
  }
}

/* PARAMA SAULĖS ELEKTRINEI */

.gyla-support {
  padding: 96px 24px;
  color: #ffffff;
  background: #001a2d;
}

.gyla-support__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-support__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.gyla-support__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
}

.gyla-support__header h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 22px;
  background: #28b49a;
  content: "";
}

.gyla-support__intro p {
  margin: 0;
  color: #d2dfe2;
  font-size: 17px;
  line-height: 1.75;
}

.gyla-support__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 14px 26px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  background: #1c9c86;
  border-radius: 12px;
}

.gyla-support__button:hover,
.gyla-support__button:focus {
  color: #ffffff !important;
  background: #168873;
}

.gyla-support__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gyla-support__item {
  margin: 0;
  padding: 0 34px;
}

.gyla-support__item:first-child {
  padding-left: 0;
}

.gyla-support__item + .gyla-support__item {
  border-left: 2px solid rgba(40, 180, 154, 0.75);
}

.gyla-support__item:last-child {
  padding-right: 0;
}

.gyla-support__item h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
}

.gyla-support__item p {
  margin: 0;
  color: #c5d3d7;
  font-size: 15px;
  line-height: 1.7;
}

.gyla-support__note {
  margin: 48px 0 0;
  padding-top: 22px;
  color: #98acb2;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .gyla-support {
    padding: 72px 20px;
  }

  .gyla-support__header {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 52px;
  }

  .gyla-support__grid {
    grid-template-columns: 1fr;
    padding-top: 0;
    border-top: 0;
  }

  .gyla-support__item,
  .gyla-support__item:first-child,
  .gyla-support__item:last-child {
    padding: 28px 0;
  }

  .gyla-support__item + .gyla-support__item {
    border-top: 2px solid rgba(40, 180, 154, 0.75);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .gyla-support {
    padding: 56px 20px;
  }

  .gyla-support__header h2 {
    font-size: 32px;
  }

  .gyla-support__intro p {
    font-size: 16px;
  }

  .gyla-support__button {
    width: 100%;
  }

  .gyla-support__note {
    margin-top: 32px;
  }
}

/* KLIENTO ATSILIEPIMAS */

.gyla-testimonial {
  padding: 100px 24px;
  background: #ffffff;
}

.gyla-testimonial__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 88px;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.gyla-testimonial__media {
  display: flex;
  justify-content: center;
}

.gyla-testimonial__video {
  width: min(100%, 360px);
  overflow: hidden;
  background: #001a2d;
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(0, 26, 45, 0.2);
  line-height: 0;
}

.gyla-testimonial__video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: inherit;
}

.gyla-testimonial__content {
  max-width: 650px;
}

.gyla-testimonial__content h2 {
  margin: 0 0 28px;
  color: #001a2d;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-testimonial__content h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  background: #1c9c86;
  content: "";
}

.gyla-testimonial__lead {
  margin: 0 0 34px;
  color: #52626d;
  font-size: 18px;
  line-height: 1.75;
}

.gyla-testimonial__points {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gyla-testimonial__points li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
}

.gyla-testimonial__points li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: #1c9c86;
  border-radius: 50%;
}

.gyla-testimonial__points strong {
  display: block;
  margin-bottom: 4px;
  color: #001a2d;
  font-size: 17px;
  line-height: 1.4;
}

.gyla-testimonial__points p {
  margin: 0;
  color: #63717a;
  font-size: 15px;
  line-height: 1.6;
}

.gyla-testimonial__aftercare {
  margin-top: 38px;
  padding: 20px 22px;
  color: #40535c;
  font-size: 15px;
  line-height: 1.65;
  background: #f3f8f6;
  border-left: 3px solid #1c9c86;
  border-radius: 0 12px 12px 0;
}

.gyla-testimonial__aftercare strong {
  color: #001a2d;
}

@media (max-width: 900px) {
  .gyla-testimonial {
    padding: 72px 20px;
  }

  .gyla-testimonial__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .gyla-testimonial__content {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .gyla-testimonial {
    padding: 56px 20px;
  }

  .gyla-testimonial__video {
    width: min(100%, 320px);
    border-radius: 18px;
  }

  .gyla-testimonial__content h2 {
    font-size: 32px;
  }

  .gyla-testimonial__lead {
    font-size: 16px;
  }
}

/* DUK APIE SAULĖS ELEKTRINES */

.gyla-faq {
  padding: 100px 24px;
  background: #f3f8f6;
}

.gyla-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-faq__intro {
  max-width: 460px;
}

.gyla-faq__intro h2 {
  margin: 0 0 28px;
  color: #001a2d;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-faq__intro h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  background: #1c9c86;
  content: "";
}

.gyla-faq__intro p {
  margin: 0;
  color: #52626d;
  font-size: 17px;
  line-height: 1.75;
}

.gyla-faq__list {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfeae6;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 26, 45, 0.12);
}

.gyla-faq__list details {
  margin: 0;
  padding: 0 30px;
  border-bottom: 1px solid #dfeae6;
}

.gyla-faq__list details:last-child {
  border-bottom: 0;
}

.gyla-faq__list summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  color: #001a2d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.gyla-faq__list summary::-webkit-details-marker {
  display: none;
}

.gyla-faq__list summary::after {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  background: #1c9c86;
  border-radius: 50%;
  content: "+";
}

.gyla-faq__list details[open] summary::after {
  content: "−";
}

.gyla-faq__list summary:focus-visible {
  outline: 3px solid rgba(28, 156, 134, 0.3);
  outline-offset: 5px;
}

.gyla-faq__answer {
  max-width: 680px;
  padding: 0 56px 26px 0;
}

.gyla-faq__answer p {
  margin: 0;
  color: #63717a;
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .gyla-faq {
    padding: 72px 20px;
  }

  .gyla-faq__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .gyla-faq__intro {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .gyla-faq {
    padding: 56px 20px;
  }

  .gyla-faq__intro h2 {
    font-size: 32px;
  }

  .gyla-faq__intro p {
    font-size: 16px;
  }

  .gyla-faq__list {
    border-radius: 16px;
  }

  .gyla-faq__list details {
    padding: 0 20px;
  }

  .gyla-faq__list summary {
    gap: 16px;
    padding: 22px 0;
    font-size: 16px;
  }

  .gyla-faq__list summary::after {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 19px;
  }

  .gyla-faq__answer {
    padding: 0 0 22px;
  }

  .gyla-faq__answer p {
    font-size: 15px;
  }
}

/* GALUTINĖ UŽKLAUSOS SEKCIJA */

.gyla-final-cta {
  padding: 100px 24px;
  color: #ffffff;
  background: #001a2d;
  scroll-margin-top: 110px;
}

.gyla-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.gyla-final-cta__content {
  max-width: 520px;
  padding-top: 24px;
}

.gyla-final-cta__content h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.gyla-final-cta__content h2::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  background: #28b49a;
  content: "";
}

.gyla-final-cta__lead {
  margin: 0;
  color: #d2dfe2;
  font-size: 17px;
  line-height: 1.75;
}

.gyla-final-cta__benefits {
  display: grid;
  gap: 24px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.gyla-final-cta__benefits li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
}

.gyla-final-cta__benefits li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: #1c9c86;
  border-radius: 50%;
}

.gyla-final-cta__benefits strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4;
}

.gyla-final-cta__benefits p {
  margin: 0;
  color: #b9c9cd;
  font-size: 15px;
  line-height: 1.6;
}

.gyla-final-cta__phone {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gyla-final-cta__phone span {
  display: block;
  margin-bottom: 6px;
  color: #aebfc4;
  font-size: 14px;
}

.gyla-final-cta__phone a {
  color: #28b49a !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
}

.gyla-final-cta__phone a:hover,
.gyla-final-cta__phone a:focus {
  color: #ffffff !important;
}

.gyla-final-cta__form {
  min-width: 0;
}

/* Sustipriname formos atskyrimą nuo tamsaus fono */
.gyla-final-cta__form .b24-form-wrapper {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

@media (max-width: 900px) {
  .gyla-final-cta {
    padding: 72px 20px;
  }

  .gyla-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .gyla-final-cta__content {
    max-width: 680px;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .gyla-final-cta {
    padding: 56px 20px;
    scroll-margin-top: 90px;
  }

  .gyla-final-cta__content h2 {
    font-size: 32px;
  }

  .gyla-final-cta__lead {
    font-size: 16px;
  }

  .gyla-final-cta__phone a {
    font-size: 17px;
  }
}

/* =========================================================
   GYLA ENERGIJA – CUSTOM FOOTER
   ========================================================= */

.gyla-footer {
  margin-top: 0;
  background: #eef7f3;
  color: #16312b;
}

.gyla-footer a {
  color: inherit;
  text-decoration: none;
}

.gyla-footer__main {
  padding: 72px 32px 64px;
}

.gyla-footer__inner {
  width: min(100%, 1280px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
  gap: 56px;

  align-items: start;
}

/* BRAND */

.gyla-footer__brand {
  max-width: 340px;
}

.gyla-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.gyla-footer__logo .custom-logo-link {
  display: inline-block;
}

.gyla-footer__logo img,
.gyla-footer__logo .custom-logo {
  display: block;
  width: auto;
  max-width: 140px;
  height: auto;
}

.gyla-footer__description {
  margin: 0;
  max-width: 320px;
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.7;

  color: rgba(22, 49, 43, 0.78);
}

/* COLUMNS */

.gyla-footer__column {
  min-width: 0;
}

.gyla-footer__title {
  margin: 0 0 20px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;

  color: #16312b;
}

/* LINKS */

.gyla-footer__links {
  margin: 0;
  padding: 0;

  list-style: none;
}

.gyla-footer__links li + li {
  margin-top: 12px;
}

.gyla-footer__links a,
.gyla-footer__address a,
.gyla-footer__legal a {
  font-size: 15px;
  line-height: 1.55;

  color: rgba(22, 49, 43, 0.78);

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.gyla-footer__links a:hover,
.gyla-footer__address a:hover,
.gyla-footer__legal a:hover {
  color: #1c9c89;
}

/* CONTACT */

.gyla-footer__address {
  display: flex;
  flex-direction: column;
  gap: 9px;

  margin: 0 0 24px;

  font-style: normal;
}

.gyla-footer__address span {
  font-size: 15px;
  line-height: 1.55;

  color: rgba(22, 49, 43, 0.78);
}

.gyla-footer__company {
  margin-bottom: 24px;
  padding-top: 20px;

  border-top: 1px solid rgba(22, 49, 43, 0.14);
}

.gyla-footer__company p {
  margin: 0;

  font-size: 14px;
  line-height: 1.6;

  color: rgba(22, 49, 43, 0.72);
}

.gyla-footer__company p:first-child {
  margin-bottom: 4px;

  font-weight: 600;
  color: #16312b;
}

/* CTA */

.gyla-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 12px 20px;

  border-radius: 12px;

  background: #1c9c89;
  color: #ffffff !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.gyla-footer__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* BOTTOM BAR */

.gyla-footer__bottom {
  border-top: 1px solid rgba(22, 49, 43, 0.12);
  background: #15342e;
}

.gyla-footer__bottom-inner {
  width: min(100%, 1280px);
  min-height: 68px;
  margin: 0 auto;
  padding: 16px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.gyla-footer__bottom p {
  margin: 0;

  font-size: 13px;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.72);
}

.gyla-footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gyla-footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.gyla-footer__legal a:hover {
  color: #ffffff;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .gyla-footer__main {
    padding: 64px 28px 56px;
  }

  .gyla-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px 36px;
  }

  .gyla-footer__contact {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 32px;

    padding-top: 8px;
  }

  .gyla-footer__contact .gyla-footer__title {
    grid-column: 1 / -1;
    margin-bottom: -8px;
  }

  .gyla-footer__company {
    margin: 0;
    padding-top: 0;

    border-top: 0;
  }

  .gyla-footer__cta {
    align-self: start;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .gyla-footer__main {
    padding: 52px 20px 44px;
  }

  .gyla-footer__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gyla-footer__brand {
    max-width: none;
  }

  .gyla-footer__description {
    max-width: 420px;
  }

  .gyla-footer__contact {
    grid-column: auto;

    display: block;

    padding-top: 0;
  }

  .gyla-footer__contact .gyla-footer__title {
    margin-bottom: 20px;
  }

  .gyla-footer__company {
    margin-bottom: 22px;
    padding-top: 20px;

    border-top: 1px solid rgba(22, 49, 43, 0.14);
  }

  .gyla-footer__cta {
    width: 100%;
  }

  .gyla-footer__bottom-inner {
    min-height: auto;
    padding: 20px;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gyla-footer__legal {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

/* ==================================================
   KONTAKTŲ PUSLAPIS – HERO
   ================================================== */

.gyla-contact-hero {
  position: relative;
  overflow: hidden;
  background: #f4f8f7;
  color: #0f172a;
}

.gyla-contact-hero__inner {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  padding-block: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.76fr);
  gap: 80px;
  align-items: center;
}

.gyla-contact-hero__content {
  max-width: 680px;
}

.gyla-contact-hero__eyebrow {
  margin: 0 0 16px;
  color: #1c9c89;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gyla-contact-hero__content h1 {
  margin: 0 0 24px;
  color: #0f172a;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.gyla-contact-hero__intro {
  max-width: 640px;
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.gyla-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.gyla-contact-hero__button {
  min-height: 54px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.gyla-contact-hero__button--primary {
  background: #1c9c89;
  border-color: #1c9c89;
  color: #ffffff;
}

.gyla-contact-hero__button--primary:hover,
.gyla-contact-hero__button--primary:focus {
  background: #157c6d;
  border-color: #157c6d;
  color: #ffffff;
}

.gyla-contact-hero__button--secondary {
  background: transparent;
  border-color: #0f172a;
  color: #0f172a;
}

.gyla-contact-hero__button--secondary:hover,
.gyla-contact-hero__button--secondary:focus {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.gyla-contact-hero__button:focus-visible {
  outline: 3px solid rgba(28, 156, 137, 0.35);
  outline-offset: 3px;
}

.gyla-contact-hero__response-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.gyla-contact-hero__status {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #1c9c89;
  box-shadow: 0 0 0 5px rgba(28, 156, 137, 0.12);
}

/* Direktorės nuotrauka */

.gyla-contact-hero__person {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding-bottom: 34px;
  justify-self: end;
}

.gyla-contact-hero__person::before {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 0;
  width: 46%;
  height: 46%;
  border-top: 3px solid #1c9c89;
  border-right: 3px solid #1c9c89;
  content: "";
}

.gyla-contact-hero__image {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: #dfe9e6;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.gyla-contact-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gyla-contact-hero__caption {
  position: absolute;
  bottom: 0;
  left: -28px;
  z-index: 2;
  min-width: 230px;
  padding: 18px 22px;
  border-left: 4px solid #1c9c89;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.gyla-contact-hero__caption strong,
.gyla-contact-hero__caption span {
  display: block;
}

.gyla-contact-hero__caption strong {
  margin-bottom: 3px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
}

.gyla-contact-hero__caption span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

/* Planšetė */

@media (max-width: 960px) {
  .gyla-contact-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 48px;
    padding-block: 72px;
  }

  .gyla-contact-hero__content h1 {
    font-size: clamp(38px, 5vw, 52px);
  }

  .gyla-contact-hero__caption {
    left: -16px;
  }
}

/* Mobilus */

@media (max-width: 767px) {
  .gyla-contact-hero__inner {
    width: min(100% - 40px, 560px);
    padding-block: 56px 48px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .gyla-contact-hero__content {
    max-width: none;
  }

  .gyla-contact-hero__content h1 {
    margin-bottom: 20px;
    font-size: clamp(36px, 11vw, 48px);
    letter-spacing: -0.035em;
  }

  .gyla-contact-hero__intro {
    font-size: 17px;
    line-height: 1.65;
  }

  .gyla-contact-hero__actions {
    margin-top: 28px;
    flex-direction: column;
  }

  .gyla-contact-hero__button {
    width: 100%;
  }

  .gyla-contact-hero__person {
    max-width: 460px;
    justify-self: center;
  }

  .gyla-contact-hero__person::before {
    top: -12px;
    right: -12px;
  }

  .gyla-contact-hero__caption {
    left: 14px;
  }
}

@media (max-width: 420px) {
  .gyla-contact-hero__inner {
    width: min(100% - 32px, 560px);
  }

  .gyla-contact-hero__content h1 {
    font-size: 34px;
  }

  .gyla-contact-hero__caption {
    right: 14px;
    left: 14px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gyla-contact-hero__button {
    transition: none;
  }
}

/* KONTAKTŲ PUSLAPIS – ŽEMĖLAPIS */

.gyla-location-map {
  overflow: hidden;
  padding: 0;
}

.gyla-location-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 600px) {
  .gyla-location-map iframe {
    height: 340px;
  }
}

/* HERO VARIANTAS – APIE MUS */

.gyla-contact-hero--about .gyla-contact-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}

.gyla-contact-hero--about .gyla-contact-hero__person {
  max-width: none;
}

.gyla-contact-hero--about .gyla-contact-hero__image {
  aspect-ratio: 16 / 9;
}

@media (max-width: 960px) {
  .gyla-contact-hero--about .gyla-contact-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gyla-contact-hero--about .gyla-contact-hero__person {
    max-width: 680px;
    justify-self: start;
  }
}


/* ==================================================
   APIE MUS – ISTORIJOS JUOSTA
   ================================================== */

.gyla-story {
  --story-accent: #1c9c89;
  --story-line: #8aa39c;
  --story-bg: #ffffff;
  padding-block: 88px;
  background: var(--story-bg);
  color: #0f172a;
  scroll-margin-top: 110px;
}

.gyla-story,
.gyla-story * {
  box-sizing: border-box;
}

.gyla-story__inner {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.gyla-story__header {
  max-width: 720px;
  margin-bottom: 80px;
}

.gyla-story__header h2 {
  margin: 0 0 20px;
  color: #0f172a;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gyla-story__header p {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.gyla-story__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gyla-story__step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(100, minmax(0, 1fr));
  align-items: start;
  margin: 0;
  padding: 0 0 40px;
  isolation: isolate;
}

/* Vienodo pločio tekstai ir nuotraukos */

.gyla-story__photo {
  grid-column: 1 / 17;
  grid-row: 1;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: #f4f8f7;
}

.gyla-story__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gyla-story__body {
  grid-column: 25 / 50;
  grid-row: 1;
  min-width: 0;
}

.gyla-story__step:nth-child(even) .gyla-story__body {
  grid-column: 57 / 82;
}

.gyla-story__step:nth-child(even) .gyla-story__photo {
  grid-column: 85 / 101;
}

.gyla-story__year {
  margin: 0 0 4px !important;
  color: #157c6d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.gyla-story__body h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.gyla-story__body > p:not(.gyla-story__year) {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

/* Etapų taškai */

.gyla-story__marker {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 20%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border: 4px solid var(--story-bg);
  border-radius: 50%;
  background: var(--story-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.gyla-story__step:nth-child(even) .gyla-story__marker {
  left: 52%;
}

/* Linija: nuo taško aukštyn, virš teksto ir žemyn */

.gyla-story__step:not(:last-child)::before,
.gyla-story__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.gyla-story__step:nth-child(odd):not(:last-child)::before {
  top: -30px;
  bottom: -18px;
  left: calc(20% + 24px);
  width: calc(32% - 24px);
  border-top: 2px solid var(--story-line);
  border-right: 2px solid var(--story-line);
  border-top-right-radius: 24px;
}

.gyla-story__step:nth-child(odd):not(:last-child)::after {
  top: -30px;
  left: 20%;
  width: 24px;
  height: 48px;
  border-top: 2px solid var(--story-line);
  border-left: 2px solid var(--story-line);
  border-top-left-radius: 24px;
}

/* Grįžimas nuo dešinio etapo prie kairio */

.gyla-story__step:nth-child(even):not(:last-child)::before {
  top: 18px;
  bottom: 32px;
  left: calc(20% + 24px);
  width: calc(32% - 24px);
  border-right: 2px solid var(--story-line);
  border-bottom: 2px solid var(--story-line);
  border-bottom-right-radius: 24px;
}

.gyla-story__step:nth-child(even):not(:last-child)::after {
  bottom: -18px;
  left: 20%;
  width: 24px;
  height: 52px;
  border-top: 2px solid var(--story-line);
  border-left: 2px solid var(--story-line);
  border-top-left-radius: 24px;
}

/* Pertrūkis tarp trečio ir ketvirto etapų */

@media (min-width: 1001px) {
  .gyla-story__step:nth-child(3):not(:last-child)::before {
    top: 50%;
    bottom: -18px;
    left: calc(52% - 48px);
    width: 48px;
    border-top: 2px solid var(--story-line);
    border-right: 2px solid var(--story-line);
    border-top-right-radius: 24px;
  }

  .gyla-story__step:nth-child(3):not(:last-child)::after {
    display: none;
  }
}

/* Užbaigimas su lapų motyvu */

.gyla-story__closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 36px;
  margin-top: 64px;
  padding: 36px 120px 36px 36px;
  border-radius: 10px;
  background: #eef4ee;
}

.gyla-story__closing::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: -6px;
  width: 80px;
  height: 160px;
  background:
    url("/wp-content/uploads/2026/09/lapai-apie-mus.svg")
    center bottom / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.gyla-story__closing h2 {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--story-accent);
  color: #0f172a;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.gyla-story__closing p {
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid #b9cec5;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

/* Planšetė: tiesi juosta */

@media (max-width: 1000px) {
  .gyla-story__step {
    grid-template-columns: 36px minmax(0, 1fr) 180px;
    column-gap: 24px;
    padding-bottom: 56px;
  }

  .gyla-story__step:nth-child(n):not(:last-child)::before {
    top: 18px;
    bottom: -18px;
    left: 17px;
    width: 0;
    border: 0;
    border-left: 2px solid var(--story-line);
    border-radius: 0;
  }

  .gyla-story__step:nth-child(n)::after {
    display: none;
  }

  .gyla-story__step:nth-child(n) .gyla-story__marker {
    left: 18px;
  }

  .gyla-story__step:nth-child(n) .gyla-story__body {
    grid-column: 2;
  }

  .gyla-story__step:nth-child(n) .gyla-story__photo {
    grid-column: 3;
  }

  .gyla-story__closing {
    gap: 24px;
    padding-left: 28px;
  }
}

/* Telefonas: tekstas ir nuotrauka šalia juostos */

@media (max-width: 767px) {
  .gyla-story {
    padding-block: 56px;
  }

  .gyla-story__inner {
    width: min(100% - 40px, 560px);
  }

  .gyla-story__header {
    margin-bottom: 40px;
  }

  .gyla-story__header p {
    font-size: 17px;
  }

  .gyla-story__step {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 22px;
    padding-bottom: 48px;
  }

  .gyla-story__step:nth-child(n) .gyla-story__body {
    grid-column: 2;
    grid-row: 1;
  }

  .gyla-story__step:nth-child(n) .gyla-story__photo {
    grid-column: 2;
    grid-row: 2;
    width: min(100%, 240px);
  }

  .gyla-story__body h3 {
    margin-bottom: 14px;
    font-size: 25px;
  }

  .gyla-story__closing {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    padding: 28px 24px 100px;
  }

  .gyla-story__closing p {
    padding-left: 0;
    border-left: 0;
  }

  .gyla-story__closing::after {
    right: 18px;
    width: 52px;
    height: 104px;
    opacity: 0.35;
  }
}

/* =========================================================
   GYLA ENERGIJA – MOBILE OFF-CANVAS MENU
   ========================================================= */

@media (max-width: 921px) {

	/* Drawer */
	.ast-mobile-popup-drawer .ast-mobile-popup-inner {
		width: min(90vw, 420px);
		max-width: none;
		background: #03170f;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-overlay {
		background: rgba(3, 15, 11, 0.62);
		backdrop-filter: blur(2px);
	}

	/* Close button */
	.ast-mobile-popup-drawer .ast-mobile-popup-header {
		padding: 18px 22px 0;
	}

	.ast-mobile-popup-drawer .menu-toggle-close {
		display: grid;
		width: 44px;
		height: 44px;
		padding: 0;
		color: #1c9c89;
		background: transparent;
		border: 1px solid rgba(28, 156, 137, 0.55);
		border-radius: 4px;
		place-items: center;
	}

	/* Content */
	.ast-mobile-popup-drawer .ast-mobile-popup-content {
		display: flex;
		flex: 1;
		flex-direction: column;
		padding: 18px 28px 30px;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-content > * {
		padding-right: 0;
		padding-left: 0;
	}

	/* Main navigation */
	.ast-mobile-popup-drawer .ast-builder-menu-mobile {
		padding: 0;
	}

	.ast-mobile-popup-drawer #ast-hf-mobile-menu {
		margin: 0;
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item:first-child {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link {
		display: flex;
		min-height: 68px;
		padding: 0;
		color: rgba(255, 255, 255, 0.9);
		font-size: clamp(18px, 5vw, 21px);
		font-weight: 600;
		line-height: 1.25;
		letter-spacing: -0.01em;
		align-items: center;
		justify-content: space-between;
		transition:
			color 180ms ease,
			padding-left 180ms ease;
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link::after {
		color: #1c9c89;
		font-size: 22px;
		font-weight: 400;
		content: "→";
		transition: transform 180ms ease;
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link:hover,
	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link:focus-visible {
		padding-left: 5px;
		color: #ffffff;
	}

	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link:hover::after,
	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .menu-item > .menu-link:focus-visible::after {
		transform: translateX(4px);
	}

	/* Current page */
	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .current-menu-item > .menu-link,
	.ast-mobile-popup-drawer
	#ast-hf-mobile-menu > .current-menu-ancestor > .menu-link {
		color: #42c7b3;
	}

	/* CTA and phone area */
	.ast-mobile-popup-content
	[data-section="section-hb-html-2"] {
		width: 100%;
		margin-top: clamp(28px, 7vh, 54px);
		padding: 0;
	}

	.gyla-mobile-menu-actions {
		display: grid;
		gap: 18px;
		width: 100%;
	}

	.gyla-mobile-menu-cta {
		display: flex;
		width: 100%;
		min-height: 54px;
		padding: 14px 18px;
		color: #ffffff;
		background: #1c9c89;
		border-radius: 4px;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none;
		align-items: center;
		justify-content: space-between;
		transition:
			background-color 180ms ease,
			transform 180ms ease;
	}

	.gyla-mobile-menu-cta:hover,
	.gyla-mobile-menu-cta:focus-visible {
		color: #ffffff;
		background: #178675;
		transform: translateY(-1px);
	}

	.gyla-mobile-menu-phone {
		display: flex;
		color: rgba(255, 255, 255, 0.65);
		font-size: 13px;
		line-height: 1.4;
		text-decoration: none;
		flex-direction: column;
		gap: 3px;
	}

	.gyla-mobile-menu-phone strong {
		color: #ffffff;
		font-size: 17px;
		font-weight: 600;
	}

	.gyla-mobile-menu-phone:hover strong,
	.gyla-mobile-menu-phone:focus-visible strong {
		color: #42c7b3;
	}

	@media (prefers-reduced-motion: reduce) {

		.ast-mobile-popup-drawer *,
		.ast-mobile-popup-drawer *::after {
			transition: none;
		}
	}
}

/* GYLA – APATINĖ CTA JUOSTELĖ */

.gyla-sticky-cta {
	position: fixed;
	inset: auto 0 0;
	z-index: 9000;
	box-sizing: border-box;
	padding: 10px 24px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-top: 1px solid #dce8e4;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);

	opacity: 0;
	visibility: hidden;
	transform: translateY(100%);
	pointer-events: none;

	transition:
		transform 240ms ease,
		opacity 240ms ease,
		visibility 240ms;
}

.gyla-sticky-cta[hidden] {
	display: none;
}

.gyla-sticky-cta.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.gyla-sticky-cta__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.gyla-sticky-cta__text {
	margin: 0;
	color: #243b35;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.gyla-sticky-cta__actions {
	display: flex;
	align-items: center;
	gap: 28px;
}

.gyla-sticky-cta__phone {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #243b35;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.gyla-sticky-cta__phone:hover {
	color: #137563;
}

.gyla-sticky-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 11px 26px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #137563;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease;
}

.gyla-sticky-cta__button:visited {
	color: #fff;
}

.gyla-sticky-cta__button:hover {
	background: #0e5e4f;
	color: #fff;
}

.gyla-sticky-cta__button:focus-visible,
.gyla-sticky-cta__phone:focus-visible {
	outline: 2px solid #137563;
	outline-offset: 4px;
}

/* MOBILE */

@media (max-width: 767px) {
	.gyla-sticky-cta {
		padding: 8px 16px;
		padding-right: max(16px, env(safe-area-inset-right, 0px));
		padding-left: max(16px, env(safe-area-inset-left, 0px));
		padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
	}

	.gyla-sticky-cta__text,
	.gyla-sticky-cta__phone {
		display: none;
	}

	.gyla-sticky-cta__actions {
		width: 100%;
	}

	.gyla-sticky-cta__button {
		width: 100%;
	}
}

/* Sumažinto judesio nustatymas */

@media (prefers-reduced-motion: reduce) {
	.gyla-sticky-cta,
	.gyla-sticky-cta__button {
		transition: none;
	}
}


/* GYLA – ELEKTRINĖS SU KAUPIKLIU KOMPLEKTACIJOS */

.gyla-packages .gyla-sizing__inner {
  gap: 32px;
  align-items: stretch;
}

.gyla-packages .gyla-sizing__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gyla-packages .gyla-sizing__list {
  flex-grow: 1;
}

.gyla-packages .gyla-packages__price {
  display: inline-block;
  margin-block: 6px 10px;
  color: #157c6d;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

.gyla-packages .gyla-sizing__button {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

.gyla-packages p.gyla-sizing__result {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #52626d;
  font-size: 14px;
  line-height: 1.65;
}

@media (min-width: 901px) {
  .gyla-packages .gyla-sizing__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}