/* Extras for About, Portfolio and Contact, plus the mobile menu used on every page */

/* ---------- mobile menu ---------- */
.nav-burger { display: none; width: 42px; height: 42px; margin-left: 6px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
#nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.open .nav-burger span:nth-child(2) { opacity: 0; }
#nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .btn-touch { margin-left: auto; padding: 9px 14px; font-size: 13px; }
  #nav.open { background: rgba(0,0,0,.96); }
  #nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 68px; left: 0; right: 0; padding: 22px 24px 28px; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--border); }
  #nav.open .nav-link { font-size: 17px; color: #fff; }
}
.nav-link.active { color: #fff; }
.hero-intro > * { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }

/* ---------- about ---------- */
.chain-section { background: #070707; }
.chain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; position: relative; }
.chain-card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 26px 22px; position: relative; transition: transform .3s, border-color .3s; }
.chain-card:hover { transform: translateY(-4px); border-color: rgba(248,190,126,.4); }
.chain-card span { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.chain-card h4 { font-family: "Poppins Bold", sans-serif; font-size: 22px; margin: 10px 0 8px; }
.chain-card p { font-size: 14px; color: var(--grey); line-height: 1.6; }
.chain-card:not(:last-child)::after { content: ''; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: rgba(61,220,132,.5); }
@media (max-width: 1000px) { .chain-grid { grid-template-columns: 1fr 1fr; } .chain-card::after { display: none; } }
@media (max-width: 560px) { .chain-grid { grid-template-columns: 1fr; } }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.value-card { background: linear-gradient(160deg, #0d120e, #0a0f0b); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 32px 28px; }
.value-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(61,220,132,.14); border: 1px solid #3ddc84; color: #3ddc84; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; }
.value-card h4 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--grey); line-height: 1.65; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.cf-field select { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(0,0,0,.12); border-radius: 8px; background: #fff; color: #1a1714; font: 500 14px 'DM Sans', sans-serif; outline: none; }
.cf-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(1,47,29,.12); }
.cf-error { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(255,80,60,.12); border: 1px solid rgba(255,90,70,.4); color: #ffb3a8; font-size: 14px; }
.cf-error a { text-decoration: underline; }
.cal-section { padding: 90px 0 40px; background: #060906; border-top: 1px solid rgba(255,255,255,.06); }
.cal-wrap { max-width: 980px; margin: 40px auto 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0a0f0b; }
.cal-wrap iframe { width: 100%; height: 720px; border: 0; display: block; }
.cal-fallback { display: block; text-align: center; padding: 14px; font-size: 14px; color: var(--grey); border-top: 1px solid rgba(255,255,255,.08); }
.cal-fallback:hover { color: #fff; }

/* ---------- portfolio ---------- */
.pf-hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-hero-content { position: relative; z-index: 3; text-align: center; padding: 130px 32px 70px; max-width: 980px; }
.pf-title { font-family: "Poppins Bold", sans-serif; font-size: clamp(42px, 7vw, 92px); line-height: 1.02; letter-spacing: -.02em; }
.pf-title span { color: var(--gold); }
.pf-sub { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,.72); max-width: 640px; margin: 20px auto 30px; line-height: 1.65; }
.pf-sec { padding: 90px 0 30px; background: #000; }
#cases { margin-top: 50px; display: grid; gap: 26px; }
.pf-case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, #0d120e, #090d0a); }
.pf-case.rev { grid-template-columns: 1.15fr 1fr; }
.pf-case.rev .pf-media { order: 2; }
.pf-media { position: relative; min-height: 420px; background-size: cover; background-position: center top; }
.pf-media-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%); }
.pf-media-name { position: absolute; left: 28px; bottom: 24px; font-family: "Poppins Bold", sans-serif; font-size: clamp(26px, 3vw, 38px); text-shadow: 0 4px 20px #000; }
.pf-media-grad { background: radial-gradient(circle at 30% 20%, rgba(248,190,126,.25), transparent 55%), linear-gradient(160deg, #123a1a, #07120a); }
.pf-body { padding: 38px 38px 34px; display: flex; flex-direction: column; justify-content: center; }
.pf-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pf-tags span { padding: 5px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); font-size: 12px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.04); }
.pf-body h3 { font-family: "Poppins Bold", sans-serif; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.pf-line { color: var(--grey); font-size: 17px; margin: 8px 0 24px; }
.pf-score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.03); }
.pf-score div { padding: 16px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.pf-score div:last-child { border-right: 0; }
.pf-score b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.pf-score span { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 4px; font-weight: 600; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.pf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 600; }
.pf-chip b { color: var(--gold-soft); font-weight: 700; }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: #888; display: inline-block; }
.pf-dot.instagram { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); } .pf-dot.tiktok { background: #69C9D0; } .pf-dot.youtube { background: #FF0000; }
.pf-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pf-link { font-size: 14px; font-weight: 700; color: var(--gold); }
.pf-link:hover { color: #fff; }
@media (max-width: 900px) { .pf-case, .pf-case.rev { grid-template-columns: 1fr; } .pf-case.rev .pf-media { order: 0; } .pf-media { min-height: 260px; } .pf-body { padding: 28px 22px; } .pf-score { grid-template-columns: 1fr 1fr; } .pf-score div:nth-child(2) { border-right: 0; } .pf-score div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); } }
.pf-filters { display: grid; gap: 14px; margin: 38px 0 10px; }
.pf-count { text-align: center; color: var(--grey); font-size: 14px; margin: 6px 0 22px; }
.pf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.pf-step { padding: 28px 24px; border-radius: 20px; background: var(--card); border: 1px solid rgba(255,255,255,.08); position: relative; }
.pf-step span { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.pf-step h4 { font-family: "Poppins Bold", sans-serif; font-size: 20px; margin: 10px 0 8px; }
.pf-step p { font-size: 14px; color: var(--grey); line-height: 1.6; }
@media (max-width: 900px) { .pf-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pf-steps { grid-template-columns: 1fr; } }

/* shared hero buttons and small fixes */
.about-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-about-outline { padding: 13px 28px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; cursor: pointer; display: inline-block; }
.btn-about-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.aw-card-compass { border-radius: 50%; border: 1px solid rgba(248,190,126,.4); width: 170px; height: 170px; object-fit: cover; }
.about-img-wrap { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.about-img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; filter: brightness(.85); }
.contact-hero-title { font-size: clamp(34px, 5vw, 66px); }
.pf-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.pf-mosaic i { background-size: cover; background-position: center; display: block; filter: brightness(.8); }

/* ---------- free guide CTA under the video ---------- */
.guide-cta { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; max-width: 940px; margin: 36px auto 0; padding: 26px 32px; border-radius: 24px; background: linear-gradient(135deg, rgba(1,47,29,.75), rgba(14,20,15,.9)); border: 1px solid rgba(61,220,132,.35); box-shadow: 0 30px 90px rgba(28,101,27,.22); }
.guide-cover { width: 220px; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); transform: rotate(-3deg); transition: transform .4s; }
.guide-cta:hover .guide-cover { transform: rotate(0deg) scale(1.03); }
.guide-tag { display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(248,190,126,.1); border: 1px solid rgba(248,190,126,.5); color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.guide-text h3 { font-family: "Poppins Bold", sans-serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin-bottom: 10px; }
.guide-text p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 18px; }
.btn-guide { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: #000; padding: 15px 28px; border-radius: 12px; font-size: 15px; font-weight: 700; box-shadow: 0 14px 50px rgba(61,220,132,.28); transition: transform .2s, box-shadow .2s; }
.btn-guide i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.btn-guide:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(61,220,132,.4); }
.guide-text small { display: block; margin-top: 12px; color: rgba(255,255,255,.5); font-size: 12px; }
.cta-guide { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.cta-guide a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .guide-cta { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; } .guide-cover { width: 170px; margin: 0 auto; } }

/* ---------- real tool logos ---------- */
.tool-icon-wrap { display: flex; align-items: center; justify-content: center; }
.tool-logo { width: 28px; height: 28px; object-fit: contain; display: block; }
.tool-logo.inv { filter: invert(1) brightness(2); }
img.tool-logo[src$=".png"] { width: 30px; height: 30px; }
/* ---------- About image: show the whole door and the water ---------- */
.about-img-wrap { aspect-ratio: 2 / 3; max-height: 640px; width: 100%; justify-self: center; }
.about-img { min-height: 0; height: 100%; object-fit: cover; object-position: center 62%; filter: brightness(.92); }

/* ---------- contact: what happens next ---------- */
.cf-next { margin: 0 0 22px; padding: 16px 18px; border-radius: 12px; background: rgba(28,101,27,.08); border: 1px solid rgba(28,101,27,.25); color: #1a1714; font-size: 13.5px; }
.cf-next b { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .04em; }
.cf-next ol { margin: 0; padding-left: 18px; line-height: 1.6; color: #3a342d; }
.cf-next li { margin-bottom: 3px; }

/* sections that slide content in from the side must not widen the page on phones */
section { overflow-x: clip; }
html, body { overflow-x: clip; }
