﻿@font-face {
    font-family: "TTNorms Medium";
    font-display: swap;
    src: url("../fonts/ttnorms-medium.woff2") format("woff2"),
         url("../fonts/ttnorms-medium.woff") format("woff"),
         url("../fonts/ttnorms-medium.ttf") format("truetype");
}

/* ÜLDISED KOHANDUSED */
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding-top: 120px;
    background-color: #fff;
    color: rgb(91, 61, 43);
}

h1, h2, h3, h4,
.section-title,
.team-section-title,
.team-card-name,
.booking-box h3 {
    font-family: "TTNorms Medium", sans-serif;
    font-weight: 500;
    color: rgb(91, 61, 43);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TÄIELIKULT KLEEPUV JA KÕIGE PEAL ASUV PÄIS */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgb(90, 61, 43) !important; /* Originaalne pruun */
    z-index: 999999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px; /* Päise kõrgus tõstetud 90px -> 120px */
}

/* SUUREM JA PUHTAM LOGO */
.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 95px; /* Logo lubatud kõrgus tõstetud 65px -> 95px */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Pehme interaktsioon logole hiirega peale liikudes */
.logo:hover img {
    transform: scale(1.03);
}

/* PEAMENÜÜ LAUAARVUTIS */
.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu a {
    color: #FFF !important;
    text-decoration: none;
    padding: 10px 14px;
    font-size: 15px; /* Tekst tõstetud 14px -> 15px, et sobituda suurema päisega */
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.12);
    color: rgb(230, 104, 25) !important; /* Originaalne aktsentoranž */
}

.lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    margin-left: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFF;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

/* SEKTSIDEST ÜLDISELT */
section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(91, 61, 43, 0.1);
}

.section-title {
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0;
    text-transform: none;
}

.section-subtitle {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    opacity: 1;
}

.bg-light-yellow { background-color: rgb(252, 238, 209); }
.bg-white { background-color: #ffffff; }
.bg-gray { background-color: #f9f9f9; }

/* UUENDATUD KAASAEGNE SISSEJUHATUS (HERO VISIOON) */
.hero-section {
    background-color: rgb(252, 238, 209);
    padding: 90px 0;
}

.hero-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.hero-text-content {
    flex: 1.2;
}

.hero-text-content h1 {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 48px;
    color: rgb(91, 61, 43);
    margin-top: 0;
    margin-bottom: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.hero-text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin-bottom: 16px;
}

.hero-quote {
    font-style: italic;
    font-weight: 600;
    border-left: 3px solid rgb(230, 104, 25);
    padding-left: 15px;
    margin: 20px 0;
}

.hero-btn {
    display: inline-block;
    background-color: rgb(230, 104, 25); /* Originaalne oranž aktsent */
    color: #FFF !important;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(230, 104, 25, 0.2);
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background-color: rgb(90, 61, 43);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(90, 61, 43, 0.25);
}

.hero-media-content {
    flex: 1;
    width: 100%;
}

.hero-help-section {
    max-width: 960px;
    margin: 56px auto 0;
    padding-top: 48px;
    border-top: 1px solid rgba(91, 61, 43, 0.15);
}

.hero-team-intro {
    font-size: 18px;
    line-height: 1.65;
    color: rgb(91, 61, 43);
    text-align: center;
    margin: 0 0 40px 0;
}

.hero-help-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    color: rgb(91, 61, 43);
    text-align: center;
    margin: 0 0 16px 0;
}

.hero-help-subtitle {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    color: rgb(91, 61, 43);
    text-align: center;
    margin: 0 0 12px 0;
}

.hero-help-intro {
    font-size: 17px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    text-align: center;
    margin: 0 0 32px 0;
}

.hero-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hero-help-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(91, 61, 43, 0.08);
    border: 1px solid rgba(91, 61, 43, 0.08);
}

.hero-help-card-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: rgb(91, 61, 43);
    margin: 0 0 14px 0;
}

