/* ==========================================================
   ISE ENGINEERING — main.css
   ========================================================== */


   /* Peidetud uudised */
   .ise-section--news {
       display: none;
   }

   ul.wp-block-polylang-language-switcher {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin-left: 2rem;
}

.wp-block-navigation-item__content:focus, .ise-service-card__link:focus, .wp-block-button__link.wp-element-button:focus, .ise-footer-social__link:focus, .ise-contact-item__value:focus, .gform_button:focus,
.ise-contact-team-link a:focus, .ise-footer-col a:focus, .ise-footer-credit a:focus, .ise-team-card__contact:focus {
    outline: none !important;
}

/* ----------------------------------------------------------
   MUUTUJAD
   ---------------------------------------------------------- */


:root {
    --ise-orange:      #E8600A;
    --ise-orange-hover:#FF6B00;
    --ise-black:       #0D0D0D;
    --ise-white:       #FFFFFF;
    --ise-grey-light:  #F5F5F5;
    --ise-text:        #1A1A1A;
    --font-heading:    'Exo', sans-serif;
    --font-body:       'Open Sans', sans-serif;
    --header-height:   72px;
    --container-max:   1280px;
}


/* ==========================================================
   HEADER
   ========================================================== */

.ise-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--ise-black);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.2s ease;
}

.ise-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.ise-header-inner .wp-block-group.alignwide {
    min-height: var(--header-height);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center;
}

.ise-header .wp-block-site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.ise-header .wp-block-navigation a.wp-block-navigation-item__content {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 6px 2px;
    transition: color 0.15s ease;
    position: relative;
}

.ise-header .wp-block-navigation a.wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ise-orange);
    transition: width 0.2s ease;
}

.ise-header .wp-block-navigation li:not(.cta-header-orange) a.wp-block-navigation-item__content:hover {
    color: var(--ise-white);
}

.ise-header .wp-block-navigation li:not(.cta-header-orange) a.wp-block-navigation-item__content:hover::after {
    width: 100%;
}

.ise-header .wp-block-navigation li.current-menu-item a.wp-block-navigation-item__content {
    color: var(--ise-white);
}

.ise-header .wp-block-navigation li.current-menu-item a.wp-block-navigation-item__content::after {
    width: 100%;
}

.ise-header .wp-block-navigation li.cta-orange a.wp-block-navigation-item__content {
    color: var(--ise-orange);
}

.ise-header .wp-block-navigation li.cta-orange a.wp-block-navigation-item__content:hover {
    color: var(--ise-orange-hover);
}

.ise-header .wp-block-navigation li.cta-header-orange {
    margin-left: 8px;
}

.ise-header .wp-block-navigation li.cta-header-orange a.wp-block-navigation-item__content {
    background-color: var(--ise-orange);
    color: var(--ise-white);
    padding: 9px 20px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.ise-header .wp-block-navigation li.cta-header-orange a.wp-block-navigation-item__content::after {
    display: none;
}

.ise-header .wp-block-navigation li.cta-header-orange a.wp-block-navigation-item__content:hover {
    background-color: var(--ise-orange-hover);
    color: var(--ise-white);
    transform: translateY(-1px);
}

.ise-header .wp-block-navigation__container {
    gap: 24px !important;
}

.ise-header .wp-block-navigation__responsive-container-open {
    color: var(--ise-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ise-header .wp-block-navigation__responsive-container-open svg path {
    fill: var(--ise-white);
}

.ise-header .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--ise-black);
    padding: 24px;
}

.ise-header .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ise-header .wp-block-navigation__responsive-container-close {
    color: var(--ise-white);
    background: none;
    border: none;
    cursor: pointer;
}

.ise-main {
    margin-top: 0;
}

.ise-section-title {
    text-align: center;
}

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--ise-black) !important;
}

