/* =============================================
   YELLOW-TS.COM – Hauptstylesheet
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-yellow:    #EAB308;
  --c-yellow-h:  #CA8A04;
  --c-yellow-bg: #FEFCE8;
  --c-dark:      #0F172A;
  --c-dark-2:    #1E293B;
  --c-slate:     #475569;
  --c-muted:     #94A3B8;
  --c-light:     #F8FAFC;
  --c-white:     #FFFFFF;

  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --sh-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --sh-md: 0 4px 16px rgba(0,0,0,0.08);
  --sh-lg: 0 8px 40px rgba(0,0,0,0.14);

  --tr: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--c-dark);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
p  { color: var(--c-slate); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ── Utilities ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-yellow-h);
  background: var(--c-yellow-bg);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--sp-sm);
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--tr);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-yellow);
  color: var(--c-dark);
}
.btn-primary:hover {
  background: var(--c-yellow-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234,179,8,0.4);
}

.btn-outline {
  border-color: rgba(255,255,255,0.38);
  color: var(--c-white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-dark {
  background: var(--c-dark);
  color: var(--c-white);
}
.btn-dark:hover {
  background: var(--c-dark-2);
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
}

/* ── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 1.25rem 0;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav__logo img { height: 38px; width: auto; border-radius: 6px; }

.nav__logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--tr);
  padding: 0.2rem 0;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-yellow);
  transition: var(--tr);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--c-white);
}

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  background: var(--c-yellow) !important;
  color: var(--c-dark) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--c-yellow-h) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--tr);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 6rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234,179,8,0.14);
  border: 1px solid rgba(234,179,8,0.3);
  color: var(--c-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--c-white);
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--c-yellow);
}

.hero__subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__subtitle strong { color: var(--c-white); }

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bobble 2.2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}

@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ─────────────────────────────── */
.stats {
  background: var(--c-yellow);
  padding: 1.75rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stats__item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(15,23,42,0.65);
}

/* ── Sections ──────────────────────────────── */
.section          { padding: var(--sp-xl) 0; }
.section--gray    { background: var(--c-light); }

.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--sp-lg);
}

.section__title  { margin-bottom: 1rem; }
.section__desc   { font-size: 1.05rem; line-height: 1.75; }

/* ── About ─────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-lg);
}

.about__image img { width: 100%; height: 100%; object-fit: cover; }

.about__title   { margin-bottom: 1.25rem; }
.about__text    { font-size: 1.02rem; line-height: 1.8; margin-bottom: 1rem; }

.about__timeline { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c-yellow);
  flex-shrink: 0;
  margin-top: 0.45rem;
  box-shadow: 0 0 0 3px rgba(234,179,8,0.2);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-yellow-h);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.timeline-text { font-size: 0.94rem; color: var(--c-slate); }

/* ── Feature Cards ─────────────────────────── */
.cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--tr), box-shadow var(--tr);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}

.card__icon {
  width: 50px; height: 50px;
  border-radius: var(--r-sm);
  background: var(--c-yellow-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--c-dark);
}

.card__text {
  font-size: 0.93rem;
  color: var(--c-slate);
  line-height: 1.7;
}

/* ── Brand Section ─────────────────────────── */
.brand {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
}

.brand::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(234,179,8,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.brand__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand__logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
}

.brand__logo-wrapper img {
  max-width: 280px;
  width: 100%;
  border-radius: 16px;
}

.brand .section-label {
  background: rgba(234,179,8,0.14);
  color: var(--c-yellow);
}

.brand__title { color: var(--c-white); margin-bottom: 1.25rem; }

.brand__text {
  color: rgba(255,255,255,0.68) !important;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.brand__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.25);
  color: var(--c-yellow);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
}

/* ── Image Grid ────────────────────────────── */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.img-grid__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-md);
}

.img-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-grid__item:hover img { transform: scale(1.04); }

/* ── CTA Strip ─────────────────────────────── */
.cta {
  background: var(--c-yellow);
  padding: var(--sp-xl) 0;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--c-dark);
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.08rem;
  color: rgba(15,23,42,0.72);
  max-width: 480px;
  margin: 0 auto 2.25rem;
}

