/* Reset & Base Styles */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

:root {
   --bg-primary: #FFFFFF;
   --bg-secondary: #F8F9FA;
   --bg-light: #F5F7FA;
   --text-primary: #2D3436;
   --text-secondary: #636E72;
   --text-light: #B2BEC3;
   --accent-primary: #E17055;
   --accent-secondary: #00B894;
   --border-color: #E0E0E0;
   --border-light: #F1F1F1;
   --shadow: rgba(0, 0, 0, 0.08);
   --shadow-hover: rgba(0, 0, 0, 0.12);
   --success: #00B894;
   --error: #D63031;
}

html {
   scroll-behavior: smooth;
   overflow-x: hidden;
}

body {
   font-family: 'Inter', sans-serif;
   background-color: var(--bg-primary);
   color: var(--text-primary);
   line-height: 1.6;
   overflow-x: hidden;
   position: relative;
}

.skip-link {
   position: absolute;
   left: -9999px;
   top: auto;
   width: 1px;
   height: 1px;
   overflow: hidden;
   z-index: 10001;
   padding: 12px 20px;
   background: var(--accent-primary);
   color: #fff;
   font-weight: 600;
   text-decoration: none;
   border-radius: 0 0 8px 0;
}

.skip-link:focus {
   left: 0;
   top: 0;
   width: auto;
   height: auto;
   overflow: visible;
   outline: 2px solid #fff;
   outline-offset: 2px;
}

.container {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.section {
   padding: 100px 0;
   position: relative;
}

.bg-light {
   background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
   font-family: 'Playfair Display', serif;
   font-weight: 600;
   line-height: 1.2;
}

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

.section-title {
   font-size: 2.8rem;
   margin-bottom: 20px;
   color: var(--text-primary);
   position: relative;
   display: inline-block;
}

.section-title::after {
   content: '';
   position: absolute;
   bottom: -10px;
   left: 50%;
   transform: translateX(-50%);
   width: 60px;
   height: 3px;
   background-color: var(--accent-primary);
}

.section-subtitle {
   font-size: 1.1rem;
   color: var(--text-secondary);
   max-width: 600px;
   margin: 0 auto;
   line-height: 1.6;
}

/* Navigation */
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background-color: rgba(255, 255, 255, 0.98);
   backdrop-filter: blur(10px);
   z-index: 1000;
   border-bottom: 1px solid var(--border-light);
   transition: all 0.3s ease;
   padding: 15px 0;
}

.nav-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo {
   display: flex;
   align-items: center;
   text-decoration: none;
   gap: 15px;
}

.logo-image {
   height: 68px;
   width: auto;
   border-radius: 0;
   object-fit: contain; /* Dikdörtgen oranı bozmadan göster */
   display: block;
   flex: 0 0 auto;
   background: transparent;
}

.logo-symbol {
   width: 50px;
   height: 50px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-family: 'Source Code Pro', monospace;
   font-weight: 700;
   font-size: 1.4rem;
   box-shadow: 0 4px 12px rgba(225, 112, 85, 0.2);
}

/* Logo görselinde marka zaten var; yanında yalnızca slogan */
.logo-tagline {
   margin: 0;
   max-width: 200px;
   font-family: 'Inter', sans-serif;
   font-size: 0.82rem;
   font-weight: 600;
   line-height: 1.35;
   color: var(--text-secondary);
   letter-spacing: 0.06em;
   text-transform: uppercase;
}

.nav-menu {
   display: flex;
   gap: 40px;
}

.nav-link {
   display: flex;
   align-items: center;
   gap: 8px;
   color: var(--text-secondary);
   text-decoration: none;
   font-weight: 500;
   padding: 8px 0;
   position: relative;
   transition: all 0.3s ease;
}

.nav-number {
   font-family: 'Source Code Pro', monospace;
   font-size: 0.8rem;
   color: var(--text-light);
}

.nav-text {
   font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
   color: var(--text-primary);
}

.nav-link::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: linear-gradient(90deg, var(--accent-primary), #FF8E53);
   transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
   width: 100%;
}

.nav-toggle {
   display: none;
   background: none;
   border: none;
   color: var(--text-primary);
   font-size: 1.5rem;
   cursor: pointer;
}

