/* ==========================================================================
   Merve Biçer İç Mimarlık — el yazımı CSS, framework/derleme adımı yok.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

:root {
  --bg: #f8f8f8;
  --fg: #222222;
  --surface: #ffffff;
  --muted: #f1efe9;
  --muted-fg: #6b6b64;
  --border: rgba(17,17,17,.09);
  --primary: #111111;
  --gold: #c7a66a;
  --gold-soft: #ddc593;
  --gold-deep: #a3814a;
  --dark-band: #0c0c0c;
}

.font-display { font-family: 'Fraunces', serif; }

/* ---------- layout helpers ---------- */
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .wrap { padding: 0 2.5rem; } }
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-muted { background: var(--muted); }
.section-dark { background: var(--dark-band); color: rgba(255,255,255,.85); }

.eyebrow {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--gold-deep);
  font-weight: 500;
}
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }

.heading-lg { font-size: 2.5rem; line-height: 1.1; }
@media (min-width: 768px) { .heading-lg { font-size: 3.5rem; } }
.heading-md { font-size: 2rem; line-height: 1.15; }
@media (min-width: 768px) { .heading-md { font-size: 2.75rem; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 3rem;
  padding: 0 2rem;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,248,248,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
}
.brand-mark { display: flex; flex-direction: column; line-height: 1; }
.brand-mark .name { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--fg); }
.brand-mark .suffix { margin-top: .25rem; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-fg); }
.main-nav { display: none; align-items: center; gap: 2.25rem; }
.main-nav a { font-size: .9rem; position: relative; padding-bottom: .25rem; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-deep); }
@media (min-width: 900px) { .main-nav { display: flex; } }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-band); color: rgba(255,255,255,.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 5rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 2.5rem; } }
.footer-col h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.4); margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: .85rem; }
.footer-col ul a { font-size: .9rem; color: rgba(255,255,255,.65); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.social-row { display: flex; gap: 1rem; margin-top: 1.75rem; }
.social-badge {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15); font-size: .6rem; letter-spacing: .05em;
  color: rgba(255,255,255,.6);
}
.social-badge:hover { border-color: var(--gold); color: var(--gold); }
.footer-newsletter-form { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: .5rem; }
.footer-newsletter-form input {
  background: transparent; border: 0; color: #fff; width: 100%; outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-form button { background: none; border: 0; color: var(--gold); cursor: pointer; }
.footer-contact p { margin-top: .4rem; font-size: .875rem; color: rgba(255,255,255,.5); }

/* ---------- media placeholder (tone gradients) ---------- */
.media-box { position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.media-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.media-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-corner { position: absolute; top: 1rem; left: 1rem; width: 28px; height: 28px; border-top: 1px solid; border-left: 1px solid; opacity: .55; z-index: 2; }
.media-corner.on-light { border-color: rgba(0,0,0,.4); }
.media-corner.on-dark { border-color: rgba(255,255,255,.5); }
.media-caption { position: relative; z-index: 2; padding: 1.5rem; }
.media-caption .label { font-family: 'Fraunces', serif; font-size: 1.25rem; }
.media-caption .caption { margin-top: .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; }
.on-light .media-caption .label { color: rgba(0,0,0,.8); }
.on-light .media-caption .caption { color: rgba(0,0,0,.5); }
.on-dark .media-caption .label { color: rgba(255,255,255,.9); }
.on-dark .media-caption .caption { color: rgba(255,255,255,.6); }

.tone-0 { background-image: linear-gradient(135deg, #17140f 0%, #3a2f22 55%, #c7a66a 140%); }
.tone-1 { background-image: linear-gradient(150deg, #efece3 0%, #ddc593 100%); }
.tone-2 { background-image: linear-gradient(160deg, #0c0c0c 0%, #2b2620 100%); }
.tone-3 { background-image: linear-gradient(145deg, #f1efe9 0%, #c7a66a 150%); }
.tone-4 { background-image: linear-gradient(140deg, #1c1a16 0%, #55452c 100%); }
.tone-5 { background-image: linear-gradient(155deg, #e7e2d4 0%, #a3814a 130%); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide .media-box { position: absolute; inset: 0; }
.hero-slide .media-box img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-slide .media-box img { animation: none; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45) 55%, rgba(0,0,0,.55)); }
.hero-slide-caption { position: absolute; bottom: 2.5rem; right: 2.5rem; text-align: right; color: rgba(255,255,255,.7); display: none; }
@media (min-width: 768px) { .hero-slide-caption { display: block; } }
.hero-slide-caption .label { font-family: 'Fraunces', serif; font-size: 1.125rem; }
.hero-slide-caption .caption { font-size: .7rem; text-transform: uppercase; letter-spacing: .3em; color: rgba(255,255,255,.5); }
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; color: #fff; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { font-family: 'Fraunces', serif; margin-top: 1.25rem; max-width: 56rem; font-size: 2.25rem; line-height: 1.08; }
@media (min-width: 640px) { .hero-content h1 { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-content h1 { font-size: 4.5rem; } }
.hero-content .sub { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; color: rgba(255,255,255,.75); }
@media (min-width: 768px) { .hero-content .sub { font-size: 1.125rem; } }
.hero-content .actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-content .actions { flex-direction: row; } }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .625rem; text-transform: uppercase; letter-spacing: .3em; }

/* ---------- section heading ---------- */
.section-heading { max-width: 40rem; }
.section-heading.center { max-width: 36rem; margin: 0 auto; text-align: center; }
.section-heading h2 { font-family: 'Fraunces', serif; margin-top: .75rem; color: var(--fg); }
.section-dark .section-heading h2 { color: #fff; }
.section-heading p { margin-top: 1rem; color: var(--muted-fg); }
.section-dark .section-heading p { color: rgba(255,255,255,.6); }

/* ---------- about / stats ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-image { aspect-ratio: 4/5; }
@media (min-width: 1024px) { .about-image { aspect-ratio: auto; height: 100%; } }
.stats-row { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 1280px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-family: 'Fraunces', serif; font-size: 1.875rem; color: var(--fg); }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: .5rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }

/* ---------- grids: services / projects / blog ---------- */
.card-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card { position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; }
.service-card .media-box { position: absolute; inset: 0; transition: transform .7s ease; }
.service-card:hover .media-box { transform: scale(1.1); }
.service-card .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35) 60%, rgba(0,0,0,.1)); }
.service-card .card-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; color: #fff; }
.service-icon-badge { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(199,166,106,.5); background: rgba(0,0,0,.2); color: var(--gold); }
.service-card h3 { font-family: 'Fraunces', serif; font-size: 1.25rem; }
.service-card p { margin-top: .5rem; max-width: 85%; font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.7); }
.service-card .cta-hint { margin-top: 1rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); opacity: 0; transition: opacity .3s; }
.service-card:hover .cta-hint { opacity: 1; }

/* project masonry grid */
.project-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; grid-auto-flow: dense; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { position: relative; overflow: hidden; display: block; aspect-ratio: 4/5; }
.project-card.tall { grid-row: span 2; aspect-ratio: auto; }
.project-card .media-box { position: absolute; inset: 0; transition: transform .7s ease; }
.project-card:hover .media-box { transform: scale(1.08); }
.project-card .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.1) 60%); }
.project-card .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; color: #fff; }
.project-card .badge { display: inline-block; padding: .25rem .75rem; font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; background: rgba(255,255,255,.15); border-radius: 999px; margin-bottom: .5rem; }
.project-card h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.project-card .meta { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

.category-pills { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.pill { display: inline-flex; align-items: center; padding: .6rem 1.25rem; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; color: var(--fg); }
.pill.active { background: var(--gold); border-color: var(--gold); color: #111; }
.pill:hover:not(.active) { border-color: var(--gold); color: var(--gold-deep); }

.blog-card h3 { font-family: 'Fraunces', serif; margin-top: .75rem; font-size: 1.25rem; line-height: 1.35; color: var(--fg); }
.blog-card .meta { margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-deep); }
.blog-card .meta .sep { color: var(--muted-fg); }
.blog-card .excerpt { margin-top: .5rem; font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }
.blog-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.blog-card .thumb .media-box { position: absolute; inset: 0; transition: transform .7s ease; }
.blog-card:hover .thumb .media-box { transform: scale(1.05); }

/* ---------- process ---------- */
.process-row { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; }
@media (min-width: 900px) { .process-row { grid-template-columns: repeat(5, 1fr); } }
.process-step { text-align: center; }
.process-step .num { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--gold); }
.process-step h3 { font-family: 'Fraunces', serif; margin-top: .5rem; font-size: 1.1rem; }
.process-step p { margin-top: .5rem; font-size: .85rem; color: var(--muted-fg); }

/* ---------- trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: .85rem; padding: 1.75rem; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .trust-item { border-right: 1px solid var(--border); border-bottom: 0; } }
.trust-item .icon { color: var(--gold); flex-shrink: 0; }
.trust-item span { font-size: .85rem; }

/* ---------- testimonials ---------- */
.testimonial-track { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-track { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; }
.stars { color: var(--gold); letter-spacing: .15em; }
.testimonial-card .quote { margin-top: 1rem; font-style: italic; color: var(--fg); line-height: 1.6; }
.testimonial-card .who { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: .75rem; }
.avatar-initials { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--muted); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--gold-deep); }
.who-name { font-size: .9rem; color: var(--fg); }
.who-role { font-size: .75rem; color: var(--muted-fg); }

/* ---------- closing cta ---------- */
.closing-cta { position: relative; overflow: hidden; text-align: center; }
.closing-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(199,166,106,.18), transparent 60%); }
.closing-cta .inner { position: relative; z-index: 1; }
.closing-cta h2 { font-family: 'Fraunces', serif; margin-top: .75rem; font-size: 2.25rem; color: #fff; }
@media (min-width: 768px) { .closing-cta h2 { font-size: 3rem; } }
.closing-cta p { margin-top: 1rem; max-width: 32rem; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.65); }
.closing-cta .actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
@media (min-width: 640px) { .closing-cta .actions { flex-direction: row; justify-content: center; } }
.closing-cta .contact-links { display: flex; gap: 1.5rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.closing-cta .contact-links a:hover { color: var(--gold); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 9rem 0 3.5rem; }
.page-hero .media-box { position: absolute; inset: 0; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45) 55%, rgba(0,0,0,.6)); }
.page-hero .wrap { position: relative; z-index: 2; color: #fff; }
.page-hero .breadcrumb { font-size: .7rem; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: 'Fraunces', serif; margin-top: 1rem; max-width: 44rem; font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.5rem; } }
.page-hero .desc { margin-top: 1rem; max-width: 34rem; color: rgba(255,255,255,.7); }

/* ---------- project/blog detail ---------- */
.detail-gallery { position: relative; aspect-ratio: 16/9; overflow: hidden; }

.home-video-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0c0c0c; border: 1px solid var(--border); }
.home-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-video-mute {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.4); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.home-video-mute:hover { border-color: var(--gold); color: var(--gold); }
.home-video-mute.is-on { background: rgba(199,166,106,.85); border-color: var(--gold); color: #111; }
.detail-gallery .media-box { position: absolute; inset: 0; }

.blog-cover { position: relative; aspect-ratio: 21/9; overflow: hidden; margin-top: -2.5rem; }
.blog-cover .media-box { position: absolute; inset: 0; }
@media (min-width: 768px) { .blog-cover { margin-top: -3.5rem; } }
.info-strip { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .info-strip { grid-template-columns: repeat(4, 1fr); } }
.info-item .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }
.info-item .value { margin-top: .35rem; font-size: .95rem; color: var(--fg); }
.render-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .render-grid { grid-template-columns: repeat(3, 1fr); } }
.render-grid .media-box { aspect-ratio: 4/3; }

