/* ─── Custom properties ─────────────────────────────────────────────────── */
:root {
  --navy:       #1e2633;
  --navy-dark:  #13181f;
  --navy-mid:   #27313f;
  --gold:       #e85d1a;
  --gold-light: #f07040;
  --light:      #f4f5f7;
  --white:      #f5f2ed;
  --text:       #1a202c;
  --text-muted: #6b7280;
  --border:     #e2e6ea;

  --radius:    10px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);

  --container: 1140px;
  --nav-h: 68px;
}

/* ─── Reset & base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ─── Utilities ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.bg-light { background: var(--light); }

.section {
  padding: 96px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section__header p  { font-size: 1.1rem; color: var(--text-muted); }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,93,26,.4);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
}

.btn--nav {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 22px;
  font-size: .875rem;
}
.btn--nav:hover { background: var(--gold-light); }

.btn--full { width: 100%; }

/* ─── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 1.81rem;
  font-weight: 800;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-e { color: var(--white); }
.logo-p { color: var(--gold); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__menu a:not(.btn) {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.nav__menu a:not(.btn):hover { color: var(--white); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a6e 100%);
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,93,26,.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__video.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,24,31,.90) 0%, rgba(26,39,68,.85) 60%, rgba(30,58,110,.72) 100%);
}

@media (max-width: 768px) {
  .hero__bg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { display: none; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
}

.hero__text {
  max-width: 620px;
  text-align: center;
}

.hero__tag {
  display: inline-block;
  background: rgba(201,169,78,.15);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(232,93,26,.3);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(255,255,255,.95);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.5);
  transition: color .15s, text-decoration-color .15s;
}

.hero__link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.hero__wave {
  line-height: 0;
}
.hero__wave svg {
  width: 100%;
  height: 72px;
}

/* ─── Project Types ────────────────────────────────────────────────────── */
.project-types__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--text);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.project-card__icon {
  width: 38px;
  height: 38px;
  background: rgba(26,39,68,.06);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .2s, color .2s;
}

.project-card:hover .project-card__icon {
  background: var(--gold);
  color: var(--white);
}

.project-card__icon svg { width: 19px; height: 19px; }

.project-card h3 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ─── Trust Bar ────────────────────────────────────────────────────────── */
.trust {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
}

.trust__title {
  text-align: center;
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 40px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232,93,26,.12);
  border: 1px solid rgba(232,93,26,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.trust__icon svg { width: 22px; height: 22px; }

.trust__item p {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ─── Steps ────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  padding: 36px 28px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  opacity: .8;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step__connector {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
}

.step__connector svg {
  width: 40px;
  height: 12px;
}

.steps__conclusion {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.steps__conclusion h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.steps__conclusion p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Services ─────────────────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(26,39,68,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
  transition: background .2s, color .2s;
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: var(--white);
}

.service-card__icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Founder ──────────────────────────────────────────────────────────── */
.founder {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.founder__photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
}

.founder__tag {
  display: inline-block;
  background: rgba(26,39,68,.08);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.founder__bio h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.founder__title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.founder__bio p:not(.founder__title) {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.founder__bio p + p {
  margin-top: 12px;
}

/* ─── Final CTA ────────────────────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
}

.cta-final__inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-final__inner p {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.02rem;
}

/* ─── Contact ──────────────────────────────────────────────────────────── */
.contact {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.contact__text > p {
  color: rgba(255,255,255,.72);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}

.contact__info-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact__info-item a:hover { color: var(--gold); }

/* Form */
.contact__form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form__field label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--white);
  font-family: inherit;
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.contact__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.contact__form select option {
  background: var(--navy-dark);
  color: var(--white);
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row .form__field { margin-bottom: 0; }

.form__success {
  color: #68d391;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
  padding: 12px;
  background: rgba(104,211,145,.1);
  border-radius: 8px;
  border: 1px solid rgba(104,211,145,.3);
}

.form__error {
  color: #fc8181;
  font-size: .9rem;
  text-align: center;
  margin-top: 10px;
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand p {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 280px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color .15s;
}

.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ─── Animations ───────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .project-types__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }

  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 calc(50% - 8px); max-width: calc(50% - 8px); }
  .step__connector { display: none; }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }

  .nav__menu.open { display: flex; }
  .nav__toggle   { display: flex; }

  .hero__inner {
    padding-bottom: 60px;
  }

  .hero__sub   { margin: 0 auto 32px; }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step { max-width: 100%; width: 100%; }

  .services__grid  { grid-template-columns: 1fr; }

  .founder {
    flex-direction: column;
    text-align: center;
  }
  .project-types__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner   { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols    { grid-template-columns: repeat(2, 1fr); }

  .form__row { grid-template-columns: 1fr; }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero__ctas  { flex-direction: column; align-items: stretch; }
  .footer__cols   { grid-template-columns: 1fr; }
  .contact__form  { padding: 24px; }
}