/* Good Omen Trading PLC — Design System */
:root {
  --orange: #f39221;
  --orange-dark: #d97a12;
  --green: #41ad49;
  --green-dark: #2f8f36;
  --navy: #2e3192;
  --navy-deep: #1f2268;
  --ink: #1a1d3a;
  --muted: #5a5f7a;
  --line: rgba(46, 49, 146, 0.12);
  --surface: #ffffff;
  --surface-soft: #f5faf5;
  --surface-mint: #eef7ef;
  --hero-overlay: linear-gradient(
    115deg,
    rgba(26, 29, 58, 0.88) 0%,
    rgba(46, 49, 146, 0.72) 48%,
    rgba(65, 173, 73, 0.45) 100%
  );
  --shadow-soft: 0 18px 40px rgba(26, 29, 58, 0.08);
  --radius: 14px;
  --header-h: 78px;
  --max: 1120px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--navy-deep);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  --header-h: 66px;
  box-shadow: 0 8px 28px rgba(26, 29, 58, 0.08);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--orange);
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--navy);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(243, 146, 33, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background-color: #1a1d3a;
  background-image: var(--hero-overlay), url("../assets/hero-home.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-brand .accent {
  color: var(--orange);
}

.hero-brand .leaf {
  color: #7ed987;
}

.hero-tag {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

/* Page hero (inner) */
.page-hero {
  background-color: #1f2268;
  background-image:
    linear-gradient(120deg, rgba(31, 34, 104, 0.92), rgba(65, 173, 73, 0.55)),
    url("../assets/hero-page.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  font-size: 1.08rem;
  margin: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-mint {
  background: var(--surface-mint);
}

.section-navy {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-navy p {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-head p {
  font-size: 1.05rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Feature / service blocks — interaction containers */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 173, 73, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-mint);
  color: var(--green-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 0.98rem;
}

.feature a.more {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Values / checklist */
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.value-grid .feature h3 {
  color: var(--navy);
}

.value-grid .feature h3 span {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* Vision mission */
.vm-block {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-soft);
}

.vm-block.mission {
  border-left-color: var(--green);
}

.vm-block h3 {
  font-size: 1.2rem;
}

/* Expertise chips */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Team */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f5f8;
  display: grid;
  place-items: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  image-rendering: auto;
  transition: transform 0.45s var(--ease);
}

.team-photo img[src*="anteneh"] {
  object-fit: contain;
  object-position: center center;
  background: #fff;
  padding: 0.35rem;
}

.team-card:hover .team-photo img {
  transform: scale(1.02);
}

.team-body {
  padding: 1.4rem 1.35rem 1.6rem;
  flex: 1;
}

.team-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  display: block;
}

.team-body p {
  font-size: 0.95rem;
  margin: 0;
}

.team-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
}

.team-profile .team-photo {
  border-radius: 12px;
  max-width: 280px;
  width: 100%;
}

.team-profile .team-photo img {
  object-position: center 15%;
}

.team-profile .team-role {
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: var(--muted);
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--orange);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-mint);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(65, 173, 73, 0.15);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  min-height: 1.25rem;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-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;
}

/* Service detail */
.service-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-block h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.service-block .lead {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.mt-2 {
  margin-top: 2rem;
}

.split-visual {
  border-radius: var(--radius);
  min-height: 320px;
  background-color: var(--surface-mint);
  background-image:
    linear-gradient(160deg, rgba(65, 173, 73, 0.35), rgba(46, 49, 146, 0.45)),
    url("../assets/about-visual.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2,
  .contact-grid,
  .team-profile,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .team-profile .team-photo {
    max-width: 260px;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(26, 29, 58, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
  }

  .brand-text span {
    display: none;
  }

  .grid-3,
  .grid-4,
  .grid-2-equal {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    height: auto;
    align-items: center;
  }

  .hero-inner {
    padding: 2.75rem 0 3rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    margin-bottom: 0.75rem;
  }

  .hero-tag {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  /* Mobile: only Contact Us in the hero */
  .hero .hero-btn-services {
    display: none;
  }

  .hero .btn-group {
    width: 100%;
    max-width: 18rem;
  }

  .hero .btn-group .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    font-size: 0.95rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner,
  .hero-inner {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-inner {
    padding: 2.25rem 0 2.5rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .hero .btn-group {
    max-width: none;
  }
}

/* Desktop/tablet: show both hero buttons */
@media (min-width: 801px) {
  .hero .hero-btn-contact {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    box-shadow: none;
  }

  .hero .hero-btn-contact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
  }
}