/* Hero Section */
.hero {
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: relative;
   padding-top: 100px;
   overflow-x: hidden;
}

.hero-content {
   text-align: center;
   max-width: 800px;
   margin: 0 auto 80px;
}

.hero-badge {
   display: inline-block;
   background-color: rgba(225, 112, 85, 0.1);
   color: var(--accent-primary);
   padding: 8px 20px;
   border-radius: 50px;
   font-size: 0.9rem;
   font-weight: 600;
   margin-bottom: 40px;
   border: 1px solid rgba(225, 112, 85, 0.2);
   letter-spacing: 1px;
}

.hero-title {
   font-size: 3.8rem;
   margin-bottom: 25px;
   line-height: 1.1;
}

.title-line {
   display: block;
}

.hero-subtitle {
   font-size: 1.3rem;
   color: var(--text-secondary);
   margin-bottom: 50px;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.7;
}

.hero-buttons {
   display: flex;
   gap: 20px;
   justify-content: center;
   flex-wrap: wrap;
}

.btn {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   padding: 16px 32px;
   border-radius: 8px;
   text-decoration: none;
   font-weight: 600;
   font-size: 1rem;
   transition: all 0.3s ease;
   border: 2px solid transparent;
   cursor: pointer;
   font-family: 'Inter', sans-serif;
}

.btn i {
   font-size: 1.1rem;
}

.btn-primary {
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   color: white;
   box-shadow: 0 6px 20px rgba(225, 112, 85, 0.25);
}

.btn-primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 25px rgba(225, 112, 85, 0.35);
}

.btn-secondary {
   background-color: transparent;
   color: var(--text-primary);
   border-color: var(--border-color);
}

.btn-secondary:hover {
   border-color: var(--accent-primary);
   transform: translateY(-3px);
   box-shadow: 0 6px 20px var(--shadow);
}

.hero-stats {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 40px;
   margin-top: 60px;
   padding-top: 40px;
   border-top: 1px solid var(--border-light);
}

.stat-item {
   text-align: center;
}

.stat-number {
   font-family: 'Playfair Display', serif;
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--accent-primary);
   margin-bottom: 5px;
}

.stat-label {
   font-size: 0.9rem;
   color: var(--text-secondary);
   letter-spacing: 0.5px;
}

.stat-divider {
   width: 1px;
   height: 40px;
   background-color: var(--border-color);
}

.hero-scroll {
   position: absolute;
   bottom: 40px;
   left: 50%;
   transform: translateX(-50%);
}

.scroll-down {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-decoration: none;
   color: var(--text-secondary);
   transition: all 0.3s ease;
}

.scroll-text {
   font-size: 0.85rem;
   letter-spacing: 2px;
   text-transform: uppercase;
   margin-bottom: 10px;
   font-weight: 600;
}

.scroll-line {
   width: 1px;
   height: 40px;
   background: linear-gradient(to bottom, var(--text-light), transparent);
   animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
   0% { height: 0; opacity: 1; }
   100% { height: 40px; opacity: 0; }
}

/* About Section */
/* Marketing image sections (asset-based cards) */
.marketing-image-wrap {
   max-width: 1100px;
   margin: 0 auto;
   padding: 0 16px;
   text-align: center;
}

.marketing-image {
   width: 100%;
   height: auto;
   display: block;
   margin: 0 auto;
}

.marketing-caption {
   margin-top: 22px;
   color: var(--text-secondary);
   font-size: 1.05rem;
   font-weight: 600;
}

/* Theme-based image crops & structured sections */
.about-media {
   text-align: center;
}

.crop-photo {
   width: 100%;
   overflow: hidden;
   border-radius: 16px;
   border: 1px solid var(--border-light);
   background: #f0f0f0;
   box-shadow: 0 8px 26px var(--shadow);
}

.crop-photo img {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: cover; /* Responsive crop */
   transform: scale(1.12);
}

.crop-photo--about {
   height: 440px;
}

.crop-photo--about img {
   object-position: 50% 70%;
}

.crop-photo--services {
   height: 220px;
}

.crop-photo--services img {
   /* Düzenlenen görselde sol açık alan varsa odak el/plan tarafına */
   object-position: 62% 52%;
}

.about-image-caption {
   margin-top: 18px;
   color: var(--text-primary);
   font-weight: 700;
   font-size: 1.05rem;
}

