/* =====================================================================
   Pictures4Ewe — landing page styles
   Brand blue pulled from the logo swoosh: #207FBD
   ===================================================================== */
:root {
  --blue:       #207FBD;
  --blue-dark:  #1a679a;
  --blue-light: #e8f2fa;
  --ink:        #111111;
  --ink-soft:   #444a50;
  --muted:      #6b737a;
  --line:       #e3e7ea;
  --bg:         #ffffff;
  --bg-alt:     #f6f8fa;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(17, 17, 17, .08);
  --font:       'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

/* Visually hidden but available to screen readers (form labels) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(1140px, 92%); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 42rem; margin: -0.25rem auto 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(32,127,189,.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-name strong { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-phone { color: var(--blue); text-decoration: none; font-weight: 700; }
.nav-phone:hover { text-decoration: underline; }
@media (max-width: 520px) { .nav-phone { display: none; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: end start; color: #fff; font-weight: 700;
  background-size: cover; background-position: center;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption { padding: .8rem 1rem; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
/* placeholder gradients: shown until config 'gallery_images' is filled in */
.ph-1 { background: linear-gradient(135deg, #2b6f9e, #7fbbe0); }
.ph-2 { background: linear-gradient(135deg, #5a6b78, #a8b7c2); }
.ph-3 { background: linear-gradient(135deg, #3d8bc5, #b9dcf2); }
.ph-4 { background: linear-gradient(135deg, #6a8fa3, #d0e2ec); }
.ph-5 { background: linear-gradient(135deg, #1f5f8a, #4f9bd0); }
.ph-6 { background: linear-gradient(135deg, #7e8a93, #c9d3da); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
}
.price-card h3 { margin-bottom: .2rem; }
.price { font-size: 3rem; font-weight: 800; margin: 0 0 .4rem; color: var(--ink); line-height: 1; }
.price sup { font-size: 1.4rem; vertical-align: top; margin-right: .1em; color: var(--blue); }
.blurb { color: var(--muted); min-height: 3.2em; }
.features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.features li { padding: .35rem 0 .35rem 1.5rem; position: relative; border-top: 1px dashed var(--line); }
.features li:first-child { border-top: 0; }
.features li::before { content: '\2713'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.pricing-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 2rem; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- Footer (blue band) ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 3rem 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 .3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.footer-brand { font-weight: 800; margin: .5rem 0 0; }
.footer-copy { text-align: center; opacity: .9; }
.footer-contact { text-align: right; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin-inline: auto; }
  .footer-contact { text-align: center; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: modal-in .2s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: .6rem; right: .8rem; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }
.modal-grid { display: grid; grid-template-columns: 300px 1fr; }

/* left column: centered logo + direct contact */
.modal-aside {
  background: var(--blue-light); padding: 2.25rem 1.75rem; text-align: center;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.modal-aside img { margin: 0 auto 1.25rem; }
.aside-phone { display: block; font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--ink); letter-spacing: -.01em; }
.aside-phone:hover { text-decoration: underline; }
.aside-link { display: block; text-decoration: none; font-weight: 600; color: var(--ink); word-break: break-all; margin-top: .4rem; }
.aside-link:hover { text-decoration: underline; }
.aside-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-weight: 700; margin: 1.4rem 0 .15rem; }
.aside-text { margin: 0; color: var(--ink); }

/* right column: form */
.contact-form { padding: 2rem 2rem 2.25rem; }
.form-title { text-align: center; font-size: 1.5rem; margin: 0 2rem 1.25rem; }
.form-row { margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,127,189,.18);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input.is-invalid, .contact-form textarea.is-invalid { border-color: #c62828; }
.form-services { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.form-services legend { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; padding: 0; }
.check { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-light); }
.check input { accent-color: var(--blue); margin: 0; }
.check small { color: var(--muted); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin-bottom: .75rem; font-weight: 600; font-size: .95rem; }
.form-status.ok  { color: #1b7a3a; }
.form-status.err { color: #c62828; }

@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal-dialog { max-height: 100vh; border-radius: 20px 20px 0 0; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.5rem 1.5rem 1.25rem; }
  .modal-aside img { display: none; }
  .contact-form { padding: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .form-row-2 > div { margin-bottom: 1rem; }
}

body.modal-open { overflow: hidden; }
