@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&display=swap");

/* =========================================================
   TYT Mining static landing page
   WordPress-friendly CSS: prefixed utilities/components, reusable tokens
   ========================================================= */

:root {
  --tyt-navy: #061b2c;
  --tyt-navy-2: #082438;
  --tyt-black: #06111d;
  --tyt-gold: #f9ad08;
  --tyt-gold-dark: #db9200;
  --tyt-text: #071426;
  --tyt-muted: #5f6978;
  --tyt-border: #e6e9ee;
  --tyt-bg: #ffffff;
  --tyt-light: #f6f7f9;
  --tyt-shadow: 0 10px 25px rgba(5, 17, 29, .10);
  --tyt-radius: 2px;
  --tyt-font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--tyt-bg);
  color: var(--tyt-text);
  font-family: var(--tyt-font);
  font-size: 15px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover { color: var(--tyt-gold); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  background: var(--tyt-gold);
  color: #081522;
  padding: 8px 12px;
}

.skip-link:focus { left: 8px; }

.container {
  max-width: 1160px;
}

.btn {
  border-radius: var(--tyt-radius);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 13px 22px;
}

.btn-gold {
  background: var(--tyt-gold);
  border-color: var(--tyt-gold);
  color: #06111d;
  box-shadow: none;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--tyt-gold-dark);
  border-color: var(--tyt-gold-dark);
  color: #06111d;
  transform: translateY(-1px);
}

.btn-dark-outline {
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
  background: rgba(0,0,0,.28);
}