.image-link-bar {
   margin-top: 16px;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   border: 1px solid var(--border-light);
   border-radius: 12px;
   overflow: hidden;
   background: white;
}

.image-link-bar a {
   padding: 16px 10px;
   font-weight: 700;
   text-decoration: none;
   color: var(--accent-primary);
   text-align: center;
   border-right: 1px solid var(--border-light);
   font-size: 0.95rem;
}

.image-link-bar a:last-child {
   border-right: none;
}

.image-link-bar a:hover {
   background: var(--bg-light);
}

/* Services / Training theme layouts */
.services-theme {
   display: flex;
   flex-direction: column;
   gap: 22px;
}

.training-theme {
   display: flex;
   flex-direction: column;
   gap: 22px;
   align-items: stretch;
   width: 100%;
}

.training-split {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
   gap: 24px;
   width: 100%;
   align-items: stretch;
}

.training-split__media {
   border-radius: 16px;
   overflow: hidden;
   border: 1px solid var(--border-light);
   box-shadow: 0 8px 26px var(--shadow);
   background: #eceff1;
   min-height: 240px;
   max-height: 400px;
}

.training-split__media img {
   width: 100%;
   height: 100%;
   min-height: 240px;
   max-height: 400px;
   object-fit: cover;
   object-position: 48% 42%;
   display: block;
}

.training-split__panel {
   border-radius: 16px;
   padding: 24px 26px;
   background: #fff;
   border: 1px solid var(--border-light);
   box-shadow: 0 4px 14px var(--shadow);
   display: flex;
   flex-direction: column;
   gap: 12px;
   justify-content: center;
}

.training-split__title {
   font-family: 'Playfair Display', serif;
   font-size: 1.42rem;
   font-weight: 600;
   margin: 0;
   color: var(--text-primary);
   line-height: 1.25;
}

.training-split__lead {
   margin: 0;
   color: var(--text-secondary);
   line-height: 1.65;
   font-size: 0.97rem;
}

.training-split__list {
   margin: 0;
   padding-left: 1.15rem;
   color: var(--text-secondary);
   font-size: 0.9rem;
   line-height: 1.5;
}

.training-split__list li {
   margin-bottom: 4px;
}

.training-split__list li:last-child {
   margin-bottom: 0;
}

.training-split__cta {
   align-self: flex-start;
   margin-top: 6px;
}

.services-columns {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
}

.theme-list {
   list-style: none;
   text-align: center;
   border-top: 1px solid var(--border-light);
}

.theme-list li {
   padding: 12px 0;
   color: var(--text-secondary);
   font-weight: 700;
   border-bottom: 1px solid var(--border-light);
   letter-spacing: 0.3px;
   font-size: 0.95rem;
}

.crop-photo--services .theme-photo-frame {
   display: none;
}

.cta-bar {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   border: 1px solid var(--border-light);
   border-radius: 12px;
   overflow: hidden;
   background: white;
}

.cta-item {
   padding: 16px 10px;
   text-align: center;
   font-weight: 800;
   border-right: 1px solid var(--border-light);
   display: flex;
   align-items: center;
   justify-content: center;
   line-height: 1.2;
   color: var(--text-primary);
}

.cta-item:last-child {
   border-right: none;
}

.cta-item a {
   color: inherit;
   text-decoration: none;
}

.cta-item a:hover {
   text-decoration: underline;
}

.cta-item--label,
.cta-item--link {
   color: var(--accent-primary);
}

.cta-bar--services .cta-item--label,
.cta-bar--training .cta-item--label {
   font-size: 0.95rem;
}

/* Hizmetler / Eğitimler: başlık ile içerik arası ve liste boşlukları sıkı */
#services .section-header,
#training .section-header {
   margin-bottom: 32px;
}

#services .services-theme,
#training .training-theme {
   gap: 14px;
}

#services .services-columns,
#training .services-columns {
   gap: 24px;
}

#services .theme-list li,
#training .theme-list li {
   padding: 8px 6px;
   font-size: 0.9rem;
}

.cta-item--handle a {
   color: var(--text-secondary);
}

.about-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: start;
}

.about-text {
   font-size: 1.1rem;
   line-height: 1.8;
   color: var(--text-secondary);
}

