/* ===== TOOXLA — Ember Theme (warm amber dominant) ===== */

@font-face {
  font-family: 'BeonMedium';
  font-weight: normal;
  font-style: normal;
  src: url('beon-webfont.eot');
  src: local('☺'),
       url('beon-webfont.eot?#iefix') format('embedded-opentype'),
       url('beon-webfont.woff')        format('woff'),
       url('beon-webfont.ttf')         format('truetype'),
       url('beon-webfont.svg#BeonMedium') format('svg');
}

:root {
  --bg-primary:     #060400;
  --bg-secondary:   #0a0602;
  --bg-card:        #0e0903;
  --border:         rgba(212, 130, 10, 0.12);
  --border-subtle:  rgba(212, 130, 10, 0.07);
  --amber:          #d4820a;
  --amber-bright:   #ffe090;
  --amber-dim:      rgba(212, 130, 10, 0.22);
  --amber-glow:     rgba(212, 130, 10, 0.14);
  --text-primary:   #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted:     rgba(212, 130, 10, 0.65);
  --font-logo:      'BeonMedium', sans-serif;
  --font-heading:   'Oswald', sans-serif;
  --font-body:      'Roboto', sans-serif;
}

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

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

.t-honeypot { display: none; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  background-image: url('images/pexels-photo-1556704.jpeg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.t-hero__inner {
  position: relative;
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 1196px;
  padding-top: 217px;
}

.t-hero__title {
  font-family: var(--font-logo);
  font-size: 3.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin: 0;
}

.t-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 8px;
  color: #ffffff;
  line-height: 1.1;
  margin: 20px 0 0;
}

.t-hero-accent {
  background: linear-gradient(90deg, #ffe090 0%, #d4820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1199px) {
  .t-hero__inner { min-height: 1017px; width: 940px; }
}

@media (max-width: 991px) {
  .t-hero__inner    { width: 720px; }
  .t-hero__title    { font-size: 4.5rem; }
  .t-hero__subtitle { font-size: 1.875rem; }
}

@media (max-width: 767px) {
  .t-hero__inner    { min-height: 1025px; width: 540px; }
  .t-hero__title    { font-size: 3.75rem; }
  .t-hero__subtitle { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .t-hero__inner    { min-height: 749px; width: 340px; }
  .t-hero__title    { font-size: 3rem; }
  .t-hero__subtitle { font-size: 1.25rem; }
}

/* ===== NAV ===== */
.t-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: linear-gradient(180deg, rgba(6, 4, 0, 0.98) 0%, rgba(6, 4, 0, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.t-nav__logo {
  font-family: var(--font-logo);
  font-size: 1.4rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(212, 130, 10, 0.5);
}

.t-nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.t-nav__links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.t-nav__links a:hover { color: var(--amber); }

.t-nav__cta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(212, 130, 10, 0.5);
  padding: 8px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 12px var(--amber-glow);
}

.t-nav__cta:hover {
  border-color: var(--amber);
  box-shadow: 0 0 22px rgba(212, 130, 10, 0.25);
}

/* Mobile menu toggle */
.t-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.t-nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== SECTION BASE ===== */
.t-section {
  padding: 96px 0;
  position: relative;
}

.t-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.t-section__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.t-section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Title strong — gold gradient */
.t-section__title strong {
  font-weight: 600;
  background: linear-gradient(90deg, var(--amber-bright) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider — amber */
.t-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  margin-bottom: 40px;
}

/* Radial warm glow behind section headers */
.t-section__header-glow { position: relative; }

.t-section__header-glow::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -120px;
  right: -120px;
  height: 400px;
  background: radial-gradient(ellipse at 25% 35%, rgba(140, 65, 4, 0.32) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.t-section__header-glow > * { position: relative; z-index: 1; }

/* ===== ABOUT ===== */
#about {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.t-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 16px;
}

.t-about__text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.t-about__text p:last-child { margin-bottom: 0; }

.t-about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.t-stat {
  background: var(--bg-card);
  padding: 32px 28px;
}

/* Stat numbers — gold gradient */
.t-stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--amber-bright) 10%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-stat__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
#services {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

/* Dot-grid — warm amber dots */
#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 130, 10, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.t-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 16px;
}

.t-service {
  background: var(--bg-primary);
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Top-line — amber gradient on hover */
.t-service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 130, 10, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.t-service:hover { background: var(--bg-card); }
.t-service:hover::before { opacity: 1; }

.t-service__icon {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  margin-bottom: 28px;
  transition: width 0.3s ease;
}

.t-service:hover .t-service__icon { width: 56px; }

.t-service__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.t-service__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ===== TEAM ===== */
#team {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.t-team__intro { max-width: 680px; }

.t-team__intro p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.t-team__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.t-pillar {
  background: var(--bg-secondary);
  padding: 36px 28px;
  border-top: 1px solid rgba(212, 130, 10, 0.2);
  transition: background 0.25s ease;
}

.t-pillar:hover { background: var(--bg-card); }

.t-pillar__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--amber-dim);
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1;
}

.t-pillar__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.t-pillar__desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== CONTACT ===== */
#contact {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

/* Dot-grid — warm amber dots */
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 130, 10, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.t-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 16px;
}

