/* Better Memories Photography — B2B landing page (team & corporate headshots)
   Standalone look: Open Sans, deep teal, clean corporate layout. */
:root {
  --teal: #32788C;
  --deep: #163c47;
  --deep-2: #1d4c59;
  --sky: #B3E3F1;
  --tint: #f2f8fa;
  --ink: #17262b;
  --muted: #51646a;
  --line: #dbe7eb;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.hp { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; }
.b2b-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.b2b-narrow { max-width: 780px; }

.b2b-btn { display: inline-block; background: var(--sky); color: var(--deep); font-weight: 700; text-decoration: none; padding: .85em 1.6em; border-radius: 6px; border: 2px solid var(--sky); transition: transform .15s, background .2s; }
.b2b-btn:hover { background: #fff; border-color: #fff; color: var(--deep); transform: translateY(-1px); }
.b2b-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.b2b-btn-ghost:hover { background: #fff; color: var(--deep); }
.b2b-btn-light { padding: .6em 1.2em; font-size: .9rem; }

/* Top bar */
.b2b-top { background: var(--deep); }
.b2b-top-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.b2b-logo img { width: 190px; height: auto; }

/* Hero */
.b2b-hero { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 60%, var(--teal) 140%); color: #fff; }
.b2b-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.b2b-hero h1 { color: #fff; }
.b2b-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--sky); }
.b2b-lead { font-size: 1.12rem; color: #dcebf0; max-width: 600px; }
.b2b-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.b2b-hero-img img { border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.b2b-trust { background: rgba(0,0,0,.18); color: #e6f2f5; font-size: .95rem; padding: 14px 0; text-align: center; }
.b2b-trust span { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--sky); margin-right: .6em; }
@media (max-width: 860px) { .b2b-hero-grid { grid-template-columns: 1fr; } .b2b-logo img { width: 150px; } }

/* Sections */
.b2b-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.b2b-section > .b2b-wrap > h2 { text-align: center; margin-bottom: 2rem; }
.b2b-tint { background: var(--tint); }
.b2b-dark { background: var(--deep); color: #e6f2f5; }
.b2b-dark h2, .b2b-dark h3 { color: #fff; }

.b2b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b2b-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; padding: 1.6rem; }
.b2b-card p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .b2b-cards { grid-template-columns: 1fr; } }

.b2b-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.b2b-service { display: flex; gap: 16px; background: #fff; border-radius: 8px; padding: 1.4rem; border: 1px solid var(--line); }
.b2b-service p { color: var(--muted); margin: 0; }
.b2b-num { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 760px) { .b2b-services { grid-template-columns: 1fr; } }

.b2b-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.b2b-gallery .gallery-item { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; cursor: zoom-in; background: var(--tint); }
.b2b-gallery picture, .b2b-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .4s; }
.b2b-gallery .gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .b2b-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.b2b-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b2b-steps li { counter-increment: s; position: relative; padding-top: 3rem; }
.b2b-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--deep); font-weight: 800; display: grid; place-items: center; }
.b2b-steps p { color: #c9dde3; margin: 0; }
@media (max-width: 860px) { .b2b-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .b2b-steps { grid-template-columns: 1fr; } }

.b2b-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.b2b-quotes figure { margin: 0; background: var(--tint); border-radius: 8px; padding: 1.6rem; }
.b2b-quotes blockquote { margin: 0 0 .8rem; font-size: 1rem; }
.b2b-quotes figcaption { font-weight: 700; color: var(--teal); }
@media (max-width: 800px) { .b2b-quotes { grid-template-columns: 1fr; } }

.b2b-about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.b2b-about-img img { border-radius: 8px; width: 100%; max-width: 300px; }
@media (max-width: 760px) { .b2b-about { grid-template-columns: 1fr; } .b2b-about-img img { max-width: 240px; } }

.b2b-faq { border-bottom: 1px solid var(--line); }
.b2b-faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.b2b-faq summary::-webkit-details-marker { display: none; }
.b2b-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.4rem; }
.b2b-faq[open] summary::after { content: "–"; }
.b2b-faq div { color: var(--muted); padding-bottom: 1rem; }

/* Quote form */
.b2b-quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.b2b-quote-grid .b2b-lead { color: #c9dde3; }
.b2b-link-light { color: var(--sky); font-weight: 600; }
.b2b-contact-lines a { color: #fff; text-decoration: none; }
.contact-form { background: #fff; color: var(--ink); border-radius: 10px; padding: clamp(1.2rem, 4vw, 2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 5px; padding: .7em .8em; font: inherit; font-weight: 400; border: 1px solid #b9cdd3; border-radius: 6px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--sky); border-color: var(--teal); }
.contact-form .btn { width: 100%; background: var(--teal); color: #fff; border: 0; border-radius: 6px; padding: .95em; font: inherit; font-weight: 700; cursor: pointer; }
.contact-form .btn:hover { background: var(--deep); }
.form-status { font-weight: 600; margin: .8rem 0 0; }
.form-status.err { color: #a33; }
@media (max-width: 860px) { .b2b-quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.b2b-footer { background: #0f2c34; color: #9fbcc5; font-size: .9rem; padding: 1.4rem 0; text-align: center; }
.b2b-footer p { margin: .2rem 0; }
.b2b-back a { color: var(--sky); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,18,22,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #cfe3ea; font-size: .85rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.contact-form ::placeholder { color: #9a9a9a; font-size: .92em; line-height: 1.6; }
