/* ============================================================
   MARSK Growth Partners — Master Stylesheet
   ============================================================ */

:root {
  --orange: #F07030;
  --orange-hover: #D8602A;
  --blue: #5B8EC7;
  --blue-hover: #4A7DB6;
  --navy: #111827;
  --near-black: #1A1A1A;
  --off-white: #F8F7F5;
  --white: #FFFFFF;
  --light-gray: #EEECEB;
  --mid-gray: #AAAAAA;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-weight: 400; line-height: 1.7; color: var(--near-black); background-color: var(--off-white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { max-width: 68ch; }

/* === LAYOUT === */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-md); }
.section { padding: var(--sp-2xl) 0; }
.section--navy { background-color: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--white { background-color: var(--white); }
.section--offwhite { background-color: var(--off-white); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); background-color: var(--navy); border-bottom: 3px solid var(--orange); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--white); letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.nav__brand .accent { color: var(--orange); }
.nav__logo { width: 36px; height: 36px; background-color: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: var(--white); }
.nav__links { display: none; align-items: center; gap: var(--sp-lg); }
.nav__links a { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75); letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.2s; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--orange); transition: width 0.2s; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta { font-family: var(--font-heading) !important; font-size: 0.85rem !important; font-weight: 600 !important; color: var(--white) !important; background-color: var(--orange) !important; padding: 0.55rem 1.3rem !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; transition: background-color 0.2s !important; }
.nav__cta::after { display: none !important; }
.nav__cta:hover { background-color: var(--orange-hover) !important; }

.nav__toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background-color: var(--white); transition: transform 0.3s, opacity 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: var(--navy); padding: var(--sp-lg) var(--sp-md); z-index: 999; }
.nav__mobile.open { display: flex; flex-direction: column; gap: var(--sp-md); }
.nav__mobile a { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: rgba(255,255,255,0.8); padding: var(--sp-sm) 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: color 0.2s; }
.nav__mobile a:hover, .nav__mobile a.active { color: var(--orange); }
.nav__mobile .nav__cta { display: inline-block !important; text-align: center; margin-top: var(--sp-sm); padding: 0.75rem 1.5rem !important; border-bottom: none !important; }

@media (min-width: 768px) { .nav__links { display: flex; } .nav__toggle { display: none; } }

/* === HERO === */
.hero { background-color: var(--navy); padding-top: calc(var(--nav-height) + var(--sp-2xl)); padding-bottom: var(--sp-2xl); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; border: 2px solid rgba(240, 112, 48, 0.08); transform: rotate(45deg); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border: 2px solid rgba(91, 142, 199, 0.06); transform: rotate(25deg); pointer-events: none; }
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__label { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orange); margin-bottom: var(--sp-md); display: flex; align-items: center; gap: 0.75rem; }
.hero__label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--orange); }
.hero__title { color: var(--white); margin-bottom: var(--sp-md); font-weight: 800; }
.hero__title .highlight { color: var(--orange); }
.hero__subtitle { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: var(--sp-lg); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

/* === BUTTONS === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.85rem 2rem; transition: all 0.2s; cursor: pointer; border: none; text-align: center; }
.btn--primary { background-color: var(--orange); color: var(--white); }
.btn--primary:hover { background-color: var(--orange-hover); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline-dark:hover { background-color: var(--navy); color: var(--white); }

/* === SECTION HEADERS === */
.section-header { margin-bottom: var(--sp-xl); }
.section-header__label { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orange); margin-bottom: var(--sp-xs); display: flex; align-items: center; gap: 0.75rem; }
.section-header__label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--orange); }
.section-header__title { margin-bottom: var(--sp-sm); }
.section-header__desc { color: var(--mid-gray); font-size: 1.05rem; max-width: 600px; }
.section--navy .section-header__desc { color: rgba(255,255,255,0.6); }

/* === CARDS === */
.card { background: var(--white); padding: var(--sp-lg); border: 1px solid var(--light-gray); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06); }
.card--accent { border-top: 3px solid var(--orange); }
.card--navy { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.card--navy:hover { background: rgba(255,255,255,0.07); box-shadow: none; transform: translateY(-2px); }
.card--navy h3, .card--navy h4 { color: var(--white); }
.card--navy p { color: rgba(255,255,255,0.6); }
.card__icon { width: 48px; height: 48px; background: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-md); color: var(--white); font-size: 1.25rem; font-weight: 800; font-family: var(--font-heading); }
.card__icon--blue { background: var(--blue); }
.card__number { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; color: var(--orange); line-height: 1; margin-bottom: var(--sp-sm); opacity: 0.2; }
.card h3 { margin-bottom: var(--sp-xs); }
.card h4 { margin-bottom: var(--sp-xs); }
.card p { color: var(--mid-gray); font-size: 0.95rem; line-height: 1.7; }