@media screen and (max-width: 799px) {
    .admin-bar .ise-header.scrolled {
        top: 0px;
    }

    .ise-header {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ==========================================================
   FOOTER
   ========================================================== */

.ise-footer,
.ise-footer-inner {
    background-color: var(--ise-black);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
}

footer {
    margin-top: 0;
}

.ise-footer-inner > .wp-block-group.alignwide {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
    align-items: flex-start;
}

.ise-footer-col {
    min-width: 140px;
}

.ise-footer-brand {
    flex: 0 0 220px;
}

.ise-footer-brand .wp-block-site-logo img {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.ise-footer-tagline {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.ise-footer-col-title {
    font-family: var(--font-body);
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}

.ise-footer-col .wp-block-navigation__container {
    gap: 8px !important;
}

.ise-footer-col .wp-block-navigation a.wp-block-navigation-item__content {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    padding: 0;
    transition: color 0.15s ease;
}

.ise-footer-col .wp-block-navigation a.wp-block-navigation-item__content:hover {
    color: var(--ise-white);
}

.ise-footer-contact p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    margin: 0 0 6px;
    line-height: 1.5;
}

.ise-footer-contact a {
    color: var(--ise-orange);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-footer-contact a:hover {
    color: var(--ise-orange-hover);
}

.ise-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: 0;
}

.ise-footer-copy,
.ise-footer-credit {
    font-size: 0.775rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.ise-footer-credit a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-footer-credit a:hover {
    color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .ise-footer-inner > .wp-block-group.alignwide {
        flex-direction: column;
        gap: 32px;
    }
    .ise-footer-brand {
        flex: unset;
    }
    .ise-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .ise-footer {
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* ==========================================================
   ÜLDISED ABIKLASSID
   ========================================================== */

.ise-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ise-orange);
    display: block;
    margin-bottom: 10px;
}

.ise-section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.ise-divider {
    border: none;
    border-top: 2px solid var(--ise-orange);
    width: 48px;
    margin: 0 0 32px;
}

.ise-lead {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #444;
    line-height: 1.85;
    max-width: 720px;
}

.ise-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 3px;
    letter-spacing: 0.03em;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.ise-btn--orange {
    background-color: var(--ise-orange);
    color: var(--ise-white);
}

.ise-btn--orange:hover {
    background-color: var(--ise-orange-hover);
    transform: translateY(-1px);
    color: var(--ise-white);
}

.ise-btn--outline {
    background-color: transparent;
    color: var(--ise-white);
    border: 2px solid rgba(255,255,255,0.6);
}

.ise-btn--outline:hover {
    border-color: var(--ise-white);
    background-color: rgba(255,255,255,0.08);
    color: var(--ise-white);
}

.no-bt-padding {
    padding-bottom: 0 !important;
}

@media screen and (max-width: 599px) {
    
    .wp-block-group.alignfull {
        padding-left: 0px ;
        padding-right: 0px;
    }
    .ise-section, .ise-section-white, .ise-section-light, .ise-section-dark, .ise-alamteenused { padding-left: 12px !important; padding-right: 12px !important;
    }



}


/* ==========================================================
   SEKTSIOONI TAUSTAD
   ========================================================== */

.ise-section-white {
    background-color: #ffffff;
    padding: 72px 24px;
}

.ise-section-light, .ise-section--services, .ise-section--stats {
    background-color: var(--ise-grey-light);
    padding: 72px 24px;
    margin-top: 0;
}

.ise-section-dark {
    background-color: var(--ise-black);
    margin-top: 0;
}

.ise-section-dark .ise-stat__label {
    color: rgba(255,255,255,0.6);
}


/* ==========================================================
   HERO BANNER (avaleht)
   ========================================================== */

.ise-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    display: flex;
    align-items: center;
}

.admin-bar .ise-hero {
    height: calc(100vh - var(--header-height) - 32px);
}

.ise-hero__slides {
    position: absolute;
    inset: 0;
}

.ise-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.ise-hero__slide.active {
    opacity: 1;
}

.ise-hero__slide picture,
.ise-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ise-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 60%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}

.ise-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ise-hero__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

.ise-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--ise-white);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    max-width: 700px;
}

.ise-hero__title span {
    color: var(--ise-orange);
}

.ise-hero__sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 720px;
    line-height: 1.7;
    margin: 0 0 36px;
}

.ise-hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ise-hero__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.ise-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ise-hero__dot.active {
    background: var(--ise-orange);
    transform: scale(1.3);
}

@media (max-width: 640px) {
    .ise-hero__inner { padding: 0 20px; }
    .ise-hero__btns { flex-direction: column; align-items: flex-start; }
}


/* ==========================================================
   AVALEHT — sektsiooni stiilid
   ========================================================== */

.ise-section {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 0;
    margin-bottom: 0;
}

