:root {
  --color-primary: #20201e;
  --color-secondary: #b18a54;
  --color-background: #f8f5ef;
  --color-text: #20201e;
  --color-accent: #b18a54;
  --color-header-bg: #f8f5ef;
  --color-footer-bg: #191817;
  --font-heading: Georgia;
  --font-body: Arial;
}

/* Project Custom CSS */
/* ── SEDEF DECOR — site stylesheet (project custom CSS, platform base CSS off) ──
   Port of new_sites/sedef/sedefdecor_prototype.html. The prototype styled bare header/nav/section/form/footer
   elements, which would also hit the platform's own page wrappers, so every rule here uses an sd- class.
   The enquiry form is the platform Form block (.block-form), styled at the end to match the prototype. */

:root { --ink: #20201e; --cream: #f8f5ef; --sand: #e9dfd2; --gold: #b18a54; --rose: #d7a8a4; --muted: #77716a; --white: #fff; --sd-dark: #22211f; --sd-gold-light: #d5b68b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

/* ── Platform wrappers ──
   header.site-header / footer.site-footer and each component's div[data-component] are taken out of the
   layout, so the header sticks to the page (not to its wrapper). main.site-main is a grid: every block spans
   the full width, except the contact column and the Form block right after it, which sit side by side. */
.site-header, .site-footer, .site-header > [data-component], .site-footer > [data-component] { display: contents; }
.site-main { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.site-main > * { grid-column: 1 / -1; min-width: 0; }
.site-main > .cc-sd-contact:has(+ .block-form) { grid-column: 1; }
.site-main > .cc-sd-contact + .block-form { grid-column: 2; }
[id] { scroll-margin-top: 82px; }

/* ── Header ── */
.sd-topline { background: var(--sd-dark); color: #f6eee4; text-align: center; padding: 9px 16px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.sd-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 6.5%; background: rgba(248,245,239,.96); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #e7dfd5; }
.sd-brand { font-family: Georgia, serif; font-size: 25px; letter-spacing: .18em; font-weight: bold; }
.sd-brand span { display: block; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 1em; margin-right: -1em; text-transform: uppercase; text-align: center; margin-top: 4px; font-weight: normal; }
.sd-nav { display: flex; gap: 28px; align-items: center; font-size: 12px; letter-spacing: .04em; }
.sd-nav a:hover { color: var(--gold); }
.sd-navcta, .sd-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; padding: 14px 20px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); transition: .2s; cursor: pointer; }
.sd-nav a.sd-navcta:hover, .sd-navcta:hover, .sd-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.sd-btn.sd-light { background: transparent; color: var(--ink); border-color: #b9aea1; }
.sd-btn.sd-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sd-menu { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ── Hero ── */
.sd-hero { min-height: 590px; display: grid; grid-template-columns: 42% 58%; background: var(--sand); }
.sd-hero-copy { padding: 80px 8% 70px 15%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sd-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .23em; color: var(--gold); font-weight: bold; }
.sd-hero h1 { font-family: Georgia, serif; font-size: clamp(42px, 5.4vw, 76px); font-weight: normal; line-height: 1.02; letter-spacing: -.04em; margin: 22px 0; }
.sd-hero-copy p { font-family: Georgia, serif; font-size: 17px; line-height: 1.7; color: #5e5750; max-width: 360px; }
.sd-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.sd-hero-photo { min-height: 590px; position: relative; overflow: hidden; }
.sd-hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 48%; }
.sd-hero-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(233,223,210,.14), transparent 40%); }
.sd-photo-note { position: absolute; z-index: 1; right: 25px; bottom: 25px; background: rgba(248,245,239,.94); padding: 16px 20px; font-family: Georgia, serif; font-size: 14px; line-height: 1.5; }

/* ── Trust strip ── */
.sd-trust { display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px 8%; background: #fff; border-bottom: 1px solid #eee6dc; }
.sd-trust div { text-align: center; padding: 4px 15px; border-right: 1px solid #e9e1d7; }
.sd-trust div:last-child { border: 0; }
.sd-trust strong { display: block; font-family: Georgia, serif; font-weight: normal; font-size: 19px; }
.sd-trust span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; margin-top: 7px; }

/* ── Sections ── */
.sd-section { padding: 88px 7%; }
.sd-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.sd-section-head h2, .sd-intro h2, .sd-offer h2, .sd-contact h2, .block-form .form-title { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: normal; letter-spacing: -.03em; margin: 12px 0 0; }
.sd-section-head p { max-width: 350px; color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 4px; }

.sd-services { background: #fff; }
.sd-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sd-service { position: relative; min-height: 300px; overflow: hidden; background: #e7ddd2; }
.sd-service img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .55s; }
.sd-service:hover img { transform: scale(1.045); }
.sd-service:after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(20,18,16,.74)); }
.sd-service-caption { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: #fff; right: 15px; }
.sd-service-caption small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #ead3b1; }
.sd-service-caption h3 { font-family: Georgia, serif; font-size: 25px; font-weight: normal; margin: 8px 0; }

.sd-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; background: var(--cream); }
.sd-intro-image { height: 500px; position: relative; }
.sd-intro-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-intro-copy p { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 470px; margin: 24px 0; }
.sd-mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 25px 0 30px; }
.sd-mini-list span { font-size: 12px; border-bottom: 1px solid #ddd2c5; padding: 10px 0; }
.sd-mini-list span:before { content: "✳"; color: var(--gold); margin-right: 9px; }

.sd-portfolio { background: var(--sd-dark); color: #fff; }
.sd-portfolio .sd-section-head p { color: #c4bbb1; }
.sd-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sd-filter { background: transparent; border: 1px solid #5a5651; color: #e5ddd4; padding: 10px 15px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.sd-filter.active, .sd-filter:hover { background: #e7d5bd; color: #26221d; border-color: #e7d5bd; }
.sd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.sd-gallery-item { position: relative; overflow: hidden; background: #35322f; }
.sd-gallery-item:nth-child(1), .sd-gallery-item:nth-child(6) { grid-row: span 2; }
.sd-gallery-item:nth-child(4) { grid-column: span 2; }
.sd-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .45s; }
.sd-gallery-item:hover img { transform: scale(1.04); opacity: .82; }
.sd-glabel { position: absolute; left: 14px; bottom: 14px; font-family: Georgia, serif; font-size: 17px; text-shadow: 0 1px 8px #000; }
.sd-gallery-item[hidden] { display: none; }

.sd-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; background: var(--sand); }
.sd-offer-copy p { font-size: 14px; line-height: 1.8; color: #625a52; max-width: 470px; margin: 22px 0; }
.sd-offer-copy p.sd-fineprint { font-size: 10px; color: #83776b; }
.sd-offer-cards { display: grid; gap: 12px; }
.sd-offer-card { background: var(--cream); padding: 24px 25px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #ded2c3; gap: 20px; }
.sd-offer-card h3 { font-family: Georgia, serif; font-size: 21px; font-weight: normal; margin: 0 0 7px; }
.sd-offer-card p { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.6; }
.sd-price { font-family: Georgia, serif; font-size: 20px; color: var(--gold); white-space: nowrap; }

.sd-process { background: #fff; }
.sd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.sd-step { border-top: 1px solid #c9b7a3; padding-top: 20px; }
.sd-num { font-family: Georgia, serif; font-size: 35px; color: var(--gold); }
.sd-step h3 { font-family: Georgia, serif; font-size: 23px; font-weight: normal; margin: 12px 0; }
.sd-step p { font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 290px; }

.sd-quote { padding: 70px 10%; text-align: center; background: #f0e8de; }
.sd-quote blockquote { font-family: Georgia, serif; font-size: clamp(25px, 3vw, 39px); line-height: 1.35; max-width: 850px; margin: 18px auto 25px; font-weight: normal; }
.sd-quote span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ── Contact column + the Form block next to it (one dark band) ── */
.cc-sd-contact, .site-main > .block-form { background: var(--sd-dark); color: #fff; }
.sd-contact { padding: 88px 3.9vw 88px 7vw; }
.sd-contact .sd-eyebrow { color: var(--sd-gold-light); }
.sd-contact .sd-muted { color: #c4bbb1; font-size: 13px; line-height: 1.8; max-width: 360px; margin: 22px 0; }
.sd-contact-links { display: grid; gap: 12px; margin-top: 28px; font-size: 12px; color: #e4d8ca; }
.sd-contact-links a:hover { color: var(--sd-gold-light); }

/* ── Footer ── */
.sd-footer { background: #191817; color: #aaa097; padding: 28px 7%; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; letter-spacing: .05em; }
.sd-footbrand { font-family: Georgia, serif; letter-spacing: .2em; font-size: 18px; color: #eee4d8; }
.sd-mobile-cta { display: none; }

/* ── Platform Form block, in the prototype's style ── */
.block-form { padding: 88px 7%; color-scheme: dark; }
.site-main > .cc-sd-contact + .block-form { padding: 88px 7vw 88px 3.9vw; }
.cc-sd-contact + .block-form .form-title, .cc-sd-contact + .block-form .form-desc { display: none; }
.block-form .form-container { max-width: none; margin: 0; }
.block-form .form-title { margin-bottom: 28px; }
.block-form .form-desc { color: #c4bbb1; font-size: 13px; line-height: 1.8; margin: -10px 0 28px; }
.block-form .form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.block-form .form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.block-form .form-group:has(textarea), .block-form .form-group:has(.form-options-group), .block-form .form-checkbox-group { grid-column: 1 / -1; }
.block-form .form-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #d4c8ba; }
.block-form .required-indicator { color: var(--sd-gold-light); margin-left: 2px; }
.block-form .form-control { width: 100%; background: #2e2c29; border: 1px solid #514b44; color: #fff; padding: 14px 13px; outline: none; border-radius: 0; min-height: 48px; }
.block-form .form-control::placeholder { color: #8f877e; }
.block-form .form-control:focus { border-color: var(--sd-gold-light); }
.block-form select.form-control { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #d4c8ba 50%), linear-gradient(135deg, #d4c8ba 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.block-form select.form-control option { background: #2e2c29; color: #fff; }
.block-form textarea.form-control { min-height: 100px; resize: vertical; }
.block-form .form-options-group { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.block-form .form-option-label { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #e4d8ca; cursor: pointer; }
.block-form .form-option-label input { width: 16px; height: 16px; accent-color: var(--gold); }
.block-form .form-actions { margin-top: 15px; }
/* The prototype's ink button disappears on the dark band — the form button uses the gold accent instead */
.block-form .form-submit-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: #fff; padding: 15px 20px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--gold); border-radius: 0; transition: .2s; cursor: pointer; }
.block-form .form-submit-btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.block-form .form-submit-btn:disabled { opacity: .65; cursor: wait; }
.block-form .btn-spinner { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: sd-spin .8s linear infinite; }
@keyframes sd-spin { to { transform: rotate(360deg); } }
.block-form .form-status-alert { margin-bottom: 15px; background: #3a3932; padding: 13px; font-size: 12px; line-height: 1.6; color: #f4e7d3; border-left: 2px solid var(--sd-gold-light); }
.block-form .form-alert-error { border-left-color: var(--rose); color: #f3d6d3; }
.block-form.form-closed .form-closed-card { border: 1px solid #514b44; padding: 32px; text-align: center; color: #c4bbb1; }
.block-form .form-closed-badge { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--sd-gold-light); }
.block-form .form-closed-title { font-family: Georgia, serif; font-weight: normal; font-size: 24px; color: #fff; margin: 12px 0; }

/* ── Tablet ── */
@media (max-width: 900px) {
  .sd-nav { gap: 14px; }
  .sd-hero { grid-template-columns: 1fr 1fr; }
  .sd-hero-copy { padding: 55px 8%; }
  .sd-service-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .sd-gallery-item:nth-child(4) { grid-column: span 1; }
  .sd-intro, .sd-offer { gap: 35px; }
  .sd-intro-image { height: 420px; }
  .sd-contact { padding-right: 17px; }
  .site-main > .cc-sd-contact + .block-form { padding-left: 18px; }
}

/* ── Phone ── */
@media (max-width: 650px) {
  [id] { scroll-margin-top: 70px; }
  .sd-header { height: 70px; padding: 0 5%; }
  .sd-brand { font-size: 21px; }
  .sd-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); padding: 22px 6%; flex-direction: column; align-items: flex-start; border-bottom: 1px solid #ddd; }
  .sd-header.nav-open .sd-nav { display: flex; }
  .sd-menu { display: block; }
  .sd-topline { font-size: 9px; }
  .sd-hero { display: flex; flex-direction: column-reverse; }
  .sd-hero-photo { min-height: 420px; }
  .sd-hero-copy { padding: 48px 7% 55px; }
  .sd-hero h1 { font-size: 51px; }
  .sd-trust { padding: 20px 3%; }
  .sd-trust strong { font-size: 15px; }
  .sd-trust span { font-size: 8px; line-height: 1.4; }
  .sd-section { padding: 60px 6%; }
  .sd-section-head { display: block; }
  .sd-section-head p { margin-top: 16px; }
  .sd-service-grid { gap: 10px; }
  .sd-service, .sd-service img { height: 245px; min-height: 245px; }
  .sd-service-caption { left: 13px; bottom: 14px; }
  .sd-service-caption h3 { font-size: 21px; }
  .sd-intro, .sd-offer { grid-template-columns: 1fr; }
  .sd-intro-image { height: 360px; order: 2; }
  .sd-intro-copy { order: 1; }
  .sd-mini-list { gap: 7px; }
  .sd-gallery { grid-auto-rows: 170px; gap: 8px; }
  .sd-glabel { font-size: 14px; left: 10px; bottom: 10px; }
  .sd-offer-card { padding: 18px; }
  .sd-offer-card h3 { font-size: 18px; }
  .sd-price { font-size: 17px; }
  .sd-steps { grid-template-columns: 1fr; gap: 25px; }
  .site-main > .cc-sd-contact:has(+ .block-form), .site-main > .cc-sd-contact + .block-form { grid-column: 1 / -1; }
  .sd-contact { padding: 60px 6% 28px; }
  .block-form { padding: 60px 6%; }
  .site-main > .cc-sd-contact + .block-form { padding: 0 6% 60px; }
  .block-form .form-fields { grid-template-columns: 1fr; }
  .sd-footer { flex-direction: column; align-items: flex-start; }
  .sd-mobile-cta { display: flex; position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 12; box-shadow: 0 5px 25px #0003; }
  body { padding-bottom: 62px; }
}