/* === PAIN LIST === */
.pain-list { display: grid; grid-template-columns: 1fr; gap: var(--sp-sm); }
.pain-list__item { display: flex; align-items: flex-start; gap: var(--sp-sm); padding: var(--sp-sm) 0; }
.pain-list__icon { min-width: 8px; height: 8px; background: var(--orange); margin-top: 8px; flex-shrink: 0; }
@media (min-width: 768px) { .pain-list { grid-template-columns: 1fr 1fr; } }

/* === CTA BANNER === */
.cta-banner { background: var(--navy); padding: var(--sp-xl) 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.cta-banner h2 { color: var(--white); margin-bottom: var(--sp-sm); }
.cta-banner p { color: rgba(255,255,255,0.6); margin: 0 auto var(--sp-lg); max-width: 500px; }

/* === IMAGE PLACEHOLDER === */
.img-placeholder { background: var(--light-gray); display: flex; align-items: center; justify-content: center; min-height: 280px; color: var(--mid-gray); font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--light-gray); }
.img-placeholder--navy { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); }

/* === PAGE HEADER (inner pages) === */
.page-header { background: var(--navy); padding-top: calc(var(--nav-height) + var(--sp-xl)); padding-bottom: var(--sp-xl); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border: 2px solid rgba(240, 112, 48, 0.06); transform: rotate(45deg); pointer-events: none; }
.page-header__label { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orange); margin-bottom: var(--sp-sm); display: flex; align-items: center; gap: 0.75rem; }
.page-header__label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--orange); }
.page-header h1 { color: var(--white); margin-bottom: var(--sp-sm); }
.page-header p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; }

/* === VALUES === */
.values-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-item { display: flex; gap: var(--sp-md); align-items: flex-start; }
.value-item__marker { min-width: 4px; align-self: stretch; background: var(--orange); }
.value-item h4 { color: var(--navy); margin-bottom: 0.25rem; }
.value-item p { color: var(--mid-gray); font-size: 0.95rem; }

/* === FLAGSHIP === */
.flagship { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); align-items: start; }
@media (min-width: 768px) { .flagship { grid-template-columns: 1fr 1fr; } }
.flagship__features { display: flex; flex-direction: column; gap: var(--sp-sm); }
.flagship__feature { display: flex; align-items: flex-start; gap: var(--sp-sm); }
.flagship__check { min-width: 20px; height: 20px; background: var(--orange); display: flex; align-items: center; justify-content: center; margin-top: 2px; flex-shrink: 0; }
.flagship__check svg { width: 12px; height: 12px; fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: square; }

/* === PROCESS === */
.process { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
.process__step { display: flex; gap: var(--sp-md); align-items: flex-start; padding: var(--sp-md); background: var(--white); border: 1px solid var(--light-gray); }
.process__num { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--orange); min-width: 40px; line-height: 1; padding-top: 2px; }
.process__step h4 { color: var(--navy); margin-bottom: 0.25rem; }
.process__step p { color: var(--mid-gray); font-size: 0.9rem; }
@media (min-width: 768px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info__item { display: flex; align-items: flex-start; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.contact-info__icon { min-width: 40px; height: 40px; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.contact-info__text h4 { color: var(--navy); margin-bottom: 0.15rem; }
.contact-info__text p, .contact-info__text a { color: var(--mid-gray); font-size: 0.95rem; }
.contact-info__text a:hover { color: var(--orange); }

.contact-form { background: var(--white); padding: var(--sp-lg); border: 1px solid var(--light-gray); }
.contact-form .form-group { margin-bottom: var(--sp-md); }
.contact-form label { display: block; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.95rem; color: var(--near-black); border: 1px solid var(--light-gray); background: var(--off-white); outline: none; transition: border-color 0.2s; border-radius: 0; -webkit-appearance: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* === FOOTER === */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: var(--sp-xl) 0 var(--sp-md); border-top: 3px solid var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); margin-bottom: var(--sp-xl); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--white); margin-bottom: var(--sp-sm); }
.footer__brand .accent { color: var(--orange); }
.footer__desc { font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.footer__heading { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: var(--sp-sm); }
.footer__links a, .footer__links span { display: block; font-size: 0.9rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: var(--sp-md); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-sm); font-size: 0.8rem; }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .section { padding: var(--sp-xl) 0; }
  .hero { padding-top: calc(var(--nav-height) + var(--sp-xl)); padding-bottom: var(--sp-xl); }
  .hero__title { font-size: 2rem; }
  .btn { width: 100%; text-align: center; }
  .hero__actions { flex-direction: column; }
}
