/* ==========================================================================
   XXXXX TRADING LIMITED — Global Stylesheet
   Modern static website · HTML5 + CSS + JS
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0b1c33;
  --primary-light: #13294b;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-soft: #fff4ec;
  --dark: #0b1c33;
  --dark-2: #101f38;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 28, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 28, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 28, 51, 0.18);
  --gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-dark: linear-gradient(135deg, #0b1c33 0%, #13294b 60%, #1d3a63 100%);
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--gradient-dark);
  color: #dbe4f0;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head--left .eyebrow::before {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.22rem;
}

.section-head p,
.lead {
  color: var(--text-muted);
  font-size: 1.06rem;
}

.section--dark .section-head p {
  color: #9fb0c7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.45);
}

.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.btn--ghost {
  border: 2px solid var(--border);
  color: var(--primary);
  background: var(--white);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--dark {
  background: var(--primary);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--accent);
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.header.scrolled .brand-name {
  color: var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  line-height: 1.15;
  transition: color var(--transition);
}

.brand-name span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: var(--accent);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1101;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--primary);
}

.nav-toggle.open span {
  background: var(--white);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  color: var(--white);
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% 15%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(600px 400px at 8% 85%, rgba(37, 99, 235, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fdba74;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  color: #9fb0c7;
  font-size: 1.13rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat .num em {
  font-style: normal;
  color: var(--accent);
}

.stat .label {
  font-size: 13px;
  color: #8fa1b9;
  letter-spacing: 0.4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-top h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.hero-card-top .tag {
  font-size: 12px;
  font-weight: 700;
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
}

.part-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.part-row:last-child {
  border-bottom: none;
}

.part-info {
  display: flex;
  align-items: center;
  gap: 13px;
}

.part-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(249, 115, 22, 0.16);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.part-ico svg {
  width: 22px;
  height: 22px;
}

.part-name {
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
}

.part-sub {
  font-size: 12.5px;
  color: #8fa1b9;
}

.part-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #4ade80;
}

.part-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.hero-float--tl {
  top: -26px;
  right: -18px;
}

.hero-float--bl {
  bottom: -30px;
  left: -30px;
  animation-delay: 2.2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-float .f-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.hero-float--tl .f-ico {
  background: var(--gradient);
}

.hero-float--bl .f-ico {
  background: var(--primary);
}

.hero-float .f-ico svg {
  width: 21px;
  height: 21px;
}

.hero-float .f-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.hero-float .f-text small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #8fa1b9;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.scroll-hint .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #8fa1b9;
  border-radius: 14px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: wheel 1.8s infinite;
}

@keyframes wheel {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ==========================================================================
   LOGO / TRUST BAR
   ========================================================================== */
.trust-bar {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-bar p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 44px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* ==========================================================================
   CARDS GRID
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Service card */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .ico {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .ico {
  background: var(--gradient);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.service-card .ico svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.service-card ul.features {
  margin-bottom: 22px;
  display: grid;
  gap: 9px;
}

.service-card ul.features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
}

.service-card ul.features li svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.card-link {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 13px;
}

.card-link svg {
  width: 16px;
  height: 16px;
}

/* Feature / value card */
.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-soft);
}

.value-card .ico svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   SPLIT / ABOUT PREVIEW
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media .main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.exp-badge {
  position: absolute;
  bottom: -24px;
  right: -18px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
}

.exp-badge .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.exp-badge .txt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text);
}

.check-list .check-ico {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list .check-ico svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.process-step {
  position: relative;
  padding: 34px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.process-step:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-6px);
}

.process-step .step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.process-step p {
  color: #9fb0c7;
  font-size: 14.5px;
}

/* ==========================================================================
   QUALITY / BANNER
   ========================================================================== */
.quality-banner {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.35);
  position: relative;
  overflow: hidden;
}

.quality-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.quality-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.quality-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

.quality-banner .btn {
  background: var(--white);
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  justify-self: end;
}

.quality-banner .btn:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.stars svg {
  width: 17px;
  height: 17px;
}

.testimonial-card .quote {
  color: var(--text);
  font-size: 15px;
  flex: 1;
}

.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-card .who .name {
  font-weight: 700;
  color: var(--primary);
  font-size: 14.5px;
  line-height: 1.3;
}

.testimonial-card .who .role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 96px 0;
}