.about-text p {
   margin-bottom: 30px;
}

.founder-card {
   display: flex;
   align-items: center;
   gap: 20px;
   padding: 25px;
   background-color: var(--bg-light);
   border-radius: 12px;
   border-left: 4px solid var(--accent-primary);
   margin-top: 40px;
}

.founder-avatar {
   width: 70px;
   height: 70px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 1.8rem;
}

.founder-info .founder-name {
   font-size: 1.3rem;
   margin: 0 0 5px;
   font-weight: 600;
   color: var(--text-primary);
   font-family: 'Playfair Display', serif;
}

.founder-title {
   color: var(--accent-primary);
   font-weight: 600;
   margin-bottom: 10px;
   font-size: 0.95rem;
}

.founder-contact {
   color: var(--text-secondary);
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 0.95rem;
}

.founder-contact a {
   color: inherit;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   gap: 10px;
}

.founder-contact a:hover {
   color: var(--accent-primary);
}

.founder-contact i {
   color: var(--accent-primary);
}

.about-quote {
   padding: 40px;
   background-color: var(--bg-light);
   border-radius: 12px;
   border-left: 4px solid var(--accent-secondary);
   position: relative;
}

.quote-mark {
   font-family: 'Playfair Display', serif;
   font-size: 4rem;
   color: var(--accent-secondary);
   line-height: 1;
   margin-bottom: 10px;
   opacity: 0.3;
}

.quote-text {
   font-size: 1.3rem;
   line-height: 1.6;
   color: var(--text-primary);
   margin-bottom: 20px;
   font-style: italic;
}

.quote-author {
   color: var(--text-secondary);
   font-weight: 600;
   font-size: 0.95rem;
}

/* Services Section */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 30px;
}

.service-card {
   background-color: white;
   border-radius: 16px;
   padding: 35px 30px;
   border: 1px solid var(--border-light);
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
   box-shadow: 0 4px 12px var(--shadow);
}

.service-card:hover {
   transform: translateY(-8px);
   border-color: var(--accent-primary);
   box-shadow: 0 12px 30px var(--shadow-hover);
}

.service-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 25px;
}

.service-icon {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 1.8rem;
}

.service-number {
   font-family: 'Source Code Pro', monospace;
   font-size: 0.9rem;
   color: var(--text-light);
   font-weight: 600;
}

.service-title {
   font-size: 1.4rem;
   margin-bottom: 20px;
   color: var(--text-primary);
}

.service-list {
   list-style: none;
}

.service-list li {
   padding: 10px 0;
   color: var(--text-secondary);
   border-bottom: 1px solid var(--border-light);
   position: relative;
   padding-left: 20px;
}

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

.service-list li::before {
   content: '→';
   position: absolute;
   left: 0;
   color: var(--accent-primary);
}

/* Benefits Section */
.benefits-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
   margin-bottom: 60px;
}

.benefit-item {
   background-color: white;
   border-radius: 16px;
   padding: 35px 30px;
   border: 1px solid var(--border-light);
   transition: all 0.3s ease;
   text-align: center;
   box-shadow: 0 4px 12px var(--shadow);
}

.benefit-item:hover {
   transform: translateY(-5px);
   border-color: var(--accent-primary);
   box-shadow: 0 12px 30px var(--shadow-hover);
}

.benefit-icon {
   width: 70px;
   height: 70px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 2rem;
   margin: 0 auto 25px;
}

.benefit-item h3 {
   font-size: 1.3rem;
   margin-bottom: 15px;
   color: var(--text-primary);
}

.benefit-item p {
   color: var(--text-secondary);
   line-height: 1.6;
   font-size: 0.95rem;
}

.mission-box {
   display: flex;
   align-items: center;
   gap: 30px;
   padding: 40px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 16px;
   color: white;
   box-shadow: 0 8px 25px rgba(225, 112, 85, 0.3);
}

.mission-icon {
   font-size: 3rem;
   flex-shrink: 0;
}

.mission-content h3 {
   font-size: 1.8rem;
   margin-bottom: 15px;
   color: white;
}

.mission-content p {
   font-size: 1.1rem;
   line-height: 1.6;
   opacity: 0.95;
}

/* Contact Section */
.contact-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
   align-items: stretch;
}