.ise-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ise-section-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
    font-weight: 700 !important;
    color: var(--ise-text) !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    letter-spacing: -0.01em;
}

.ise-section-lead {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #666;
    margin: 0 auto;
    line-height: 1.7;
}

.ise-about-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #555;
    line-height: 1.85;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 640px) {
    .ise-section { padding-top: 56px; padding-bottom: 56px; }
}


/* ==========================================================
   TEENUSTE KAARDID
   ========================================================== */

.ise-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ise-services-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
}

.ise-service-card {
    background: var(--ise-white);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #ebebeb;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-service-card:hover {
    border-bottom-color: var(--ise-orange);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ise-service-card-heading {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 1rem;
}

.ise-service-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.ise-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ise-service-card:hover .ise-service-card__img {
    transform: scale(1.04);
}

.ise-service-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ise-service-card__icon {
    width: 36px;
    height: 36px;
    color: var(--ise-orange);
    margin-bottom: 14px;
}

.ise-service-card__icon svg {
    width: 36px;
    height: 36px;
}

.ise-service-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.ise-service-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-service-card__title a:hover {
    color: var(--ise-orange);
}

.ise-service-card__desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.ise-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ise-orange);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.15s ease;
}

.ise-service-card__link:hover {
    gap: 10px;
    color: var(--ise-orange-hover);
}

@media (max-width: 1024px) {
    .ise-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ise-services-grid--2x2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ise-services-grid { grid-template-columns: 1fr; }
}


/* ==========================================================
   AVALEHT — UUDISED/REFERENTSID (wp:query tsükkel)
   ========================================================== */

.ise-news-grid.wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ise-news-card {
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-news-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ise-news-card .wp-block-post-featured-image {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ise-news-card .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ise-news-card:hover .wp-block-post-featured-image img {
    transform: scale(1.04);
}

.ise-news-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ise-news-card__title.wp-block-post-title,
.ise-news-card__title.wp-block-post-title a {
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--ise-text) !important;
    text-decoration: none;
    margin: 0 0 10px !important;
    line-height: 1.4;
}

.ise-news-card__title.wp-block-post-title a:hover {
    color: var(--ise-orange) !important;
}

.ise-news-card__excerpt .wp-block-post-excerpt__excerpt {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #777;
    line-height: 1.65;
    margin-bottom: 16px;
}

.ise-news-card__excerpt .wp-block-post-excerpt__more-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ise-orange);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.15s ease;
}

.ise-news-card__excerpt .wp-block-post-excerpt__more-link:hover {
    color: var(--ise-orange-hover);
}

@media (max-width: 1024px) {
    .ise-news-grid.wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .ise-news-grid.wp-block-post-template { grid-template-columns: 1fr !important; }
}


/* ==========================================================
   STATS
   ========================================================== */

/* Avaleht stats */
.ise-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.ise-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.ise-stat:last-child {
    border-right: none;
}

/* Stat number klass — ise-stat__number kasutusel kõikjal */
.ise-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--ise-orange);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ise-stat__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ise-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Stats banner (teenuse lehed + teenuste arhiiv) */
.ise-stats-banner {
    background-color: var(--ise-black);
    padding: 56px 24px;
}

.ise-stats-banner__inner {
    max-width: 1340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.ise-stats-banner .ise-stat {
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    gap: 6px;
}

.ise-stats-banner .ise-stat:last-child {
    border-right: none;
}

.ise-stats-banner .ise-stat__label {
    color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
    .ise-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ise-stats-banner__inner { grid-template-columns: repeat(2, 1fr); }
    .ise-stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
    .ise-stat:nth-child(3),
    .ise-stat:nth-child(4) { border-bottom: none; }
    .ise-stats-banner .ise-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ise-stats-banner .ise-stat:nth-child(3),
    .ise-stats-banner .ise-stat:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
    .ise-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ise-stats-banner__inner { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================
   CTA RIBA
   ========================================================== */

.ise-cta-banner {
    background-color: var(--ise-black);
    padding: 72px 24px;
    text-align: center;
    margin-top: 0;
}

.ise-cta-banner__inner {
    max-width: 640px;
    margin: 0 auto;
}

.ise-cta-banner .ise-label {
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.ise-cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ise-white);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.ise-cta-banner p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 28px;
    line-height: 1.65;
}

/* Avaleht CTA (wp:button kasutab) */
.ise-section--cta {
    background-color: var(--ise-black);
    padding-top: 72px;
    padding-bottom: 72px;
}

.ise-cta-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    color: var(--ise-white) !important;
    margin-bottom: 12px !important;
}

.ise-cta-sub {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.6) !important;
    font-size: 1rem;
    margin-bottom: 32px !important;
}