.cta-box {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(249, 115, 22, 0.25), transparent 65%),
    radial-gradient(400px 260px at 10% 90%, rgba(37, 99, 235, 0.2), transparent 65%);
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  color: #9fb0c7;
  max-width: 560px;
  margin: 0 auto 34px;
}

.cta-box .btn--primary {
  font-size: 16px;
  padding: 16px 38px;
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding: calc(var(--header-h) + 70px) 0 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 340px at 85% 20%, rgba(249, 115, 22, 0.2), transparent 60%),
    radial-gradient(500px 320px at 10% 90%, rgba(37, 99, 235, 0.18), transparent 60%);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: #9fb0c7;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #8fa1b9;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}

.breadcrumb a {
  color: #fdba74;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.mission-card .ico {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.mission-card .ico svg {
  width: 28px;
  height: 28px;
}

.mission-card h3 {
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail:nth-child(even) .detail-media {
  order: 2;
}

.detail-media .img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-media .img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.detail-media:hover .img-wrap img {
  transform: scale(1.05);
}

.detail-media .img-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--gradient);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.detail-body h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.detail-body > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-body ul {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.detail-body ul li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.detail-body ul li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px 260px at 90% 0%, rgba(249, 115, 22, 0.25), transparent 65%);
}

.contact-info-card > * {
  position: relative;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.contact-info-card > p {
  color: #9fb0c7;
  font-size: 15px;
  margin-bottom: 30px;
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:first-of-type {
  border-top: none;
  padding-top: 6px;
}

.info-row .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.16);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-row .ico svg {
  width: 21px;
  height: 21px;
}

.info-row .txt {
  font-size: 14.5px;
}

.info-row .txt strong {
  display: block;
  font-size: 13px;
  color: #8fa1b9;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.info-row .txt a {
  color: var(--white);
  transition: color var(--transition);
}

.info-row .txt a:hover {
  color: var(--accent);
}

.hours-box {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.hours-box h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hours-box h4 svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.hours-box p {
  font-size: 13.5px;
  color: #9fb0c7;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.hours-box p span {
  color: var(--white);
  font-weight: 600;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group .error-msg {
  display: none;
  font-size: 13px;
  color: #dc2626;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.form-note svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success .success-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.form-success .success-ico svg {
  width: 34px;
  height: 34px;
}

.form-success h3 {
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* Map placeholder */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* ==========================================================================
   LEGAL PAGES (Privacy / Terms)
   ========================================================================== */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 44px;
  font-size: 14px;
  color: var(--text-muted);
}

.legal-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-meta .meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.legal-meta .meta-item strong {
  color: var(--primary);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
  margin-bottom: 18px;
  position: relative;
}

.legal-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--gradient);
}

.legal-section h3 {
  font-size: 1.1rem;
  margin: 22px 0 10px;
  color: var(--primary);
}

.legal-section p,
.legal-section li {
  color: var(--text);
  font-size: 15.5px;
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: disc;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section strong {
  color: var(--primary);
}

.legal-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--text);
}

.legal-box strong {
  color: var(--accent);
}

.legal-toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 44px;
}

.legal-toc h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.legal-toc ol {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: var(--text);
  font-size: 15px;
  transition: color var(--transition);
}

.legal-toc a:hover {
  color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--dark);
  color: #9fb0c7;
  padding: 76px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.15rem;
}

.footer-brand p {
  font-size: 14.5px;
  margin: 18px 0 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
  font-family: var(--font-head);
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  font-size: 14.5px;
  color: #9fb0c7;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
  transition: transform var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact a {
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 24px;
}

.footer-bottom .legal-links a {
  color: #8fa1b9;
  transition: color var(--transition);
}

.footer-bottom .legal-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
  z-index: 900;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .grid-3,
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--gradient-dark);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1100;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.4rem;
    color: var(--white);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .split,
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .service-detail:nth-child(even) .detail-media {
    order: 0;
  }

  .quality-banner {
    grid-template-columns: 1fr;
    padding: 44px 30px;
  }

  .quality-banner .btn {
    justify-self: start;
  }

  .hero-float--tl {
    right: 0;
  }

  .hero-float--bl {
    left: 0;
  }

  .exp-badge {
    right: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .grid-3,
  .grid-2,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .contact-info-card,
  .cta-box {
    padding: 34px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-stats {
    gap: 26px;
  }

  .stat .num {
    font-size: 1.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .legal-wrap {
    font-size: 15px;
  }
}