.contact-info {
   display: flex;
   flex-direction: column;
   gap: 18px;
   min-height: 100%;
}

.contact-card {
   display: flex;
   align-items: flex-start;
   gap: 20px;
   padding: 22px;
   flex: 1;
   min-height: 0;
   background-color: white;
   border-radius: 12px;
   border: 1px solid var(--border-light);
   transition: all 0.3s ease;
   box-shadow: 0 4px 12px var(--shadow);
}

.contact-card:hover {
   transform: translateY(-5px);
   border-color: var(--accent-primary);
   box-shadow: 0 8px 20px var(--shadow-hover);
}

.contact-icon {
   width: 50px;
   height: 50px;
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 1.3rem;
   flex-shrink: 0;
}

.contact-details h3 {
   font-size: 1.2rem;
   margin-bottom: 8px;
   color: var(--text-primary);
}

.contact-details p {
   color: var(--text-secondary);
   line-height: 1.5;
   margin-bottom: 5px;
}

.contact-phone {
   margin-top: 10px;
}

.contact-phone a {
   color: var(--accent-primary);
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-weight: 600;
   text-decoration: none;
}

.contact-phone a:hover {
   text-decoration: underline;
}

.contact-link {
   color: var(--accent-primary);
   font-weight: 600;
   text-decoration: none;
   word-break: break-word;
}

.contact-link:hover {
   text-decoration: underline;
}

.contact-link--subtle {
   color: var(--text-secondary);
   font-weight: 500;
}

.inb-float-whatsapp {
   position: fixed;
   right: max(16px, env(safe-area-inset-right, 0px));
   bottom: max(16px, env(safe-area-inset-bottom, 0px));
   z-index: 10002;
   width: 56px;
   height: 56px;
   border-radius: 50%;
   background: #25d366;
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.85rem;
   text-decoration: none;
   box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inb-float-whatsapp:hover {
   transform: scale(1.06);
   box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
   color: #fff;
}

.inb-float-whatsapp:focus-visible {
   outline: 3px solid var(--accent-primary);
   outline-offset: 3px;
}

.contact-form {
   background-color: white;
   border-radius: 16px;
   padding: 40px;
   border: 1px solid var(--border-light);
   box-shadow: 0 4px 12px var(--shadow);
}

.form-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   margin-bottom: 20px;
}

.form-group {
   margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
   width: 100%;
   padding: 16px;
   background-color: var(--bg-light);
   border: 1px solid var(--border-color);
   border-radius: 8px;
   color: var(--text-primary);
   font-family: 'Inter', sans-serif;
   font-size: 1rem;
   transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--accent-primary);
   background-color: white;
   box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.1);
}

.form-group textarea {
   min-height: 150px;
   resize: vertical;
}

.form-consents {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   align-items: center;
   margin: 10px 0 5px;
}

.consent-item {
   display: flex;
   align-items: center;
   gap: 10px;
   color: var(--text-secondary);
   font-size: 0.95rem;
}

.consent-item input[type="checkbox"] {
   width: 18px;
   height: 18px;
   accent-color: var(--accent-primary);
}

.consent-item label {
   cursor: pointer;
}

.consent-link {
   color: var(--accent-primary);
   text-decoration: none;
   font-weight: 600;
}

.consent-link:hover {
   color: #FF8E53;
   text-decoration: underline;
}

.cf-turnstile {
   transform: scale(0.95);
   transform-origin: left top;
   max-width: 100%;
}

.hp-field {
   position: absolute;
   left: -10000px;
   top: auto;
   width: 1px;
   height: 1px;
   overflow: hidden;
   opacity: 0;
   z-index: -1;
   pointer-events: none;
}

.form-alert {
   margin-top: 12px;
   padding: 12px 14px;
   border-radius: 8px;
   font-size: 0.95rem;
   line-height: 1.5;
}

.form-alert--success {
   color: #1b5e20;
   background: #e8f5e9;
   border: 1px solid #a5d6a7;
}

.form-alert--error {
   color: #b71c1c;
   background: #ffebee;
   border: 1px solid #ef9a9a;
}

.terms-modal {
   display: none;
   position: fixed;
   inset: 0;
   z-index: 9999;
   background: rgba(0, 0, 0, 0.5);
   padding: 16px;
   overflow-y: auto;
   -webkit-overflow-scrolling: touch;
}

