/* Something Beautiful Civil Ceremonies — PHP port stylesheet
 *  All colors via CSS vars.
 */
:root {
  --background: #fdf8fa;
  --foreground: #2a1f33;
  --card: #ffffff;
  --muted: #f1eaf2;
  --muted-foreground: #6e6177;
  --border: #e8dde9;
  --primary: #8a4fb5;
  --primary-foreground: #ffffff;
  --primary-glow: #c89bdf;
  --rose: #d869a3;
  --sky: #7ab8e0;
  --accent: #ecd6f0;
  --gradient-brand: linear-gradient(135deg, #d869a3, #8a4fb5, #7ab8e0);
  --gradient-soft: linear-gradient(180deg, #fdf8fa, #f4ebf6);
  --gradient-hero: linear-gradient(135deg, rgba(138,79,181,0.55), rgba(216,105,163,0.45) 50%, rgba(122,184,224,0.55));
  --shadow-soft: 0 10px 40px -10px rgba(138,79,181,0.25);
  --shadow-elegant: 0 20px 60px -20px rgba(138,79,181,0.35);
  --radius: 0.875rem;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-serif); letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.script { font-family: var(--font-script); color: var(--primary); }
.gradient-brand { background: var(--gradient-brand); }
.gradient-soft { background: var(--gradient-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: var(--shadow-elegant); }
.btn-light:hover { background: rgba(255,255,255,.9); }
.btn-outline { background: transparent; border-color: rgba(138,79,181,.4); color: var(--primary); }
.btn-outline:hover { background: rgba(138,79,181,.07); }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,248,250,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,221,233,.6);
}
.site-header .inner,
.site-header .nav-row,
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}

/* Brand — logo + text side by side */
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
/* Support both markup versions */
.brand-text { display: none; flex-direction: column; line-height: 1.1; }
@media (min-width: 640px) { .brand-text { display: flex; } }
.brand-text .a,
.brand-script { font-family: var(--font-script); font-size: 1.4rem; color: var(--primary); white-space: nowrap; }
.brand-text .b,
.brand-serif { font-size: .95rem; font-weight: 600; color: var(--foreground); font-family: var(--font-serif); white-space: nowrap; }
/* On small screens, stack brand text and shrink */
@media (max-width: 639px) {
  .brand { gap: 0.5rem; }
  .brand-script { font-size: 1.15rem; }
  .brand-serif { font-size: .8rem; }
}

/* Desktop nav */
.nav,
.primary-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav, .primary-nav { display: flex; } }
.nav a,
.primary-nav a { font-size: .9rem; font-weight: 500; color: rgba(42,31,51,.8); transition: color .15s; }
.nav a:hover, .nav a.active,
.primary-nav a:hover, .primary-nav a.active { color: var(--primary); }
.nav-cta { /* "Get in touch" button in nav */ }

/* Mobile toggle */
.mobile-toggle,
.nav-toggle {
  display: inline-flex; padding: .5rem; background: transparent; border: 0;
  cursor: pointer; color: var(--foreground); font-size: 1.5rem;
}
@media (min-width: 1024px) { .mobile-toggle, .nav-toggle { display: none; } }

/* Mobile nav — works with both .mobile-nav element and .primary-nav toggled via body.nav-open */
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--border); background: var(--background); }
.mobile-nav.open,
body.nav-open .mobile-nav { display: flex; }
.mobile-nav a { padding: .85rem 1rem; border-radius: .5rem; font-weight: 500; color: rgba(42,31,51,.85); }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--accent); color: var(--primary); }

/* When no .mobile-nav exists — toggle .primary-nav as mobile dropdown */
@media (max-width: 1023px) {
  body.nav-open .primary-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    gap: .25rem;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  body.nav-open .primary-nav a {
    padding: .85rem 1rem;
    border-radius: .5rem;
    font-size: 1rem;
  }
  body.nav-open .primary-nav a:hover,
  body.nav-open .primary-nav a.active {
    background: var(--accent);
    color: var(--primary);
  }
  body.nav-open .primary-nav .nav-cta {
    margin-top: .5rem;
  }
}

/* Sections */
.section { padding: 5rem 0; }
.section-soft { background: var(--gradient-soft); }
.section-hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-inner { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6rem 0; }
.hero-eyebrow { font-family: var(--font-script); font-size: 2rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hero-title { color: #fff; font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 600; max-width: 820px; margin-top: .5rem; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-text { color: rgba(255,255,255,.95); font-size: 1.05rem; max-width: 640px; margin-top: 1.5rem; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.section-heading { max-width: 720px; margin: 0 auto; text-align: center; }
.section-heading .eyebrow { font-family: var(--font-script); font-size: 1.6rem; color: var(--primary); }
.section-heading h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); font-weight: 600; margin-top: .25rem; }
.section-heading p { color: var(--muted-foreground); font-size: 1.05rem; margin-top: 1rem; }