.t-contact__intro p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.t-contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.t-contact__item { display: flex; flex-direction: column; gap: 4px; }

.t-contact__item-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.t-contact__item-value {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.t-contact__item-value:hover { color: var(--amber); }

.t-contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.t-form__group { display: flex; flex-direction: column; gap: 6px; }

.t-form__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.t-form__input,
.t-form__textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
  width: 100%;
}

.t-form__input:focus,
.t-form__textarea:focus {
  border-color: rgba(212, 130, 10, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 130, 10, 0.06);
}

.t-form__textarea { height: 120px; }

.t-form__submit {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(212, 130, 10, 0.5);
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 12px var(--amber-glow);
}

.t-form__submit:hover {
  border-color: var(--amber);
  box-shadow: 0 0 22px rgba(212, 130, 10, 0.25), inset 0 0 18px rgba(212, 130, 10, 0.05);
}

.t-form__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.t-form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.t-form__status {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.t-form__status--ok  { color: #8ec46a; }
.t-form__status--err { color: #c47878; }

.t-form__consent {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

.t-form__consent a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(212, 130, 10, 0.35);
  transition: color 0.2s ease;
}

.t-form__consent a:hover { color: var(--amber); }


/* ===== FOOTER ===== */
.t-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.t-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-footer__logo {
  font-family: var(--font-logo);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.t-footer__copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
}

.t-footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.t-footer__links a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.t-footer__links a:hover { color: var(--text-primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .t-nav { padding: 0 24px; }

  .t-nav__links,
  .t-nav__cta { display: none; }

  .t-nav__hamburger { display: flex; }

  .t-nav.is-open .t-nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(6, 4, 0, 0.98);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

  .t-nav.is-open .t-nav__links a { font-size: 1rem; letter-spacing: 3px; }

  .t-about__grid,
  .t-contact__grid { grid-template-columns: 1fr; gap: 48px; }

  .t-services__grid { grid-template-columns: 1fr 1fr; }

  .t-team__pillars { grid-template-columns: 1fr 1fr; }

  .t-section__title { font-size: 2rem; }
}

@media (max-width: 575px) {
  .t-section { padding: 64px 0; }

  .t-services__grid { grid-template-columns: 1fr; }

  .t-team__pillars { grid-template-columns: 1fr 1fr; }

  .t-about__stats { grid-template-columns: 1fr 1fr; }

  .t-section__title { font-size: 1.75rem; letter-spacing: 3px; }

  .t-footer__inner { flex-direction: column; gap: 16px; text-align: center; }

  .t-footer__links { display: none; }
}