.ise-section--cta .wp-block-button__link {
    background-color: var(--ise-orange) !important;
    color: var(--ise-white) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 32px !important;
    border-radius: 3px !important;
    letter-spacing: 0.03em;
    border: none;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.ise-section--cta .wp-block-button__link:hover {
    background-color: var(--ise-orange-hover) !important;
    transform: translateY(-1px);
}


/* ==========================================================
   HERO — TEENUSE / LEHE LEHED
   ========================================================== */

.ise-teenus-hero {
    position: relative;
    min-height: 480px;
    background-color: var(--ise-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
}

.ise-teenus-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.15) 100%
    );
}

.ise-teenus-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 64px 0 52px;
}

.ise-teenus-hero__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

.ise-teenus-hero .ise-label {
    color: var(--ise-orange);
    margin-bottom: 12px;
}

.ise-teenus-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--ise-white);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px;
}

.ise-teenus-hero__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 640px) {
    .ise-teenus-hero { min-height: 360px; }
}


/* ==========================================================
   HIGHLIGHT BOX
   ========================================================== */

.ise-highlight-box {
    background: var(--ise-black);
    border-radius: 3px;
    padding: 32px;
    color: var(--ise-white);
}

.ise-highlight-box__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ise-orange);
    margin: 0 0 8px;
}

.ise-highlight-box__value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ise-white);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.ise-highlight-box__desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
}


/* ==========================================================
   LOETELU
   ========================================================== */

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

.ise-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #555;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    line-height: 1.5;
}

.ise-list li:last-child {
    border-bottom: none;
}

.ise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ise-orange);
}

.ise-list-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ise-orange);
    display: inline-block;
}


/* ==========================================================
   PROTSESSI SAMMUD
   ========================================================== */

.ise-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.ise-step {
    background: var(--ise-grey-light);
    border-top: 3px solid var(--ise-orange);
    border-radius: 3px;
    padding: 28px 22px;
}

.ise-step__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ise-orange);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 10px;
}

.ise-step h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 8px;
}

.ise-step p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1024px) {
    .ise-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ise-steps { grid-template-columns: 1fr; }
}


/* ==========================================================
   ALAMTEENUSED
   ========================================================== */

.ise-sub-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.ise-sub-service {
    display: flex;
    flex-direction: column;
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-sub-service:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ise-sub-service__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ise-grey-light);
}

.ise-sub-service__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ise-sub-service:hover .ise-sub-service__img {
    transform: scale(1.04);
}

.ise-sub-service__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ise-sub-service__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ise-sub-service__desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ise-sub-service__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ise-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.ise-sub-service:hover .ise-sub-service__link {
    gap: 10px;
}

@media (max-width: 1024px) {
    .ise-sub-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ise-sub-services { grid-template-columns: 1fr; }
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.ise-teenus-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 32px;
}

.ise-teenus-breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-teenus-breadcrumb a:hover {
    color: var(--ise-orange);
}

.ise-teenus-breadcrumb span:last-child {
    color: var(--ise-orange);
    font-weight: 700;
}


/* ==========================================================
   REFERENTSID TEENUSE LEHEL
   ========================================================== */

.ise-ref-teenus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ise-ref-teenus-kaart {
    display: block;
    text-decoration: none;
    border-radius: 3px;
    overflow: hidden;
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-ref-teenus-kaart:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.ise-ref-teenus-kaart__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ise-grey-light);
}

.ise-ref-teenus-kaart__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ise-ref-teenus-kaart:hover .ise-ref-teenus-kaart__img {
    transform: scale(1.05);
}

.ise-ref-teenus-kaart__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.ise-ref-teenus-kaart__placeholder svg {
    width: 40px;
    height: 40px;
}

.ise-ref-teenus-kaart__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,13,13,0.45);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ise-ref-teenus-kaart:hover .ise-ref-teenus-kaart__overlay {
    opacity: 1;
}