.plan-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
.plan-grid .media-box { aspect-ratio: 4/3; }
.materials-list li { padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }

.pill-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.5rem; }
.field label { display: block; margin-bottom: .5rem; font-size: .85rem; color: var(--fg); }
.field input, .field select, .field textarea {
  width: 100%; height: 2.75rem; border: 1px solid var(--border); background: transparent; padding: 0 .9rem; outline: none;
}
.field textarea { height: auto; padding: .75rem .9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .field-row-3 { grid-template-columns: repeat(3, 1fr); } }
.form-note { font-size: .75rem; color: var(--muted-fg); margin-bottom: 1rem; }
.checkbox-row { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }

.alert { padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .9rem; }
.alert-success { background: rgba(199,166,106,.12); border: 1px solid var(--gold); color: var(--gold-deep); }
.alert-error { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.4); color: #b91c1c; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact-info-card { border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
.contact-info-card .icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(199,166,106,.4); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); flex-shrink: 0; }
.contact-info-card .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }
.contact-info-card .value { margin-top: .25rem; font-size: .95rem; }
.map-embed { margin-top: 1rem; height: 260px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 1.5rem 0; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding-bottom: 1.5rem; color: var(--muted-fg); font-size: .9rem; }

.prose { max-width: 42rem; margin: 0 auto; }
.prose p { margin-bottom: 1.25rem; color: var(--fg); line-height: 1.75; }
.prose h2 { font-family: 'Fraunces', serif; margin: 2rem 0 1rem; }