.terms-modal.is-open {
   display: flex;
   align-items: flex-start;
   justify-content: center;
}

.terms-modal__dialog {
   width: 100%;
   max-width: 680px;
   margin: 24px auto 32px;
   background: #111;
   border: 1px solid #2a2a2a;
   border-radius: 12px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
   overflow: hidden;
}

.terms-modal__header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 12px;
   padding: 16px 20px;
   border-bottom: 1px solid #2a2a2a;
}

.terms-modal__title {
   margin: 0;
   font-size: clamp(1rem, 4vw, 1.25rem);
   color: #fff;
   line-height: 1.3;
}

.terms-modal__close {
   flex-shrink: 0;
   min-width: 44px;
   min-height: 44px;
   background: transparent;
   border: none;
   color: #bbb;
   font-size: 1.5rem;
   line-height: 1;
   cursor: pointer;
   border-radius: 8px;
}

.terms-modal__close:hover {
   color: #fff;
   background: rgba(255, 255, 255, 0.08);
}

.terms-modal__body {
   padding: 20px;
   color: #ddd;
   line-height: 1.6;
   max-height: min(55vh, 420px);
   overflow: auto;
   -webkit-overflow-scrolling: touch;
}

.terms-modal__body p {
   margin-bottom: 14px;
}

.terms-modal__body p:last-child {
   margin-bottom: 0;
}

.terms-modal__footer {
   display: flex;
   justify-content: flex-end;
   gap: 10px;
   padding: 14px 20px;
   border-top: 1px solid #2a2a2a;
}

/* Footer */
.footer {
   background-color: var(--bg-secondary);
   padding: 64px 0 28px;
   border-top: 1px solid var(--border-light);
}

.footer-content {
   display: grid;
   grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
   gap: 36px 40px;
   margin-bottom: 44px;
   align-items: start;
}

.footer .logo--footer {
   align-items: center;
   gap: 14px;
}

.footer .logo--footer .logo-image {
   height: 62px;
   width: auto;
}

.footer .logo--footer .logo-tagline {
   max-width: 200px;
   font-size: 0.8rem;
   line-height: 1.35;
}

.footer-text {
   color: var(--text-secondary);
   margin-top: 16px;
   max-width: 22rem;
   line-height: 1.65;
   font-size: 0.95rem;
}

.footer-heading {
   font-family: 'Playfair Display', serif;
   font-size: 1.15rem;
   font-weight: 600;
   margin: 0 0 16px;
   color: var(--text-primary);
}

.footer-links ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

.footer-links li {
   margin-bottom: 8px;
}

.footer-links li:last-child {
   margin-bottom: 0;
}

.footer-links a {
   color: var(--text-secondary);
   text-decoration: none;
   transition: color 0.2s ease, transform 0.2s ease;
   display: inline-block;
   padding: 2px 0;
   font-size: 0.95rem;
}

.footer-links a:hover {
   color: var(--accent-primary);
   transform: translateX(4px);
}

.social-icons {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
}

.social-icon {
   width: 46px;
   height: 46px;
   background-color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-secondary);
   text-decoration: none;
   font-size: 1.2rem;
   transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
   border: 1px solid var(--border-color);
   box-shadow: 0 2px 8px var(--shadow);
}

.social-icon:hover {
   background: linear-gradient(135deg, var(--accent-primary), #FF8E53);
   color: white;
   transform: translateY(-2px);
   border-color: transparent;
   box-shadow: 0 6px 16px rgba(225, 112, 85, 0.28);
}

.social-icon:focus-visible {
   outline: 2px solid var(--accent-primary);
   outline-offset: 3px;
}

.footer-bottom {
   text-align: center;
   padding-top: 26px;
   border-top: 1px solid var(--border-light);
   color: var(--text-secondary);
   font-size: 0.9rem;
}

.footer-copy {
   margin: 0 0 12px;
}

.footer-meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   gap: 8px 12px;
   font-size: 0.88rem;
}

.footer-meta-sep {
   color: var(--text-light);
   user-select: none;
}

.creator a,
a.creator--solo {
   color: var(--accent-primary);
   text-decoration: none;
   transition: color 0.2s ease;
   font-weight: 600;
}