/* ── Page Hero (inner pages) ───────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--c-dark) 0%, #1a2744 100%);
  padding: 8rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,179,8,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__label { color: var(--c-yellow); margin-bottom: 1.2rem; }
.page-hero__title { color: var(--c-white); margin-bottom: 0.75rem; }
.page-hero__sub   { color: rgba(255,255,255,0.55); font-size: 1.08rem; max-width: 500px; margin: 0 auto; }

/* ── Contact Form ──────────────────────────── */
.contact-section  { padding: var(--sp-xl) 0; background: var(--c-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.form-card__title    { font-size: 1.45rem; margin-bottom: 0.4rem; }
.form-card__subtitle { color: var(--c-muted); margin-bottom: 2rem; font-size: 0.93rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group { margin-bottom: 1.25rem; }

.form__group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.4rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--c-dark);
  background: var(--c-white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 3px rgba(234,179,8,0.14);
}

.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--c-muted); }

.form__group textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form__check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--c-yellow);
  cursor: pointer;
}

.form__check label {
  font-size: 0.84rem;
  color: var(--c-slate);
  cursor: pointer;
}

.form__check label a {
  color: var(--c-yellow-h);
  text-decoration: underline;
}

.form__submit {
  width: 100%;
  justify-content: center;
  padding: 0.95rem;
  font-size: 1rem;
  border: none;
}

.form__notice {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.form__notice a { color: var(--c-yellow-h); text-decoration: underline; }

.form-alert {
  display: none;
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.93rem;
  line-height: 1.5;
}

.form-alert--success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}

.form-alert--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ── Contact Info Sidebar ──────────────────── */
.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.info-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--sh-sm);
}

.info-card__icon {
  width: 42px; height: 42px;
  background: var(--c-yellow-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.info-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.info-card__value {
  font-weight: 600;
  color: var(--c-dark);
  font-size: 0.95rem;
  word-break: break-all;
}

.info-card__sub {
  font-size: 0.83rem;
  color: var(--c-muted);
  margin-top: 0.2rem;
}

/* ── Legal Pages ───────────────────────────── */
.legal-section { padding: var(--sp-lg) 0 var(--sp-xl); }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.28rem;
  color: var(--c-dark);
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-yellow-bg);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 1.04rem;
  color: var(--c-dark-2);
  margin: 1.5rem 0 0.6rem;
}

.legal-body p {
  font-size: 0.95rem;
  line-height: 1.82;
  margin-bottom: 1rem;
}

.legal-body a { color: var(--c-yellow-h); text-decoration: underline; }

.legal-body ul,
.legal-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal-body li {
  font-size: 0.95rem;
  color: var(--c-slate);
  line-height: 1.75;
  margin-bottom: 0.3rem;
}

.placeholder {
  display: inline-block;
  background: #FEF3C7;
  border: 1.5px dashed #F59E0B;
  border-radius: 5px;
  padding: 0.1rem 0.65rem;
  font-weight: 600;
  color: #78350F;
  font-size: 0.88rem;
}

.legal-box {
  background: var(--c-yellow-bg);
  border-left: 4px solid var(--c-yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.legal-box p { color: var(--c-dark-2); margin-bottom: 0; }

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--c-dark);
  padding: 3rem 0 2.25rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo { display: flex; align-items: center; gap: 0.7rem; }
.footer__logo img { height: 34px; border-radius: 5px; }

.footer__logo-text {
  font-weight: 700;
  color: var(--c-white);
  font-size: 1rem;
}

.footer__tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

.footer__links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--tr);
}

.footer__links a:hover { color: var(--c-yellow); }

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── Animations ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards__grid .card:nth-child(2) { transition-delay: 0.08s; }
.cards__grid .card:nth-child(3) { transition-delay: 0.16s; }
.cards__grid .card:nth-child(4) { transition-delay: 0.24s; }
.cards__grid .card:nth-child(5) { transition-delay: 0.32s; }
.cards__grid .card:nth-child(6) { transition-delay: 0.40s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .brand__grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --sp-lg: 3rem;
    --sp-xl: 4rem;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .nav__links.open { display: flex; }
  .nav__hamburger  { display: flex; }

  .hero__actions { flex-direction: column; align-items: flex-start; }

  .form__row { grid-template-columns: 1fr; }

  .form-card { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
}