.ise-ref-teenus-kaart__cta {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ise-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ise-ref-teenus-kaart__body {
    padding: 14px 16px 16px;
}

.ise-ref-teenus-kaart__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.ise-ref-teenus-kaart:hover .ise-ref-teenus-kaart__title {
    color: var(--ise-orange);
}

.ise-ref-tagasi {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.15s ease;
}

.ise-ref-tagasi svg {
    color: var(--ise-orange);
    flex-shrink: 0;
}

.ise-ref-tagasi:hover {
    color: var(--ise-orange);
}

.ise-ref-sidebar__card {
    background: var(--ise-grey-light);
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 24px;
    position: sticky;
    top: 90px;
}

.ise-ref-sidebar__title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ise-orange);
    margin: 0 0 16px;
}

.ise-ref-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ise-ref-sidebar__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ise-ref-sidebar__row:last-child {
    border-bottom: none;
}

.ise-ref-sidebar__icon {
    flex-shrink: 0;
    color: var(--ise-orange);
    margin-top: 1px;
}

.ise-ref-sidebar__data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ise-ref-sidebar__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
}

.ise-ref-sidebar__value {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ise-text);
    font-weight: 500;
}

.section-isereferents {
    
    margin: 1rem auto;
    max-width: 1340px;
}

.ise-ref-section-header {

    margin-top: 40px !important;
}

.ise-ref-section-header__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-align: left;
}

.ise-ref-section-header__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ise-text);
    margin: 0;
    text-align: left;
}

@media (max-width: 900px) {
    .ise-ref-teenus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .ise-ref-teenus-grid { grid-template-columns: 1fr; }
    .ise-ref-sidebar__card { position: static; }
}


/* ==========================================================
   TEENUSE KONTAKTISIK + VORM
   ========================================================== */

.ise-teenus-kontakt-section {
    width: 100%;
    padding: 12px 0 20px;
}

.ise-teenus-kontakt-section__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 60px 24px;
}

.ise-teenus-kontakt-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}

.ise-teenus-kontakt__kaart {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 3px;
    padding: 28px;
}

.ise-teenus-kontakt__img-wrap {
    flex-shrink: 0;
}

.ise-teenus-kontakt__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.ise-teenus-kontakt__nimi {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 4px;
}

.ise-teenus-kontakt__roll {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ise-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px;
}

.ise-teenus-kontakt__kontaktid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ise-teenus-kontakt__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--ise-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-teenus-kontakt__link svg {
    color: var(--ise-orange);
    flex-shrink: 0;
}

.ise-teenus-kontakt__link:hover {
    color: var(--ise-orange);
}

/* Vana versioon (üksik kaart, ilma vormita) */
.ise-teenus-kontakt {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 3px;
    padding: 28px;
    max-width: 560px;
}

.ise-teenus-kontakt__vorm .gform_wrapper {
    margin: 0;
}

#gform_fields_4 {
    gap: 8px;
}

@media (max-width: 900px) {
    .ise-teenus-kontakt-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .ise-teenus-kontakt__kaart { flex-direction: column; gap: 16px; }
    .ise-teenus-kontakt { flex-direction: column; align-items: flex-start; gap: 20px; }
}


/* ==========================================================
   ETTEVÕTTEST
   ========================================================== */

.ise-about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #e8e8e8;
    border: 2px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

.ise-about-fact {
    background: var(--ise-white);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ise-about-fact__num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ise-orange);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ise-about-fact__label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
}

.ise-strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ise-strength {
    display: flex;
    flex-direction: column;
}

.ise-strength__icon {
    width: 40px;
    height: 40px;
    color: var(--ise-orange);
    margin-bottom: 16px;
}

.ise-strength__icon svg {
    width: 40px;
    height: 40px;
}

.ise-strength h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 10px;
}

.ise-strength p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .ise-strengths-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ise-strengths-grid { grid-template-columns: 1fr; }
    .ise-about-facts { grid-template-columns: 1fr 1fr; }
}


/* ==========================================================
   MEESKOND
   ========================================================== */

.ise-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ise-team-card {
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-team-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.ise-team-card__img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--ise-grey-light);
}

.ise-team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.ise-team-card:hover .ise-team-card__img {
    transform: scale(1.03);
}

.ise-team-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.ise-team-card__img-placeholder svg {
    width: 64px;
    height: 64px;
}