.btn-dark-outline:hover { background: #fff; color: var(--tyt-text); }

.section-pad { padding: 22px 0 30px; }
.section-pad-sm { padding: 16px 0 20px; }

.section-heading { margin-bottom: 18px; }
.section-heading.compact { margin-bottom: 10px; }

.section-heading h2,
.contact-inner h2,
.why-intro h2 {
  margin: 2px 0 0;
  color: var(--tyt-text);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.1;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.section-kicker.gold { color: var(--tyt-gold); }
.section-kicker.dark { color: var(--tyt-text); font-size: 18px; }

.title-line {
  display: block;
  width: 45px;
  height: 3px;
  margin-top: 12px;
  background: var(--tyt-gold);
}

/* Header / Navigation */
.top-bar {
  min-height: 34px;
  background: linear-gradient(90deg, #04131f, #061d30);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.top-bar .container { min-height: 34px; }
.icon-sm { color: var(--tyt-gold); margin-right: 7px; }
.main-nav {
  min-height: 69px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(6, 20, 38, .08);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.navbar-brand img { display: block; object-fit: contain; }

.brand-name {
  color: #232832;
  font-family: "Rajdhani", "Trebuchet MS", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.02;
  white-space: nowrap;
}

.main-nav .nav-link {
  position: relative;
  color: var(--tyt-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 26px 18px !important;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 3px;
  background: transparent;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover { color: var(--tyt-gold); }

.main-nav .nav-link.active::after { background: var(--tyt-gold); }

.nav-cta {
  min-width: 150px;
  margin-left: 12px;
}

/* Hero Banner */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  background: #06111d;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6,16,27,.98) 0%, rgba(6,16,27,.93) 25%, rgba(6,16,27,.44) 48%, rgba(6,16,27,.12) 100%);
  pointer-events: none;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
}

.hero-slide {
  background-image: var(--slide-image);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .75s ease, transform 5s ease;
}

.hero-slide--full {
  left: auto;
  width: min(100%, max(70vw, 1023px));
  background-color: #06111d;
  background-image: none;
  overflow: hidden;
}

.hero-slide--full::before,
.hero-slide--full::after {
  content: "";
  position: absolute;
  background-image: var(--slide-image);
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-slide--full::before {
  inset: -12px;
  background-size: cover;
  filter: blur(4px);
  opacity: .7;
}

.hero-slide--full::after {
  inset: 0;
  background-size: contain;
}

.hero-slide--full:first-child::after {
  background-position: center center;
  background-size: cover;
}

.hero-slide--full:first-child {
  width: 100%;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.min-vh-hero { min-height: 350px; }

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 310px;
  color: #fff;
  padding: 34px 0 26px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-copy h1 span { color: var(--tyt-gold); }

.hero-copy p {
  max-width: 230px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 11px;
  transform: translateX(-50%);
}

.hero-dots button,
.testimonial-dots span {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}

.hero-dots button.active,
.testimonial-dots span.active { background: var(--tyt-gold); }

/* Features Strip */
.support-strip {
  background: linear-gradient(90deg, #061a2b, #07263c);
  color: #fff;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 11px 22px;
  border-right: 1px solid rgba(255,255,255,.18);
}

.support-item:last-child { border-right: 0; }

.support-icon {
  min-width: 38px;
  color: var(--tyt-gold);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.support-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-item h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.support-item p {
  margin: 1px 0 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* About / Brands */
.brand-section { background: #fff; }

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  background: #fff;
  border: 1px solid var(--tyt-border);
  box-shadow: var(--tyt-shadow);
}

/* Product Categories */
.product-section {
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.product-grid > [class*="col"] { min-width: 0; }

.product-card {
  height: 100%;
  min-height: 180px;
  padding: 10px 13px 13px;
  background: #fff;
  border: 1px solid var(--tyt-border);
  box-shadow: 0 6px 15px rgba(4, 18, 32, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(4, 18, 32, .12);
}

.product-card img {
  display: block;
  width: 100%;
  max-width: 92px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 7px;
}

.product-card h3,
.service-card h3,
.why-grid h3 {
  margin: 0 0 6px;
  color: var(--tyt-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
}

.product-card p,
.service-card p,
.why-grid p {
  margin: 0 0 10px;
  color: #172235;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.product-card a {
  color: var(--tyt-gold-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Services */
.services-section { background: #fff; }

.service-card {
  position: relative;
  height: 100%;
  min-height: 172px;
  padding: 0 13px 14px;
  background: #fff;
  border: 1px solid var(--tyt-border);
  box-shadow: 0 6px 15px rgba(4, 18, 32, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card > img {
  display: block;
  width: calc(100% + 26px);
  max-width: none;
  height: 60px;
  object-fit: cover;
  margin: 0 -13px 0;
}

.service-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: -21px 0 9px 3px;
  border-radius: 50%;
  background: var(--tyt-gold);
  color: #07111d;
  font-size: 22px;
  font-weight: 900;
}

.service-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Why Choose / Features */
.why-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(4,17,29,.96), rgba(5,24,39,.98)), url("assets/why-bg.jpg") left center / auto 100% no-repeat;
  color: #fff;
  padding: 18px 0 15px;
}

.why-intro {
  min-height: 106px;
  padding: 8px 26px 0 0;
  border-right: 1px solid rgba(255,255,255,.28);
}

.why-intro h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 38px);
  text-transform: uppercase;
}

.why-grid article {
  min-height: 105px;
  padding: 0 15px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}

.why-grid [class*="col"]:last-child article { border-right: 0; }

.why-grid span {
  display: block;
  color: var(--tyt-gold);
  font-size: 29px;
  line-height: 1;
  margin-bottom: 7px;
}

.why-grid h3 { color: #fff; font-size: 12px; }
.why-grid p { color: #fff; font-size: 10.5px; margin-bottom: 0; }

/* Testimonials */
.testimonials-section { background: #fff; }

.testimonial-card {
  position: relative;
  min-height: 110px;
  padding: 24px 25px 18px 58px;
  background: #fff;
  border: 1px solid var(--tyt-border);
  box-shadow: var(--tyt-shadow);
}

.quote-mark {
  position: absolute;
  left: 18px;
  top: 12px;
  color: var(--tyt-gold);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.testimonial-card p {
  margin: 0 0 13px;
  color: #364052;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.testimonial-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #f2f3f4 0 25%, transparent 26%), radial-gradient(circle at 50% 100%, #cfd3d8 0 45%, #f3f4f6 46%);
}

.testimonial-foot h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.testimonial-foot small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.stars {
  margin-left: auto;
  color: var(--tyt-gold);
  font-size: 18px;
  letter-spacing: 1px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.testimonial-dots span { background: #cbd0d7; opacity: 1; }

/* CTA / Contact */
.contact-section {
  background: var(--tyt-navy);
  color: #fff;
}

.contact-form-wrap {
  background: linear-gradient(90deg, #061b2c, #082438);
}

.home-contact-image-wrap {
  min-height: 300px;
  overflow: hidden;
  background: #061b2c;
}

.home-contact-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.contact-inner {
  max-width: 455px;
  margin-left: auto;
  padding: 18px 38px 15px 15px;
}

.contact-inner h2 {
  color: #fff;
  font-size: 23px;
  margin-bottom: 10px;
}

.requirement-form input,
.requirement-form textarea {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: var(--tyt-text);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
}

.requirement-form textarea { resize: vertical; min-height: 50px; }
.requirement-form .btn { margin-top: 10px; padding: 9px 24px; }
.form-status { min-height: 16px; margin: 8px 0 0; color: var(--tyt-gold); font-size: 12px; }

.map-wrap {
  position: relative;
  min-height: 177px;
  overflow: hidden;
}

.map-wrap > img,
.location-map {
  width: 100%;
  height: 100%;
  min-height: 177px;
  border: 0;
}

.map-wrap > img {
  object-fit: cover;
}

.office-card {
  position: absolute;
  top: 17px;
  right: 48px;
  width: 285px;
  padding: 10px 15px;
  background: #fff;
  color: var(--tyt-text);
  box-shadow: var(--tyt-shadow);
}

.office-item {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 5px 0 9px;
  border: 0;
  border-bottom: 1px solid #d6dbe2;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.office-item:last-child { border-bottom: 0; }
.office-item:hover,
.office-item:focus,
.office-item.is-active { color: var(--tyt-text); }
.office-item.is-active h3 { color: var(--tyt-gold-dark); }
.office-item > span { color: var(--tyt-gold); font-size: 23px; }
.office-item h3 { margin: 0 0 3px; font-size: 13px; font-weight: 900; }
.office-item p,
.office-item .office-link { margin: 0; color: #273142; font-size: 11px; line-height: 1.35; }

/* Footer */
.site-footer {
  background: linear-gradient(90deg, #061b2c, #072438);
  color: #fff;
  padding: 12px 0 6px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.footer-logo {
  margin-bottom: 0;
  padding: 4px;
  border-radius: 2px;
  background: #fff;
  object-fit: contain;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255,255,255,.82);
  font-size: 10px;
  line-height: 1.45;
}

.site-footer h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer h2 a {
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

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

.copyright {
  margin: 10px 0 0;
  text-align: center;
  opacity: .58;
}

/* Responsive */
@media (max-width: 991.98px) {
  .top-contact { gap: 12px !important; }
  .main-nav .nav-link { padding: 10px 0 !important; }
  .main-nav .nav-link::after { display: none; }
  .nav-cta { margin: 10px 0 16px; }
  .hero-section { background-position: 45% center; }
  .support-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .why-intro { border-right: 0; text-align: center; padding-right: 0; }
  .why-intro .title-line { margin-left: auto; margin-right: auto; }
  .why-grid article { border-right: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
  .contact-inner { max-width: none; margin: 0; padding: 24px 16px; }
  .office-card { position: static; width: auto; margin: 12px; }
  .map-wrap { padding-bottom: 1px; }
}

@media (min-width: 992px) {
  .top-bar,
  .top-bar .container { height: 34px; min-height: 34px; }

  .main-nav,
  .main-nav .container { height: 69px; min-height: 69px; }

  .navbar-brand img { width: 82px; height: 54px; object-fit: contain; }
  .main-nav .nav-link { padding-top: 23px !important; padding-bottom: 23px !important; }
  .nav-cta { padding-top: 13px; padding-bottom: 13px; }

  .hero-section,
  .min-vh-hero { height: 350px; min-height: 350px; }

  .hero-copy { padding: 36px 0 20px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.08; margin-bottom: 8px; }
  .hero-copy p { font-size: 13px; line-height: 1.55; margin-bottom: 13px; }
  .hero-actions .btn { padding: 10px 17px; font-size: 11px; }

  .support-item { height: 56px; min-height: 56px; padding: 8px 20px; }
  .support-icon { font-size: 25px; min-width: 35px; }
  .support-item h3 { font-size: 12px; }
  .support-item p { font-size: 11px; line-height: 1.25; }

  .brand-section { height: 93px; padding: 16px 0 13px; }
  .brand-card { min-height: 68px; }

  .product-section { min-height: 263px; padding: 14px 0 18px; overflow: visible; }
  .section-heading { margin-bottom: 12px; }
  .section-heading h2 { font-size: 25px; }
  .section-kicker { font-size: 11px; }
  .product-card { min-height: 182px; padding: 8px 11px 10px; }
  .product-card img { height: 68px; margin-bottom: 5px; }
  .product-card h3,
  .service-card h3 { font-size: 12px; margin-bottom: 5px; }
  .product-card p,
  .service-card p { font-size: 10.5px; line-height: 1.45; margin-bottom: 7px; }
  .product-card a { font-size: 10.5px; }

  .services-section { min-height: 216px; padding: 0 0 18px; overflow: visible; }
  .services-section .section-heading h2 { font-size: 25px; }
  .service-card { min-height: 170px; padding-left: 11px; padding-right: 11px; }
  .service-card > img { width: calc(100% + 22px); margin-left: -11px; margin-right: -11px; }
  .service-icon { width: 38px; height: 38px; margin-top: -19px; font-size: 19px; }

  .why-section { min-height: 150px; padding: 15px 0 14px; overflow: visible; }
  .why-intro { min-height: 105px; }
  .why-intro h2 { font-size: 31px; }
  .why-grid article { min-height: 124px; padding-left: 10px; padding-right: 10px; }
  .why-grid span { font-size: 26px; margin-bottom: 6px; }
  .why-grid h3 { font-size: 10px; margin-bottom: 5px; }
  .why-grid p { font-size: 8.8px; line-height: 1.32; }

  .testimonials-section { min-height: 162px; padding: 10px 0 12px; overflow: visible; }
  .testimonials-section .section-heading h2 { font-size: 24px; }
  .testimonial-card { min-height: 98px; padding: 18px 22px 14px 54px; }
  .testimonial-card p { font-size: 12px; margin-bottom: 9px; }
  .quote-mark { font-size: 51px; }
  .avatar { width: 34px; height: 34px; }
  .stars { font-size: 16px; }

  .contact-section,
  .contact-form-wrap,
  .map-wrap { min-height: 300px; height: auto; }
  .location-map,
  .map-wrap > img { min-height: 300px; height: 100%; }
  .contact-inner { padding-top: 20px; padding-bottom: 24px; }
  .contact-inner h2 { font-size: 21px; margin-bottom: 8px; }
  .requirement-form input,
  .requirement-form textarea { padding: 7px 10px; font-size: 11px; }
  .requirement-form textarea { min-height: 72px; }
  .requirement-form .btn { padding: 8px 20px; margin-top: 8px; }

  .site-footer { min-height: 120px; padding: 16px 0 10px; }
  .site-footer .row { --bs-gutter-y: .75rem; }
  .footer-logo { width: 54px; height: 44px; object-fit: contain; }
  .copyright { margin-top: 12px; }
}

@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .top-bar .container { flex-direction: column; gap: 4px; padding: 6px 12px; }
  .top-contact { flex-wrap: wrap; justify-content: center; font-size: 12px; }
  .hero-section { min-height: 390px; background-position: 55% center; }
  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 12, 20, .36);
  }
  .hero-container { position: relative; z-index: 2; }
  .hero-slide--full:first-child::after {
    background-position: center center;
    background-size: cover;
  }
  .hero-copy { padding-top: 95px; }
  .hero-copy p { max-width: 280px; }
  .brand-grid .brand-card { min-height: 86px; }
  .section-pad,
  .section-pad-sm { padding: 32px 0; }
  .product-card,
  .service-card { min-height: 190px; }
  .testimonial-card { padding-left: 48px; }
  .stars { display: block; width: 100%; margin: 8px 0 0 49px; }
  .testimonial-foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