/* Generic content (rich text from admin) */
.rich { color: var(--foreground); font-size: 1rem; line-height: 1.75; }
.rich h1, .rich h2, .rich h3 { margin-top: 1.5em; margin-bottom: .5em; }
.rich h1 { font-size: 2.25rem; }
.rich h2 { font-size: 1.75rem; }
.rich h3 { font-size: 1.35rem; }
.rich p { margin: 0 0 1em; }
.rich ul, .rich ol { padding-left: 1.5rem; margin: 0 0 1em; }
.rich ul li, .rich ol li { margin-bottom: .35em; list-style: disc; }
.rich ol li { list-style: decimal; }
.rich a { color: var(--primary); text-decoration: underline; }
.rich strong { font-weight: 700; }
.rich em { font-style: italic; }
.rich blockquote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--primary); background: var(--muted); border-radius: .5rem; color: var(--muted-foreground); }
.rich img { border-radius: 1rem; margin: 1rem 0; box-shadow: var(--shadow-soft); height: auto; }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }
.card .icon { display: inline-flex; height: 56px; width: 56px; align-items: center; justify-content: center; border-radius: .9rem; background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-soft); margin-bottom: 1.25rem; font-size: 1.4rem; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted-foreground); font-size: .95rem; margin-top: .5rem; }
.card-bar { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-brand); }

.includes { margin-top: 1.5rem; }
.includes li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; padding: .25rem 0; color: rgba(42,31,51,.85); }
.includes li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* Two-column intro */
.two-col { display: grid; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col img { border-radius: 1.5rem; box-shadow: var(--shadow-elegant); aspect-ratio: 4/3; object-fit: cover; }
.two-col .img-wrap { position: relative; }
.two-col .img-wrap::before { content: ""; position: absolute; inset: -1rem; border-radius: 2rem; background: var(--gradient-brand); opacity: .2; filter: blur(40px); z-index: 0; }
.two-col .img-wrap img { position: relative; z-index: 1; }
.two-col h2 { font-size: clamp(1.85rem,3.5vw,3rem); }
.two-col p { color: var(--muted-foreground); margin-top: 1rem; font-size: 1.05rem; }

.feature-list { margin-top: 2rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .35rem 0; }
.feature-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); margin-top: .55rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3,1fr); grid-auto-rows: 260px; } }
.gallery figure { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow-soft); margin: 0; height: 220px; }
@media (min-width: 900px) { .gallery figure { height: auto; } }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: .75rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; font-size: .85rem; }

/* Testimonials */
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); }
.testimonial blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--foreground); position: relative; padding-left: 1.5rem; border: 0; background: none; margin: 0; }
.testimonial blockquote::before { content: "\201C"; position: absolute; left: 0; top: -.15em; font-size: 2.5rem; color: var(--primary); line-height: 1; font-family: Georgia, serif; }
.testimonial .author { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted-foreground); }
.testimonial .stars { color: #e8b027; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .75rem; }

/* CTA */
.cta { text-align: center; padding: 5rem 0; border-radius: 1.5rem; background: var(--gradient-brand); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.12), transparent 60%); }
.cta .script { color: rgba(255,255,255,.9); font-size: 2rem; }
.cta h2 { color: #fff; font-size: clamp(1.85rem,3.5vw,3rem); margin-top: .25rem; }
.cta p { color: rgba(255,255,255,.85); margin: 1rem auto 0; max-width: 640px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; position: relative; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-box { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); }
.info-box h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.info-box ul li { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; font-size: .95rem; color: var(--muted-foreground); }
.info-box ul li strong { display: block; color: var(--foreground); font-weight: 600; }
.info-box .pin { color: var(--primary); flex-shrink: 0; margin-top: .15rem; }
.info-box.brand-box { background: var(--gradient-brand); color: #fff; border: 0; }
.info-box.brand-box .script { color: rgba(255,255,255,.95); font-size: 1.6rem; }
.info-box.brand-box p { color: rgba(255,255,255,.9); margin-top: .5rem; font-size: .95rem; }

.form { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); }
.form .row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .5rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .65rem .85rem; font-size: .95rem;
  border: 1px solid var(--border); border-radius: .55rem; background: #fff; color: var(--foreground);
  font-family: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .submit-row { margin-top: 1.5rem; }
.form .note { font-size: .8rem; color: var(--muted-foreground); margin-top: .75rem; }

.flash { padding: .85rem 1rem; border-radius: .55rem; margin-bottom: 1.25rem; font-size: .95rem; }
.flash.ok { background: #e8f7ee; color: #1f6e3a; border: 1px solid #bfe6cb; }
.flash.err { background: #fdecec; color: #9b2222; border: 1px solid #f1bcbc; }

/* Footer */
.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background: var(--gradient-soft); }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h3 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--foreground); margin-bottom: 1rem; font-family: var(--font-sans); }
.footer-grid ul li { padding: .25rem 0; }
.footer-grid ul a { color: var(--muted-foreground); font-size: .9rem; }
.footer-grid ul a:hover { color: var(--primary); }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .script { color: var(--primary); font-size: 1.1rem; }

.socials { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 2rem; border: 1px solid var(--border); color: var(--muted-foreground); font-size: .875rem; text-decoration: none; transition: all .2s; }
.socials a:hover { border-color: var(--primary); color: var(--primary); background: rgba(128,90,160,.06); }