.ise-team-card__body {
    padding: 20px 22px 24px;
}

.ise-team-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 4px;
}

.ise-team-card__role {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ise-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}

.ise-team-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}

.ise-team-card__contact {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #666;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-team-card__contact svg {
    flex-shrink: 0;
    color: var(--ise-orange);
}

.ise-team-card__contact:hover {
    color: var(--ise-orange);
}

@media (max-width: 1024px) {
    .ise-team-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================
   KONTAKTLEHT
   ========================================================== */

.ise-contact-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ise-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ise-contact-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--ise-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ise-orange);
    margin-top: 2px;
}

.ise-contact-item__icon svg {
    width: 18px;
    height: 18px;
}

.ise-contact-item__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    margin-bottom: 3px;
}

.ise-contact-item__value {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ise-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-contact-item__value--plain {
    color: var(--ise-text);
}

a.ise-contact-item__value:hover {
    color: var(--ise-orange);
}

.ise-contact-hours {
    background: var(--ise-grey-light);
    border-left: 3px solid var(--ise-orange);
    padding: 16px 20px;
    border-radius: 0 3px 3px 0;
}

.ise-contact-hours__title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ise-orange);
    margin: 0 0 6px;
}

.ise-contact-hours p:last-child {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ise-text);
    margin: 0;
}

.ise-map-wrap {
    width: 100%;
    line-height: 0;
    filter: grayscale(20%);
}

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

@media (max-width: 768px) {
    .ise-map-wrap iframe { height: 280px; }
}


/* ==========================================================
   GRAVITY FORMS
   ========================================================== */

.ise-section-white .gform_wrapper {
    margin: 0;
}

.ise-section-white .gform_wrapper .gfield_label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ise-text);
    margin-bottom: 6px;
}

.ise-section-white .gform_wrapper input[type="text"],
.ise-section-white .gform_wrapper input[type="email"],
.ise-section-white .gform_wrapper input[type="tel"],
.ise-section-white .gform_wrapper textarea,
.ise-section-white .gform_wrapper select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ise-text);
    width: 100%;
    transition: border-color 0.2s ease;
}

.ise-section-white .gform_wrapper input:focus,
.ise-section-white .gform_wrapper textarea:focus {
    outline: none;
    border-color: var(--ise-orange);
}

.ise-section-white .gform_wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.gform-theme--foundation .gform_fields {
    row-gap: 12px !important;
}

.gform-button--width-full {
    background: var(--ise-orange) !important;
    color: var(--ise-white) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 13px 32px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.gform-button--width-full:hover {
    background: var(--ise-orange-hover) !important;
}

.large.gfield_select {
    padding: 0 14px !important;
}


/* ==========================================================
   KARJÄÄR
   ========================================================== */

.ise-jobs {
    display: flex;
    flex-direction: column;
}

.ise-job {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--ise-white);
}

.ise-job__header {
    padding: 28px 32px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.ise-job__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ise-job__tag {
    background: var(--ise-orange);
    color: var(--ise-white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 2px;
}

.ise-job__info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #888;
}

.ise-job__info svg {
    color: var(--ise-orange);
    flex-shrink: 0;
}

.ise-job__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0;
}

.ise-job__desc {
    padding: 24px 32px;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.ise-job__desc ul {
    margin: 12px 0 0 18px;
    padding: 0;
}

.ise-job__desc li {
    margin-bottom: 6px;
}

.ise-job__form {
    padding: 28px 32px 32px;
    background: var(--ise-grey-light);
}

.ise-job__form-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 20px;
}

.ise-jobs-empty {
    text-align: center;
    padding: 48px 24px 40px;
    max-width: 560px;
    margin: 0 auto;
}

.ise-jobs-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: #ccc;
}

.ise-jobs-empty__icon svg {
    width: 56px;
    height: 56px;
}

.ise-jobs-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 10px;
}

.ise-jobs-empty p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

.ise-jobs-contact-form {
    max-width: 820px;
    margin: 32px auto 0;
    background: var(--ise-grey-light);
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 32px;
}

@media (max-width: 768px) {
    .ise-job__header,
    .ise-job__desc,
    .ise-job__form { padding-left: 20px; padding-right: 20px; }
    .ise-jobs-contact-form { padding: 20px; }
}