.creator a:hover,
a.creator--solo:hover {
   color: #FF8E53;
   text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
   .hero-title {
       font-size: 3.2rem;
   }
   
   .section-title {
       font-size: 2.5rem;
   }
   
   .nav-menu {
       position: fixed;
       top: 0;
       right: -100%;
       flex-direction: column;
       background-color: white;
       width: 80%;
       max-width: 300px;
       height: 100vh;
       padding: 80px 40px;
       transition: right 0.3s ease;
       box-shadow: -5px 0 20px var(--shadow);
       z-index: 999;
       gap: 30px;
   }
   
   .nav-menu.active {
       right: 0;
   }
   
   .nav-toggle {
       display: block;
       z-index: 1000;
   }
   
   .about-content,
   .contact-content {
       grid-template-columns: 1fr;
       gap: 40px;
   }

   .contact-card {
       flex: 0 0 auto;
   }
   
   .footer-content {
       grid-template-columns: 1fr;
       gap: 32px;
       text-align: center;
   }

   .footer-logo {
       display: flex;
       flex-direction: column;
       align-items: center;
   }

   .footer .logo--footer {
       justify-content: center;
   }

   .footer-text {
       margin-left: auto;
       margin-right: auto;
       text-align: center;
   }

   .social-icons {
       justify-content: center;
   }
   
   .form-row {
       grid-template-columns: 1fr;
   }

   .form-consents {
       grid-template-columns: 1fr;
       align-items: start;
       gap: 16px;
   }

   .consent-item {
       align-items: flex-start;
   }

   .services-columns {
       grid-template-columns: 1fr;
       gap: 22px;
   }

   .training-split {
       grid-template-columns: 1fr;
       gap: 20px;
   }

   .training-split__media {
       max-height: 320px;
   }

   .training-split__media img {
       max-height: 320px;
       min-height: 220px;
   }
}

@media (max-width: 768px) {
   .footer {
       padding: 48px 0 24px;
   }

   .hero-title {
       font-size: 2.8rem;
   }
   
   .section {
       padding: 80px 0;
   }
   
   .hero-buttons {
       flex-direction: column;
       align-items: center;
   }
   
   .btn {
       width: 100%;
       max-width: 300px;
       justify-content: center;
   }
   
   .hero-stats {
       flex-direction: column;
       gap: 30px;
   }
   
   .stat-divider {
       width: 100px;
       height: 1px;
   }
   
   .services-grid {
       grid-template-columns: 1fr;
   }

   .crop-photo--about {
       height: 380px;
   }

   .crop-photo--services {
       height: 190px;
   }
   
   .benefits-grid {
       grid-template-columns: 1fr;
   }
   
   .mission-box {
       flex-direction: column;
       text-align: center;
       gap: 20px;
   }
}

@media (max-width: 576px) {
   .training-split__panel {
       padding: 18px 16px;
   }

   .training-split__title {
       font-size: 1.25rem;
   }

   .hero-title {
       font-size: 2.3rem;
   }
   
   .section-title {
       font-size: 2rem;
   }
   
   .hero-subtitle {
       font-size: 1.1rem;
   }
   
   .nav-number {
       display: none;
   }

   .image-link-bar a {
       padding: 12px 8px;
       font-size: 0.9rem;
   }

   .cta-item {
       padding: 14px 8px;
       font-size: 0.92rem;
   }

   .logo-image {
       height: 52px;
   }

   .cta-bar {
       grid-template-columns: 1fr;
   }

   .cta-item {
       border-right: none;
       border-bottom: 1px solid var(--border-light);
       padding: 14px 12px;
   }

   .cta-item:last-child {
       border-bottom: none;
   }

   .image-link-bar {
       grid-template-columns: 1fr;
   }

   .image-link-bar a {
       border-right: none;
       border-bottom: 1px solid var(--border-light);
       word-break: break-word;
   }

   .image-link-bar a:last-child {
       border-bottom: none;
   }

   .contact-form {
       padding: 24px 16px;
   }

   .terms-modal__dialog {
       margin: 12px auto 24px;
   }

   .terms-modal__body {
       max-height: min(50vh, 360px);
   }

   .cf-turnstile {
       transform: scale(0.88);
       transform-origin: left top;
   }
}