.muted { color: var(--muted-foreground); }
.center { text-align: center; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* PHP template compatibility rules — added for pages using legacy class names */
main > section {
  padding: 5rem 0;
}
main > section:first-child:not(.hero):not(.section-soft) {
  padding-top: 3.5rem;
}
.page-head {
  padding: 4.5rem 0 3rem;
  text-align: center;
  background: var(--gradient-soft);
  border-bottom: 1px solid var(--border);
}
.page-head .script {
  display: block;
  font-size: 1.9rem;
  margin-bottom: .35rem;
}
.page-head h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: 600;
}
.hero {
  padding: 6.5rem 0 5rem;
  text-align: center;
  background: var(--gradient-soft);
  overflow: hidden;
}
.hero .script {
  display: block;
  font-size: 2rem;
  margin-bottom: .45rem;
}
.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 600;
}
.lead,
.hero > .container > p {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: var(--muted-foreground);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero .grid {
  margin-top: 2rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}
.hero-img {
  max-width: 960px;
  margin: 3rem auto 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
}
.hero-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.section-head .script {
  display: block;
  font-size: 1.8rem;
  margin-bottom: .25rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
}
.section-head p {
  color: var(--muted-foreground);
  font-size: 1.02rem;
  margin-top: .75rem;
}
.section-head a,
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.tcard .stars {
  color: #e8b027;
  font-size: 1.1rem;
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.tcard blockquote {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.7;
}
.tcard cite {
  display: block;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-style: normal;
}
.form-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.form-row label {
  display: block;
  margin-bottom: .5rem;
  font-size: .9rem;
  font-weight: 600;
}
.form-row input,
.form-row select,
.form-row textarea,
.form-grid input:not([type="hidden"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: #fff;
  color: var(--foreground);
  font: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.form-row textarea,
.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}
.pricing-table th,
.pricing-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.pricing-table th {
  background: var(--muted);
  font-weight: 700;
  color: var(--foreground);
}
.pricing-table tr:last-child td {
  border-bottom: 0;
}
.pricing-table .price,
.price {
  white-space: nowrap;
  text-align: right;
  font-weight: 700;
  color: var(--primary);
}
.prose {
  max-width: 980px;
  margin: 0 auto;
  color: var(--foreground);
  font-size: 1.05rem;
  line-height: 1.8;
}
.prose > p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}
.prose .grid {
  margin-top: 2rem;
}
.portrait {
  position: relative;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border-radius: 2rem;
  background: var(--gradient-brand);
  opacity: .18;
  filter: blur(36px);
}
.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.small {
  font-size: .9rem;
  color: var(--muted-foreground);
}
@media (max-width: 760px) {
  main > section,
  .hero {
    padding: 3.5rem 0;
  }
  .page-head {
    padding: 3rem 0 2.25rem;
  }
  .form-grid,
  .tcard,
  .card {
    padding: 1.4rem;
  }
  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table th,
  .pricing-table td,
  .pricing-table tr {
    display: block;
  }
  .pricing-table thead {
    display: none;
  }
  .pricing-table tr {
    border-bottom: 1px solid var(--border);
  }
  .pricing-table tr:last-child {
    border-bottom: 0;
  }
  .pricing-table td {
    border-bottom: 0;
    padding: .85rem 1rem;
  }
  .pricing-table .price,
  .price {
    text-align: left;
  }
}

/* ===================== Footer ===================== */
.site-footer {
 border-top: 1px solid var(--border);
 background: var(--gradient-soft);
 padding: 4rem 0 1.5rem;
 margin-top: 4rem;
}
.footer-grid {
 display: grid;
 gap: 2.5rem;
}
@media (min-width: 768px) {
 .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; gap: 3rem; }
}
.site-footer h4 {
 font-size: .85rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: .15em;
 margin-bottom: 1rem;
}
.site-footer .muted { color: var(--muted-foreground); font-size: .95rem; line-height: 1.7; margin-top: .6rem; }
.site-footer .small { font-size: .85rem; margin-top: .4rem; }
.footer-links a { color: var(--muted-foreground); transition: color .15s; font-size: .95rem; }
.footer-links a:hover { color: var(--primary); }
.footer-links li { padding: .3rem 0; }
.site-footer .socials { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.site-footer .socials a { padding: .5rem 1rem; border-radius: 2rem; border: 1px solid var(--border); color: var(--muted-foreground); font-size: .875rem; text-decoration: none; transition: all .2s; }
.site-footer .socials a:hover { border-color: var(--primary); color: var(--primary); background: rgba(128,90,160,.06); }

/* Wobble Web Works credit bar */
.wobble-footer {
 text-align: center;
 padding: 1rem 0;
 border-top: 1px solid var(--border);
 margin-top: 2rem;
}
.wobble-footer-link {
 display: inline-flex;
 align-items: center;
 gap: .5rem;
 color: var(--muted-foreground);
 font-size: .85rem;
 text-decoration: none;
 transition: color .15s;
}
.wobble-footer-link:hover { color: var(--primary); }
.wobble-footer .logo-text { display: inline-flex; align-items: baseline; gap: .35rem; }
.wobble-footer .logo-text small { font-size: .8rem; }