/* ==========================================================
   UUDISED
   ========================================================== */

.ise-uudised-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ise-uudis-kaart {
    background: var(--ise-white);
    border: 1px solid #ebebeb;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ise-uudis-kaart:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ise-uudis-kaart__img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.ise-uudis-kaart__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ise-uudis-kaart:hover .ise-uudis-kaart__img-wrap img {
    transform: scale(1.04);
}

.ise-uudis-kaart__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ise-uudis-kaart__title {
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--ise-text) !important;
    margin: 0 0 10px !important;
    line-height: 1.35 !important;
}

.ise-uudis-kaart__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-uudis-kaart__title a:hover {
    color: var(--ise-orange);
}

.ise-uudis-kaart__excerpt {
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin: 0 0 16px !important;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ise-uudis-kaart__excerpt p {
    margin: 0;
}

.ise-uudis-kaart__link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--ise-orange) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.ise-uudis-kaart__link:hover {
    gap: 10px;
}

.ise-uudised-tühi {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: #999;
    font-family: var(--font-body);
}

.ise-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.ise-pagination .wp-block-query-pagination-previous,
.ise-pagination .wp-block-query-pagination-next {
    color: var(--ise-orange);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.ise-pagination .wp-block-query-pagination-previous:hover,
.ise-pagination .wp-block-query-pagination-next:hover {
    opacity: 0.7;
}

.ise-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 3px;
    border: 1px solid #ddd;
    color: var(--ise-text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.ise-pagination .page-numbers.current,
.ise-pagination .page-numbers:hover {
    background: var(--ise-orange);
    color: var(--ise-white);
    border-color: var(--ise-orange);
}

.ise-uudis-hero {
    position: relative;
    max-height: 480px;
    overflow: hidden;
    line-height: 0;
}

.ise-uudis-hero__img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.ise-uudis-tagasi a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.15s ease;
}

.ise-uudis-tagasi a:hover {
    color: var(--ise-orange);
}

.ise-uudis-pealkiri {
    font-family: var(--font-heading) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--ise-text) !important;
    margin: 0 0 32px !important;
    line-height: 1.2 !important;
}

.ise-uudis-sidebar {
    position: sticky;
    top: 90px;
    background: var(--ise-grey-light);
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 24px;
}

.ise-uudis-sidebar__title {
    font-family: var(--font-heading) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ise-orange) !important;
    margin: 0 0 16px !important;
}

.ise-uudis-sidebar__list {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ise-uudis-sidebar__item {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.ise-uudis-sidebar__item:last-child {
    border-bottom: none;
}

.ise-uudis-sidebar__item-title {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.ise-uudis-sidebar__item-title a {
    color: var(--ise-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ise-uudis-sidebar__item-title a:hover {
    color: var(--ise-orange);
}

@media (max-width: 1024px) {
    .ise-uudised-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .ise-uudised-grid { grid-template-columns: 1fr !important; }
    .ise-uudis-sidebar { position: static; }
    .ise-uudis-pealkiri { font-size: 1.5rem !important; }
}

/* ==========================================================
   ISE CNC — tootmisparameetrid
   ========================================================== */

.ise-cnc-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ise-cnc-spec-block {
    background: var(--ise-grey-light);
    border-left: 3px solid var(--ise-orange);
    border-radius: 0 3px 3px 0;
    padding: 18px 20px;
}

.ise-cnc-spec-block__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ise-text);
    margin: 0 0 10px;
}

.ise-cnc-spec-block__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ise-cnc-spec-block__list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #555;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.ise-cnc-spec-block__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ise-orange);
}


/* ==========================================================
   TEENUSE CTA — must taust, kontaktisik + vorm
   ========================================================== */

.ise-teenus-kontakt-section--dark {
    background-color: var(--ise-black);
    padding: 0;
}

.ise-teenus-kontakt-section--dark .ise-teenus-kontakt-section__inner {
    padding: 72px 24px;
    text-align: center;
}

.ise-teenus-kontakt-section__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ise-white);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

/* Grid — vasak kaart + parem vorm */
.ise-teenus-kontakt-section--dark .ise-teenus-kontakt-wrap {
    margin-top: 40px;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Kontaktkaart — tume variant */
.ise-teenus-kontakt-section--dark .ise-teenus-kontakt__kaart {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ise-teenus-kontakt-section--dark .ise-teenus-kontakt__nimi {
    color: var(--ise-white);
}

.ise-teenus-kontakt-section--dark .ise-teenus-kontakt__roll {
    color: var(--ise-orange);
}

.ise-teenus-kontakt-section--dark .ise-teenus-kontakt__link {
    color: rgba(255,255,255,0.75);
}

.ise-teenus-kontakt-section--dark .ise-teenus-kontakt__link:hover {
    color: var(--ise-white);
}

/* Vorm — tume taust, valge label */
.ise-teenus-kontakt-section--dark .gform_wrapper .gfield_label {
    color: rgba(255,255,255,0.7);
}

.ise-teenus-kontakt-section--dark .gform_wrapper input[type="text"],
.ise-teenus-kontakt-section--dark .gform_wrapper input[type="email"],
.ise-teenus-kontakt-section--dark .gform_wrapper input[type="tel"],
.ise-teenus-kontakt-section--dark .gform_wrapper textarea,
.ise-teenus-kontakt-section--dark .gform_wrapper select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--ise-white);
    border-radius: 3px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s ease;
}

.ise-teenus-kontakt-section--dark .gform_wrapper input::placeholder,
.ise-teenus-kontakt-section--dark .gform_wrapper textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.ise-teenus-kontakt-section--dark .gform_wrapper input:focus,
.ise-teenus-kontakt-section--dark .gform_wrapper textarea:focus {
    outline: none;
    border-color: var(--ise-orange);
}

.ise-teenus-kontakt-section--dark .gform_wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 900px) {
    .ise-teenus-kontakt-section--dark .ise-teenus-kontakt-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .ise-teenus-kontakt-section--dark .ise-teenus-kontakt__kaart {
        flex-direction: column;
        gap: 16px;
    }
}