.values-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { border: 1px solid var(--border); padding: 2rem; }
.value-card .icon { color: var(--gold); }
.value-card h3 { font-family: 'Fraunces', serif; margin-top: 1rem; font-size: 1.1rem; }
.value-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-fg); }

/* before/after slider */
.ba-slider { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.ba-slider .ba-after { position: absolute; inset: 0; }
.ba-slider .ba-before { position: absolute; inset: 0; overflow: hidden; }
.ba-slider .media-box { position: absolute; inset: 0; }
.ba-slider input[type=range] { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); width: 80%; z-index: 3; }
.ba-label { position: absolute; top: 1rem; z-index: 3; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; background: rgba(0,0,0,.55); color: #fff; padding: .35rem .75rem; }
.ba-label.before { left: 1rem; }
.ba-label.after { right: 1rem; }

/* related grid reuse */
.related-section { border-top: 1px solid var(--border); }

/* whatsapp float button */
.whatsapp-fab {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 40;
  width: 3.25rem; height: 3.25rem; border-radius: 999px; background: #25D366;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 5.5rem; z-index: 40;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); display: none; align-items: center; justify-content: center;
}
/* image lightbox */
.lightbox-zoomable { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.92);
  display: none; align-items: center; justify-content: center; padding: 3rem 1.5rem;
}
.lightbox-overlay.visible { display: flex; }
.lightbox-overlay img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.75rem; z-index: 101;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.4); color: #fff; font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 101;
  width: 3.25rem; height: 3.25rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.4); color: #fff; font-size: 1.75rem; line-height: 1;
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-prev { left: 1.75rem; }
.lightbox-next { right: 1.75rem; }
.lightbox-counter {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 101;
  display: none; color: rgba(255,255,255,.8); font-size: .8rem; letter-spacing: .1em;
  background: rgba(0,0,0,.4); padding: .35rem .9rem; border-radius: 999px;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.4rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem; display: none; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: .85rem; color: var(--muted-fg); }
