/* ============================================================
   NetPartners — corporate site design system
   Refined editorial / floral-premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand palette (from the 3-square mark) */
  --ink:        #16313A;   /* deep teal-navy  */
  --ink-2:      #21454f;
  --ink-soft:   #466069;
  --crimson:    #B23E51;   /* rose-crimson    */
  --crimson-dk: #8f2f40;
  --gold:       #C7B587;   /* khaki-gold      */
  --gold-dk:    #a8966a;

  --cream:      #FAF5EC;
  --cream-2:    #F3EADB;
  --cream-3:    #EBDFCB;
  --paper:      #FFFFFF;
  --line:       #e4d8c4;
  --muted:      #6c7a7e;

  --shadow-sm: 0 1px 2px rgba(22,49,58,.06), 0 4px 14px rgba(22,49,58,.05);
  --shadow-md: 0 10px 40px rgba(22,49,58,.10);
  --shadow-lg: 0 30px 80px rgba(22,49,58,.16);

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);

  --serif: 'Cormorant', Georgia, serif;
  --sans:  'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--crimson); color: #fff; }
::-moz-selection { background: var(--crimson); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--crimson);
  display: inline-block;
}
.eyebrow.gold { color: var(--gold-dk); }
.eyebrow.gold::before { background: var(--gold-dk); }
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 10px 26px rgba(178,62,81,.28); }
.btn-primary:hover { background: var(--crimson-dk); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--gold); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,245,236,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,216,196,.7);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand .mark { width: 34px; height: 34px; display: block; flex: 0 0 auto; }
.brand .mark .np-mark { width: 100%; height: 100%; display: block; }
.brand .squares { display: grid; grid-template-columns: repeat(3, 13px); gap: 4px; }
.brand .squares i { width: 13px; height: 13px; display: block; border-radius: 2px; }
.brand .squares i:nth-child(1) { background: var(--ink); }
.brand .squares i:nth-child(2) { background: var(--crimson); transform: rotate(12deg); }
.brand .squares i:nth-child(3) { background: var(--gold); }
.brand .wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.30em;
  color: var(--ink);
  padding-left: 2px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--crimson); transition: right .3s cubic-bezier(.2,.8,.2,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); display: flex; gap: 7px; }
.lang b { color: var(--ink); }
.lang span { cursor: pointer; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle i { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(64px, 9vw, 130px); }
.pad-t { padding-top: clamp(64px, 9vw, 130px); }
.pad-b { padding-bottom: clamp(64px, 9vw, 130px); }

.bg-cream2 { background: var(--cream-2); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-paper { background: var(--paper); }

.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lead, .bg-ink p { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.two { grid-template-columns: 1fr 1fr; }
.split-7-5 { grid-template-columns: 1.35fr 1fr; }
.split-5-7 { grid-template-columns: 1fr 1.35fr; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.center-align { align-items: center; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow.center, .section-head.center .eyebrow { justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--cream-2); color: var(--crimson);
}
.card h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; margin-bottom: 10px; line-height: 1.12; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

/* image slots */
image-slot { box-shadow: var(--shadow-md); }
.img-tag {
  position: absolute; z-index: 3;
  background: var(--paper); border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.site-footer a { color: rgba(255,255,255,.7); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer .brand .wordmark { color: #fff; }
.site-footer .brand .squares i:nth-child(1){ background:#fff; }
.footer-about { max-width: 320px; font-size: 15px; line-height: 1.7; margin-top: 16px; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); margin: 18px 0 0; line-height: 1.3; }
.footer-slogan span { display:block; font-family: var(--sans); font-style: normal; font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.5); margin-top: 2px; }
.sub-footer { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.1; letter-spacing: -0.015em; max-width: 14em; }
.page-hero h1 em { font-style: italic; color: var(--crimson); }
.page-hero .lead { margin-top: 22px; max-width: 36em; }
.breadcrumb { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--crimson); }

/* prose */
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.prose p:first-of-type { font-size: 19px; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 14px; line-height: 1.12; }
.signature { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); margin-top: 28px; }
.signature b { display:block; font-style: normal; font-family: var(--sans); font-size: 14px; font-weight:700; letter-spacing:.04em; color:var(--muted); margin-top:4px; }

.media-frame { width: 100%; aspect-ratio: 4/5; border-radius: 20px; box-shadow: var(--shadow-md); }
.media-frame.wide { aspect-ratio: 4/3; }

/* quote */
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.32; color: var(--ink); }
.quote-cite { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--crimson); margin-top: 22px; display:block; }

/* numbered steps */
.step { display:flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--crimson); line-height: 1; flex: 0 0 auto; width: 56px; }
.step h4 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; max-width: 44em; }

/* tag list */
.cities { display:flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cities span { font-size: 14px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink-soft); }

/* contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); }
@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; } }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.field label { font-size:13px; font-weight:700; letter-spacing:.03em; color:var(--ink-soft); }
.field input, .field textarea { font-family: var(--sans); font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(178,62,81,.10); }
.contact-detail { display:flex; gap:16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items:flex-start; }
.contact-detail .ci { width:44px; height:44px; flex:0 0 auto; border-radius:11px; background:var(--cream-2); color:var(--crimson); display:grid; place-items:center; font-size:18px; }
.contact-detail .k { font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.contact-detail .v { font-size:17px; font-weight:600; color:var(--ink); }
.contact-detail .v a:hover { color: var(--crimson); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .two, .split-7-5, .split-5-7, .three, .four, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 44px; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: flex; flex-direction: column; padding: 28px var(--gut);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.mobile-nav.open { transform: none; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; margin-top: 50px; }
.mobile-nav nav a { font-family: var(--serif); font-size: 34px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .close { background: none; border: 0; font-size: 30px; cursor: pointer; color: var(--ink); }