/* ----------------------------------------------------------
   MEESKOND — keelte lipud
   ---------------------------------------------------------- */

.ise-team-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.ise-team-card__name {
    margin: 0;
    flex: 1;
}

.ise-team-card__keeled {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ise-team-card__lipp {
    font-size: 16px;
    line-height: 1;
    cursor: default;
    background-color: #99999948;
    /* Tooltip kuvab keele nime */
}

/* ----------------------------------------------------------
   REFERENTS — ei ava postitusena
   ---------------------------------------------------------- */

.ise-ref-teenus-kaart--no-link {
    cursor: default;
}

.ise-ref-teenus-kaart--no-link:hover {
    transform: none;
    box-shadow: none;
}

.ise-ref-teenus-kaart--no-link .ise-ref-teenus-kaart__title {
    color: var(--ise-text);
}

/* Hover pilt — CSS slide-up animatsioon */
.ise-ref-teenus-kaart__img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.ise-ref-teenus-kaart:hover .ise-ref-teenus-kaart__img-hover {
    transform: translateY(0);
}

/* Põhipilt jääb paigale — hover libiseb peale */
.ise-ref-teenus-kaart__img {
    transition: transform 0.4s ease;
}

/* ==========================================================
   KONTAKTLEHT — sotsiaalmeedia + meeskonna link
   ========================================================== */

.ise-contact-social {
    margin-top: 28px;
}

.ise-contact-social__title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    margin: 0 0 12px;
}

.ise-contact-social__links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ise-contact-social__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ise-text);
    text-decoration: none;
    background: var(--ise-grey-light);
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 9px 14px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ise-contact-social__link svg {
    flex-shrink: 0;
    color: var(--ise-orange);
    transition: color 0.15s ease;
}

.ise-contact-social__link:hover {
    background: var(--ise-black);
    color: var(--ise-white);
    border-color: var(--ise-black);
}

.ise-contact-social__link:hover svg {
    color: var(--ise-white);
}

/* Meeskonna link */
.ise-contact-team-link {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.ise-contact-team-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ise-orange);
    text-decoration: none;
    transition: gap 0.15s ease, color 0.15s ease;
}

.ise-contact-team-link a:hover {
    gap: 12px;
    color: var(--ise-orange-hover);
}

.ise-contact-team-link svg {
    flex-shrink: 0;
    color: var(--ise-orange);
}

.ise-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
 
.ise-footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 3px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
 
.ise-footer-social__link:hover {
    background: var(--ise-orange);
    color: var(--ise-white);
}