.hero-help-card p {
    font-size: 16px;
    line-height: 1.65;
    color: rgb(91, 61, 43);
    margin: 0;
}

/* 16:9 dünaamiline ja terav videokast */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(91, 61, 43, 0.15);
    background-color: #000;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* KONTAKTIVORMI JA BRONEERINGU STIILID */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 30px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 24px;
    color: rgb(230, 104, 25);
    width: 30px;
    text-align: center;
}

.info-item p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.booking-box {
    background-color: rgb(252, 238, 209);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.booking-box h3 {
    margin-top: 0;
    color: rgb(91, 61, 43);
    font-size: 20px;
}

.btn-booking {
    display: inline-block;
    background-color: rgb(90, 61, 43);
    color: #fff !important;
    text-decoration: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-booking:hover {
    background-color: rgb(230, 104, 25);
}

.contact-form {
    background: #fdfaf4;
    border: 1px solid rgb(252, 238, 209);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-notes {
    max-width: 820px;
    margin: 40px auto 0 auto;
}

.contact-notes p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 14px 0;
}

.contact-notes p:last-child {
    margin-bottom: 0;
}

.info-item a {
    color: rgb(91, 61, 43);
    text-decoration: none;
}

.info-item a:hover {
    color: rgb(230, 104, 25);
}

.site-footer {
    background-color: rgb(90, 61, 43);
    color: #fff;
    padding: 50px 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.site-footer-logo img {
    width: 120px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.site-footer-cta {
    text-align: center;
}

.site-footer-cta p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.site-footer-aside {
    text-align: center;
}

.site-footer-phone {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.site-footer-phone a {
    color: #fff;
    text-decoration: none;
}

.site-footer-phone a:hover {
    color: rgb(252, 238, 209);
}

.site-footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.site-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer-socials a:hover {
    background-color: rgb(230, 104, 25);
    color: #fff;
}

.kontakt-section {
    border-bottom: none;
}

.contact-map {
    margin-top: 8px;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(91, 61, 43, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: rgb(230, 104, 25);
}

.btn-submit {
    background-color: rgb(230, 104, 25);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.2s ease;
}

.btn-submit:hover {
    background-color: rgb(90, 61, 43);
}

/* TEENUSED – originaalsaidi stiil */
.services-section {
    background-color: rgb(252, 238, 209);
    padding: 70px 0 80px;
    border-bottom: none;
}

.services-section .services-main-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    color: rgb(91, 61, 43);
    margin: 0 0 30px 0;
}

.services-section .services-intro-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    color: rgb(91, 61, 43);
    margin: 0 0 20px 0;
}

.services-section .services-topics-intro {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
    color: rgb(91, 61, 43);
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-weight: 600;
}

.services-section .services-intro-text {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
    color: rgb(91, 61, 43);
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.services-section .service-item {
    text-align: center;
}

.services-section .service-item img {
    width: 100%;
    max-width: 258px;
    height: auto;
    aspect-ratio: 258 / 344;
    object-fit: cover;
    display: block;
    margin: 0 auto 14px auto;
    border-radius: 0;
}

.services-section .service-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: rgb(91, 61, 43);
    margin: 0 0 8px 0;
    padding: 0 5px;
}

.services-section .service-list {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0;
    padding: 0 5px;
}

/* MEESKOND */
.team-section {
    padding: 80px 0;
    background-color: #fff;
}

.team-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section-title {
    font-size: 48px;
    line-height: 1.2;
    margin: 0;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 920px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(91, 61, 43, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid rgba(91, 61, 43, 0.08);
}

.team-image-container {
    width: 260px;
    min-width: 260px;
    min-height: 280px;
    background-color: rgb(252, 238, 209);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.team-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.team-card-body {
    padding: 32px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-card-name {
    margin: 0 0 5px 0;
    font-size: 22px;
    line-height: 1.4;
}

.team-card-role {
    margin: 0 0 15px 0;
    color: rgb(91, 61, 43);
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    opacity: 0.85;
}

.team-card-text {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: rgb(91, 61, 43);
    line-height: 1.6;
}

.team-card-lang {
    margin: 0;
    font-size: 16px;
    color: rgb(91, 61, 43);
    font-style: italic;
    opacity: 0.85;
}

.team-card-quote-wrap {
    position: relative;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
}

.team-card-quote-wrap::before {
    content: '';
    position: absolute;
    left: 28px;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgb(252, 238, 209);
}

.team-card-quote {
    margin: 0;
    font-size: 16px;
    color: rgb(91, 61, 43);
    font-style: italic;
    line-height: 1.65;
    padding: 20px 24px;
    background: rgb(252, 238, 209);
    border-radius: 0 12px 12px 12px;
    border-left: 3px solid rgb(230, 104, 25);
}

.values-list li {
    margin-bottom: 5px;
    font-size: 16px;
    color: rgb(91, 61, 43);
}

.values-list i {
    color: rgb(230, 104, 25);
    margin-right: 8px;
}

/* HINNAKIRI */
.pricing-section {
    border-bottom: none;
    padding: 70px 0 80px;
}

.pricing-section.bg-light-yellow {
    background-color: rgb(252, 238, 209);
}

.partners-section {
    padding: 70px 0 80px;
    background-color: #fff;
}

.partners-section .partners-block {
    margin: 0 auto;
    padding-top: 0;
}

.pricing-section.bg-light-yellow .pricing-box {
    background-color: #fff;
}

.pricing-intro {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
    color: rgb(91, 61, 43);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.pricing-box {
    max-width: 820px;
    margin: 0 auto 20px auto;
    background: #fff;
    border: 1px solid rgba(91, 61, 43, 0.35);
    border-radius: 999px;
    padding: 28px 40px;
    box-shadow: 2px 3px 0 rgba(91, 61, 43, 0.08);
}

.pricing-box-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: rgb(91, 61, 43);
    margin: 0 0 8px 0;
}

.pricing-box-subtitle {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.pricing-line {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgb(91, 61, 43);
    margin: 0 0 6px 0;
}

.pricing-line:last-child {
    margin-bottom: 0;
}

.pricing-notes {
    max-width: 820px;
    margin: 35px auto 0 auto;
    text-align: center;
}

.pricing-note {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 12px 0;
}

.pricing-valid {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 20px 0 0 0;
    font-weight: 600;
}

/* KOOSTÖÖPARTNERID */
.partners-block {
    max-width: 960px;
    margin: 0 auto;
}

.partners-block .partners-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    color: rgb(91, 61, 43);
    margin: 0 0 20px 0;
}

.partners-intro {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
    color: rgb(91, 61, 43);
    max-width: 900px;
    margin: 0 auto 35px auto;
}

.partner-card {
    max-width: 820px;
    margin: 0 auto 24px auto;
    background: #fff;
    border: 1px solid rgba(91, 61, 43, 0.35);
    border-radius: 999px;
    padding: 28px 40px;
    box-shadow: 2px 3px 0 rgba(91, 61, 43, 0.08);
}

.partner-card-wide {
    border-radius: 32px;
}

.partner-card p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 12px 0;
    text-align: center;
}

.partner-card p:last-of-type {
    margin-bottom: 0;
}

.partner-card-heading {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: rgb(91, 61, 43);
    margin: 18px 0 12px 0;
    text-align: center;
    letter-spacing: 0.04em;
}

.partner-card-note {
    font-weight: 600;
}

.partner-card-actions {
    text-align: center;
    margin-top: 20px;
}

.partner-btn {
    display: inline-block;
    background-color: rgb(193, 160, 174);
    color: #fff !important;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.partner-btn:hover {
    background-color: rgb(170, 130, 150);
}

button.partner-btn {
    border: none;
    cursor: pointer;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.partner-link {
    color: rgb(91, 61, 43);
    font-weight: 600;
    text-decoration: underline;
}

.partner-link:hover {
    color: rgb(230, 104, 25);
}

/* ESILEHE ALAMLEHTEDE NUPUMENÜÜ */
.page-nav-section {
    padding: 48px 0 56px;
    background-color: rgb(248, 244, 240);
    border-top: 1px solid rgba(91, 61, 43, 0.1);
    border-bottom: 1px solid rgba(91, 61, 43, 0.1);
}

.page-nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.page-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 28px;
    background-color: rgb(90, 61, 43);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-family: "TTNorms Medium", "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.page-nav-btn:hover {
    background-color: rgb(120, 85, 65);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-nav-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .page-nav-btn {
        min-width: 0;
        width: 100%;
    }
}

/* GRUPITÖÖD */
.grupitood-section {
    padding: 0;
    border-bottom: none;
    background-color: #f9f9f9;
}

.group-block {
    padding: 70px 0;
}

.group-block + .group-block {
    border-top: 1px solid rgba(91, 61, 43, 0.1);
}

.group-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.group-row-reverse {
    flex-direction: row-reverse;
}

.group-text {
    flex: 1;
}

.group-image {
    flex: 0 0 42%;
    max-width: 480px;
}

.grupitood-section .group-block:first-child .group-image {
    flex: 0 0 36%;
    max-width: 400px;
}

.group-image img {
    width: 100%;
    height: auto;
    border-radius: 50px;
    display: block;
}

.group-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.group-image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.group-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: rgb(91, 61, 43);
    margin: 0 0 24px 0;
}

.group-lead {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 16px 0;
    font-weight: 500;
}

.group-text p {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 14px 0;
}

.group-text p strong {
    font-weight: 700;
}

.group-subheading {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: rgb(91, 61, 43);
    margin: 24px 0 12px 0;
}

.group-list {
    margin: 0 0 16px 0;
    padding-left: 22px;
}

.group-list li {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin-bottom: 8px;
}

.group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    align-items: flex-start;
}

.group-details {
    margin: 0;
}

.group-details summary {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    background-color: rgb(193, 160, 174);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.group-details summary::-webkit-details-marker {
    display: none;
}

.group-details summary:hover {
    background-color: rgb(170, 130, 150);
}

.group-details-content {
    margin-top: 16px;
    padding: 22px 28px;
    background: #fff;
    border: 1px solid rgba(91, 61, 43, 0.2);
    border-radius: 24px;
    max-width: 640px;
}

.group-details-content p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.6;
}

.group-details-content p:last-child {
    margin-bottom: 0;
}

.group-details-content ul {
    margin: 8px 0 16px 0;
    padding-left: 22px;
}

.group-details-content ul:last-child {
    margin-bottom: 0;
}

.group-details-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.group-footer {
    text-align: center;
    padding: 50px 0 80px;
    border-top: 1px solid rgba(91, 61, 43, 0.1);
}

.group-footer p {
    font-size: 22px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 24px 0;
}

/* KOOLITUSED */
.koolitus-section {
    padding: 80px 0;
    border-bottom: none;
}

.koolitus-hero {
    max-width: 480px;
    margin: 0 auto 32px auto;
}

.koolitus-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.koolitus-body {
    max-width: 820px;
    margin: 0 auto;
}

.koolitus-body p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 14px 0;
}

.koolitus-highlight {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: rgb(91, 61, 43);
    margin: 24px 0 14px 0;
}

.koolitus-quality {
    max-width: 820px;
    margin: 40px auto;
    background: #fff;
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 2px 3px 0 rgba(91, 61, 43, 0.06);
}

.koolitus-docs {
    max-width: 820px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.koolitus-docs .partner-btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.koolitus-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(91, 61, 43, 0.1);
}

.koolitus-footer p {
    font-size: 22px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
    margin: 0 0 24px 0;
}

/* MODAALID */
body.modal-open {
    overflow: hidden;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(91, 61, 43, 0.55);
}

.site-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(91, 61, 43, 0.12);
    flex-shrink: 0;
}

.site-modal-title {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 24px;
    line-height: 1.3;
    color: rgb(91, 61, 43);
    margin: 0;
    padding-right: 8px;
}

.site-modal-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(91, 61, 43, 0.08);
    color: rgb(91, 61, 43);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.site-modal-close:hover {
    background: rgba(91, 61, 43, 0.15);
}

.site-modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(91, 61, 43);
}

.site-modal-body h3 {
    font-family: "TTNorms Medium", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 24px 0 12px 0;
    color: rgb(91, 61, 43);
}

.site-modal-body h3:first-child {
    margin-top: 0;
}

.site-modal-body p {
    margin: 0 0 12px 0;
}

.site-modal-body ul {
    margin: 0 0 14px 0;
    padding-left: 22px;
}

.site-modal-body li {
    margin-bottom: 8px;
}

.site-modal-body a {
    color: rgb(91, 61, 43);
    font-weight: 600;
    text-decoration: underline;
}

.site-modal-body a:hover {
    color: rgb(230, 104, 25);
}

.policy-signature-block {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(91, 61, 43, 0.12);
}

.policy-signature-line {
    margin: 8px 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    body {
        padding-top: 90px; /* Mobiilis hoiame menüü kitsamana, et ekraaniruumi säästa */
    }
    .header-wrap {
        height: 90px;
    }
    .logo img {
        max-height: 65px;
    }
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        position: absolute; top: 90px; left: 0; width: 100%;
        background-color: rgb(90, 61, 43); flex-direction: column; gap: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-menu.open { max-height: 500px; }
    .nav-menu a { width: 100%; text-align: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); border-radius: 0; font-size: 16px; }
    .lang-btn { margin-left: 0; background-color: rgba(0, 0, 0, 0.1); }
    
    /* Mobiilis sissejuhatuse kohandus */
    .hero-container {
        flex-direction: column;
        gap: 35px;
    }

    .hero-help-grid {
        grid-template-columns: 1fr;
    }

    .hero-help-title {
        font-size: 30px;
    }

    .hero-help-subtitle {
        font-size: 20px;
    }

    .team-grid {
        gap: 40px;
    }

    .team-card {
        flex-direction: column;
    }

    .team-image-container {
        width: 100%;
        min-width: 0;
        min-height: 240px;
    }

    .team-card-body {
        padding: 24px;
    }

    .team-card-quote-wrap::before {
        left: 24px;
    }
    .hero-text-content {
        text-align: center;
    }
    .hero-quote {
        border-left: none;
        padding-left: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .site-footer-logo {
        display: flex;
        justify-content: center;
    }

    .services-section .services-main-title {
        font-size: 32px;
    }

    .services-section .services-intro-title,
    .services-section .services-intro-text {
        font-size: 18px;
    }

    .services-section .services-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .section-title,
    .team-section-title,
    .hero-text-content h1 {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .pricing-intro {
        font-size: 18px;
    }

    .pricing-box {
        border-radius: 24px;
        padding: 22px 24px;
    }

    .partners-block .partners-title {
        font-size: 32px;
    }

    .partners-intro {
        font-size: 18px;
    }

    .partner-card {
        border-radius: 24px;
        padding: 22px 24px;
    }

    .group-row,
    .group-row-reverse {
        flex-direction: column;
        gap: 35px;
    }

    .group-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .group-title {
        font-size: 32px;
        text-align: center;
    }

    .group-lead {
        font-size: 18px;
    }

    .group-actions {
        justify-content: center;
    }

    .group-details-content {
        max-width: 100%;
    }

    .group-footer p {
        font-size: 18px;
    }

    .koolitus-quality {
        padding: 24px;
        border-radius: 20px;
    }

    .koolitus-footer p {
        font-size: 18px;
    }

    .site-modal {
        padding: 12px;
    }

    .site-modal-dialog {
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }

    .site-modal-header {
        padding: 18px 20px 14px;
    }

    .site-modal-title {
        font-size: 20px;
    }

    .site-modal-body {
        padding: 16px 20px 22px;
    }
}
