/* HMG Global Business Solutions — stylesheet */

:root {
  --navy: #0a1628;
  --navy-mid: #0f2044;
  --navy-light: #1a3060;
  --orange: #E85C0D;
  --orange-light: #ff7a2f;
  --white: #ffffff;
  --off-white: #f4f1ec;
  --gray: #8a9ab5;
  --gray-light: #c5cedf;
  --gold: #c9a84c;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: 0.02em; }
.label { font-family: 'Outfit', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; }
.section-title span { color: var(--orange); font-style: italic; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  transition: background var(--transition), backdrop-filter var(--transition);
}
nav.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,92,13,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600; color: white;
}
.nav-logo-text { font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; color: white; text-transform: uppercase; }
.nav-logo-text span { display: block; font-weight: 300; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gray-light); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { color: var(--gray-light); text-decoration: none; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--orange); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-btn {
  background: transparent; border: 1px solid rgba(232,92,13,0.4);
  color: var(--orange); cursor: pointer; font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  padding: 6px 16px; border-radius: 2px; transition: all 0.3s; text-transform: uppercase;
}
.lang-btn:hover { background: var(--orange); color: white; }

.nav-cta {
  background: var(--orange); color: white; text-decoration: none;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  padding: 9px 22px; border-radius: 2px; text-transform: uppercase; transition: all 0.3s;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

/* ── HERO ── */
#hero {
  height: 100vh; min-height: 700px; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #040d1a 0%, #0a1628 40%, #0f2044 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: 
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,92,13,0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(10,22,40,0.9) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--gray) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  background: url('../images/hero-bg.jpg') center/cover;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(10,22,40,0.6) 40%, rgba(10,22,40,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 0 5%;
  max-width: 620px; animation: heroIn 1.2s ease forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-label { margin-bottom: 1.5rem; }
.hero-label::after { content: ''; display: block; width: 40px; height: 2px; background: var(--orange); margin-top: 10px; }
.hero-title { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; margin-bottom: 1.5rem; font-weight: 300; }
.hero-title strong { display: block; color: var(--orange); font-style: italic; font-weight: 300; white-space: nowrap; }
.hero-tagline { font-size: clamp(0.9rem, 1.5vw, 1.05rem); color: var(--gray-light); line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: white; text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 2px; border: none; cursor: pointer;
  transition: all 0.3s; display: inline-block;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,92,13,0.35); }
.btn-outline {
  background: transparent; color: white; text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 13px 32px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.3s; display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.hero-stats {
  position: absolute; bottom: 48px; left: 5%;
  display: flex; gap: 3rem; z-index: 2;
}
.stat-item { border-left: 2px solid var(--orange); padding-left: 1rem; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; line-height: 1; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }

/* ── SECTIONS ── */
section { padding: 100px 5%; position: relative; overflow: hidden; }
.section-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.section-header { margin-bottom: 60px; }

/* ── ABOUT ── */
#about { background: var(--navy-mid); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual-stack { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/3;
  background: url('../images/about-main.jpg') center/cover;
  border-radius: 4px;
}
.about-img-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 50%; aspect-ratio: 1;
  background: url('../images/about-accent.jpg') center/cover;
  border-radius: 4px;
  border: 4px solid var(--navy-mid);
}
.about-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--orange); padding: 24px;
  text-align: center; border-radius: 4px;
}
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; line-height: 1; }
.about-badge-text { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }
.about-text .section-title { margin: 16px 0 24px; }
.about-text p { color: var(--gray-light); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.about-pillars { display: flex; gap: 2rem; margin-top: 2rem; }
.pillar { border-top: 2px solid var(--orange); padding-top: 1rem; }
.pillar-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--orange); line-height: 1; }
.pillar-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }

/* ── SERVICES ── */
#services { background: var(--navy); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.service-card {
  position: relative; overflow: hidden; cursor: pointer;
  transition: all var(--transition);
}
.service-card-img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card:nth-child(1) .service-card-img { background: url('../images/service-steel.jpg') center/cover; }
.service-card:nth-child(2) .service-card-img { background: url('../images/service-logistics.jpg') center/cover; }
.service-card:nth-child(3) .service-card-img { background: url('../images/service-business.jpg') center/cover; }
.service-card-img { height: 380px; }
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.98) 40%, rgba(10,22,40,0.3) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem;
  transition: background var(--transition);
}
.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(10,22,40,1) 50%, rgba(10,22,40,0.5) 100%);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.2rem;
}
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; margin-bottom: 0.75rem; }
.service-desc { font-size: 0.82rem; color: var(--gray-light); line-height: 1.7; margin-bottom: 1rem; }
.service-list { list-style: none; }
.service-list li {
  font-size: 0.75rem; color: var(--gray); padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
}
.service-list li::before { content: '—'; color: var(--orange); flex-shrink: 0; }
.service-cta-row { text-align: center; margin-top: 50px; }

/* ── APPROACH ── */
#approach { background: var(--navy-mid); }
.steps-track {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.steps-track::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.step-item { text-align: center; position: relative; padding: 0 1rem; }
.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--orange);
  transition: all 0.3s;
}
.step-item:hover .step-circle { background: var(--orange); color: white; }
.step-num {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; background: var(--navy);
  border-radius: 50%; font-size: 0.6rem; font-weight: 700;
  color: var(--gray); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.step-desc { font-size: 0.72rem; color: var(--gray); line-height: 1.6; }
.commitment-box {
  margin-top: 60px; padding: 40px; background: rgba(232,92,13,0.08);
  border: 1px solid rgba(232,92,13,0.2); border-radius: 4px;
  display: flex; align-items: flex-start; gap: 2rem;
}
.commitment-icon { font-size: 2rem; flex-shrink: 0; margin-top: 4px; }
.commitment-text h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; margin-bottom: 8px; }
.commitment-text p { color: var(--gray-light); font-size: 0.88rem; line-height: 1.7; }

/* ── WHY CHOOSE ── */
#why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.why-card {
  padding: 2rem; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px; transition: all 0.3s; position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--orange);
  transform: scaleY(0); transition: transform 0.3s; transform-origin: bottom;
}
.why-card:hover { border-color: rgba(232,92,13,0.3); background: rgba(232,92,13,0.04); }
.why-card:hover::before { transform: scaleY(1); }
.why-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.why-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 0.75rem; }
.why-text { font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; }

/* ── COVERAGE ── */
#coverage { background: var(--navy-mid); }
.coverage-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-top: 60px;
}
.coverage-map {
  position: relative; aspect-ratio: 4/3;
  background: url('../images/coverage-map.jpg') center/cover;
  border-radius: 4px; overflow: hidden;
}
.coverage-map::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85), rgba(232,92,13,0.2));
}
.map-pin {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: 8px;
}
.map-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,92,13,0.3), 0 0 0 8px rgba(232,92,13,0.1);
  animation: pulse 2s infinite;
}
.map-dot.hq { width: 16px; height: 16px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,92,13,0.3), 0 0 0 8px rgba(232,92,13,0.1); }
  50% { box-shadow: 0 0 0 6px rgba(232,92,13,0.4), 0 0 0 14px rgba(232,92,13,0.15); }
}
.map-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.map-label span { display: block; font-size: 0.55rem; color: var(--orange); }
.pin-djibouti { bottom: 40%; left: 58%; }
.pin-eth { bottom: 52%; left: 52%; }
.pin-somalia { bottom: 40%; left: 68%; }
.pin-kenya { bottom: 28%; left: 52%; }
.coverage-list { }
.coverage-region {
  padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: flex-start; gap: 1.5rem;
}
.region-flag {
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.region-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 4px; }
.region-role { font-size: 0.7rem; color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase; }
.region-desc { font-size: 0.8rem; color: var(--gray); margin-top: 6px; line-height: 1.6; }

/* ── QUOTATION ── */
#quotation { background: var(--navy); }
.quote-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 60px; }
.quote-service-cats { }
.cat-tabs { display: flex; gap: 0; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.cat-tab {
  flex: 1; padding: 12px; text-align: center;
  background: transparent; border: none; color: var(--gray); cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.3s; border-right: 1px solid rgba(255,255,255,0.1);
}
.cat-tab:last-child { border-right: none; }
.cat-tab.active { background: var(--orange); color: white; }
.cat-tab:hover:not(.active) { background: rgba(255,255,255,0.05); color: white; }
.cat-content { display: none; }
.cat-content.active { display: block; }
.cat-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 1rem; }
.cat-items { list-style: none; }
.cat-items li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem; color: var(--gray-light);
  cursor: pointer; transition: color 0.2s;
}
.cat-items li:hover { color: white; }
.cat-items li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* Quotation Form */
.quote-form-wrap {
  background: var(--navy-mid); border: 1px solid rgba(232,92,13,0.15);
  border-radius: 4px; padding: 2.5rem;
}
.quote-form-header { margin-bottom: 2rem; }
.quote-form-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; }
.quote-form-header p { color: var(--gray); font-size: 0.82rem; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 11px 14px; color: white;
  font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  transition: border-color 0.3s; outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }
.file-upload {
  border: 1px dashed rgba(255,255,255,0.15); border-radius: 3px;
  padding: 20px; text-align: center; cursor: pointer;
  transition: border-color 0.3s; background: rgba(255,255,255,0.02);
}
.file-upload:hover { border-color: var(--orange); }
.file-upload-icon { font-size: 1.5rem; margin-bottom: 8px; }
.file-upload-text { font-size: 0.75rem; color: var(--gray); }
.file-upload-text span { color: var(--orange); cursor: pointer; }
.file-upload input { display: none; }
.form-submit { margin-top: 1.5rem; text-align: right; }
.btn-submit {
  background: var(--orange); color: white; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 14px 40px; border-radius: 2px; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-submit:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,92,13,0.35); }

/* ── CONTACT ── */
#contact { background: var(--navy-mid); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-top: 60px; }
.contact-info { }
.contact-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic;
  font-weight: 300; line-height: 1.5; color: var(--gray-light); margin-bottom: 2.5rem;
  border-left: 3px solid var(--orange); padding-left: 1.5rem;
}
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(232,92,13,0.3); display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem; flex-shrink: 0; color: var(--orange);
}
.contact-detail-text { font-size: 0.85rem; color: var(--gray-light); line-height: 1.6; }
.contact-detail-text strong { display: block; color: white; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.hours-box {
  margin-top: 2rem; padding: 1.5rem; background: rgba(232,92,13,0.06);
  border: 1px solid rgba(232,92,13,0.15); border-radius: 4px;
}
.hours-title { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.hours-text { font-size: 0.85rem; color: var(--gray-light); }
.contact-form-card { background: var(--navy); border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; padding: 2.5rem; }
.contact-form-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 1.5rem; }

/* ── FOOTER ── */
footer {
  background: #040d1a; border-top: 1px solid rgba(232,92,13,0.15);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; max-width: 1280px; margin: 0 auto 40px; }
.footer-brand h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; margin-bottom: 8px; }
.footer-brand p { color: var(--gray); font-size: 0.8rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.8rem; color: var(--gray); transition: all 0.3s;
}
.social-link:hover { border-color: var(--orange); color: var(--orange); }
.footer-nav h5 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.2rem; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul li a { color: var(--gray); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-nav ul li a:hover { color: white; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .ico { color: var(--orange); font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { color: var(--gray); font-size: 0.8rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 30px;
  display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto;
}
.footer-bottom p { color: var(--gray); font-size: 0.72rem; }
.footer-mark { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark { width: 32px; height: 32px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond'; font-size: 0.9rem; font-weight: 600; color: white; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,22,40,0.99); backdrop-filter: blur(20px); z-index: 999;
  flex-direction: column; padding: 2rem 5%; gap: 1rem;
  border-top: 1px solid rgba(232,92,13,0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: white; text-decoration: none; font-size: 1.2rem; font-weight: 300; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu .lang-btn { margin-top: 1rem; align-self: flex-start; }

/* ── SUCCESS MSG ── */
.success-msg {
  display: none; text-align: center; padding: 2rem;
  color: var(--orange); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid, .why-grid, .coverage-wrap, .contact-layout, .quote-intro { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 280px; }
  .steps-track { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-img-accent { display: none; }
  .hero-img { width: 100%; clip-path: none; opacity: 0.2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 5%; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .steps-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cat-tabs { flex-direction: column; }
  .cat-tab { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .about-pillars { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-title strong { white-space: normal; }
}

/* ─────────────────────────────────────────────
   ENHANCED MOTION SYSTEM (anime.js)
   ───────────────────────────────────────────── */

/* ── CUSTOM CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  mix-blend-mode: normal;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(232,92,13,0.55);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1),
              height 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease,
              background 0.35s ease;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: rgba(255,255,255,0.7);
  background: rgba(232,92,13,0.06);
}
.cursor-ring.is-press {
  width: 28px; height: 28px;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── PROGRESS BAR (top scroll indicator) ── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 1100;
  box-shadow: 0 0 8px rgba(232,92,13,0.5);
}

/* ── INITIAL STATES (only after JS init, so no flash if JS fails) ── */
body.js-ready .reveal { opacity: 0; transform: translateY(40px); transition: none; }
body.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }

body.js-ready .hero-content { opacity: 1; animation: none; }
body.js-ready .hero-label,
body.js-ready .hero-tagline,
body.js-ready .hero-ctas > *,
body.js-ready .hero-stats > * { opacity: 0; }

body.js-ready .hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  will-change: transform, opacity;
}
body.js-ready .hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }

/* Section title spans (already block-able in markup) */
.section-title span,
.section-title em { display: inline-block; }
body.js-ready .section-title span,
body.js-ready .section-title em {
  opacity: 0; transform: translateY(28px);
}
body.js-ready .section-header.in-view .section-title span,
body.js-ready .section-header.in-view .section-title em {
  /* anime.js will set these inline */
}

/* Service / why cards initial */
body.js-ready .service-card,
body.js-ready .why-card,
body.js-ready .step-item,
body.js-ready .coverage-region,
body.js-ready .form-group,
body.js-ready .pillar,
body.js-ready .stat-item { will-change: transform, opacity; }

/* ── HOVER REFINEMENTS ── */
.btn-primary, .btn-outline, .nav-cta, .btn-submit, .lang-btn {
  position: relative; overflow: hidden;
}
.btn-primary::after, .btn-submit::after, .nav-cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.btn-primary:hover::after, .btn-submit:hover::after, .nav-cta:hover::after {
  transform: translateX(110%);
}

/* Magnetic-ready buttons */
.magnetic { display: inline-block; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); will-change: transform; }

/* Service card refined hover (motion-led, not heavy) */
.service-card { transform: translateZ(0); }
.service-card .service-overlay { transform: translateY(0); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.service-card .service-icon { transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

/* Underline reveal for nav links */
.nav-links a { position: relative; }
.nav-links a::before {
  content: ''; position: absolute; bottom: -4px; left: 0;
  height: 1px; width: 100%; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover::before { transform: scaleX(1); transform-origin: left; }

/* Form input focus refined */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.4s cubic-bezier(0.16,1,0.3,1),
              background 0.4s cubic-bezier(0.16,1,0.3,1),
              transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,0.06);
}
.form-group label {
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.form-group:focus-within label {
  color: var(--orange-light);
  letter-spacing: 0.2em;
}

/* SVG decorative line (drawn on scroll) */
.svg-flourish {
  position: absolute; pointer-events: none;
  z-index: 0; opacity: 0.35;
}
.svg-flourish path {
  stroke: var(--orange); stroke-width: 1; fill: none;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
}
.flourish-hero { right: 4%; top: 20%; width: 180px; height: 180px; }
.flourish-about { left: -40px; top: 30%; width: 120px; height: 120px; opacity: 0.25; }
.flourish-services { right: 5%; top: 50px; width: 160px; height: 60px; opacity: 0.3; }

/* Step circle SVG ring */
.step-svg-ring {
  position: absolute; inset: -2px;
  border-radius: 50%; pointer-events: none;
}
.step-svg-ring circle {
  fill: none; stroke: var(--orange); stroke-width: 1.5;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transform: rotate(-90deg); transform-origin: center;
}

/* Lang transition wrapper */
.lang-wrap { transition: opacity 0.25s ease; }
.lang-wrap.is-changing { opacity: 0.2; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .cursor-dot, .cursor-ring, .scroll-progress, .svg-flourish { display: none !important; }
  body.js-ready .reveal,
  body.js-ready .hero-label,
  body.js-ready .hero-tagline,
  body.js-ready .hero-ctas > *,
  body.js-ready .hero-stats > *,
  body.js-ready .hero-title .char,
  body.js-ready .section-title span,
  body.js-ready .section-title em {
    opacity: 1 !important; transform: none !important;
  }
}