.cookie-banner a { text-decoration: underline; }

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: #f4f4f2; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 15rem; flex-shrink: 0; background: #111; color: rgba(255,255,255,.75); padding: 2rem 1.25rem; }
.admin-sidebar .brand { color: #fff; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.admin-sidebar .brand small { display: block; font-family: 'Manrope', sans-serif; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }
.admin-nav { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .25rem; }
.admin-nav a { padding: .65rem .85rem; font-size: .875rem; border-radius: 4px; color: rgba(255,255,255,.7); }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--gold); color: #111; }
.admin-nav .divider { margin: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.admin-main { flex: 1; padding: 2.5rem 3rem; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-page-header h1 { font-family: 'Fraunces', serif; font-size: 1.75rem; }
.admin-page-header p { margin-top: .35rem; color: var(--muted-fg); font-size: .9rem; }
.admin-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem; }
.stat-tiles { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .stat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stat-tiles { grid-template-columns: repeat(6, 1fr); } }
.stat-tile { background: #fff; border: 1px solid var(--border); padding: 1.25rem; }
.stat-tile.alert-tile { border-color: #dc2626; }
.stat-tile .num { font-family: 'Fraunces', serif; font-size: 1.75rem; }
.stat-tile.alert-tile .num { color: #dc2626; }
.stat-tile .label { margin-top: .35rem; font-size: .75rem; color: var(--muted-fg); }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--border); font-size: .875rem; }
.admin-table th { background: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-fg); }
.admin-table tr:hover td { background: #fafaf8; }
.row-actions { display: flex; gap: .75rem; }
.row-actions a, .row-actions button { font-size: .8rem; color: var(--gold-deep); background: none; border: none; cursor: pointer; padding: 0; }
.row-actions .danger { color: #dc2626; }

.admin-form { max-width: 48rem; }
.image-upload-field { margin-bottom: 1.5rem; }
.image-upload-field .preview { width: 100%; max-width: 22rem; aspect-ratio: 16/9; background: var(--muted); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: .75rem; color: var(--muted-fg); font-size: .8rem; }
.image-upload-field.compact .preview { max-width: 100%; aspect-ratio: 4/3; }
.image-upload-field img.preview-img { width: 100%; height: 100%; object-fit: cover; }
.upload-btn { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1.25rem; border: 1px solid var(--border); font-size: .875rem; cursor: pointer; }
.upload-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.tone-picker { display: flex; gap: .6rem; }
.tone-swatch { width: 2.25rem; height: 2.25rem; border-radius: 999px; cursor: pointer; border: 2px solid transparent; position: relative; }
.tone-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.tone-swatch.checked { border-color: var(--gold-deep); }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #111; padding: 1.5rem; }
.login-card { width: 100%; max-width: 24rem; background: #fff; padding: 2.5rem; }
.login-card h1 { font-family: 'Fraunces', serif; font-size: 1.5rem; text-align: center; }
.login-card .sub { text-align: center; color: var(--muted-fg); font-size: .85rem; margin-top: .5rem; margin-bottom: 2rem; }
