/*
Theme Name: Your Concierge
Theme URI: https://yourconciergerome.com/
Description: Tema leggero su misura per Your Concierge Rome: blu notte, oro e acquerelli.
Version: 1.0.8
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: yourconcierge
License: Proprietary
*/

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
main.yc-main:not(.yc-prose) > .entry-content > * { margin-block: 0; }
em { font-style: italic; }
.yc-gold, em.yc-gold, h1 em, h2 em { color: var(--wp--preset--color--gold); }
:focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Wide sections: every top-level group is a band with an inner width */
.yc-band { padding-block: var(--wp--preset--spacing--50); }
.yc-band > .yc-inner, .yc-inner { max-width: 1240px; margin-inline: auto; }
.yc-band--cream { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--night); }
.yc-band--soft { background: var(--wp--preset--color--night-soft); }
.yc-band--tight { padding-block-start: 0; }
.yc-band--cream a:not(.wp-block-button__link) { color: var(--wp--preset--color--night); }
.yc-band--cream .has-ink-soft-color, .yc-band--cream .yc-muted { color: var(--wp--preset--color--ink-soft); }
.yc-muted { color: var(--wp--preset--color--mist); }
.yc-band--cream .yc-eyebrow, .yc-white .yc-eyebrow { color: var(--wp--preset--color--gold-dark); }

.yc-eyebrow { margin: 0; font-size: 12px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.yc-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--mist); max-width: 560px; }
.yc-band--cream .yc-lead { color: var(--wp--preset--color--ink-soft); }
.yc-small { font-size: var(--wp--preset--font-size--small); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--gold); border: 1px solid var(--wp--preset--color--gold); padding: 14px 26px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--night); }
.yc-band--cream .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--night); border-color: var(--wp--preset--color--night); }
.yc-btn-night > .wp-block-button__link { background: var(--wp--preset--color--night) !important; color: var(--wp--preset--color--cream) !important; }

/* ---------- Header / footer ---------- */
.yc-header { padding-block: 22px; }
.yc-header__row { max-width: 1240px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.yc-header .wp-block-site-title a, .yc-logo { font-family: var(--wp--preset--font-family--serif-display); font-size: 28px; color: var(--wp--preset--color--cream); text-decoration: none; }
.yc-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.yc-nav a { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--mist); text-decoration: none; }
.yc-nav a:hover, .yc-nav a[aria-current] { color: var(--wp--preset--color--gold); }
.yc-wa-btn { border: 1px solid var(--wp--preset--color--gold); color: var(--wp--preset--color--gold); text-decoration: none; padding: 10px 20px; border-radius: 2px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.yc-wa-btn:hover { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--night); }
@media (max-width: 760px) {
	.yc-nav { order: 3; width: 100%; gap: 6px 18px; }
	.yc-nav a { font-size: 12px; }
}

.yc-footer { border-top: 1px solid var(--wp--preset--color--line); font-size: 14px; color: var(--wp--preset--color--grey); }
.yc-footer__row { max-width: 1240px; margin-inline: auto; padding-block: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.yc-footer p { margin: 0 0 6px; }
.yc-footer__brand { font-family: var(--wp--preset--font-family--serif-display); font-size: 24px; color: var(--wp--preset--color--cream); }
.yc-footer__col { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Hero ---------- */
.yc-hero { max-width: 1240px; margin-inline: auto; padding-block: 48px 40px; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.yc-hero > .yc-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.yc-hero > .yc-hero__text > * { margin: 0; }
.yc-hero > .yc-frame, .yc-hero > figure { flex: 1 1 400px; min-width: 0; }
.yc-hero h1 { margin: 0; }
.yc-crumbs { font-size: 13px; color: var(--wp--preset--color--grey); margin: 0; }
.yc-crumbs a { color: var(--wp--preset--color--grey); }

/* Watercolour frame: paper card so the white of the watercolour disappears */
.yc-frame { margin: 0; background: var(--wp--preset--color--paper); padding: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.yc-frame img, img.yc-wc, .yc-wc img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.yc-frame figcaption { display: none; }

/* ---------- Home: steps, paths ---------- */
.yc-steps { max-width: 1240px; margin: 0 auto !important; padding: 0 0 56px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 24px; font-size: 15px; color: var(--wp--preset--color--grey); }
.yc-steps li { border-top: 1px solid var(--wp--preset--color--line); padding-top: 14px; }
.yc-steps strong { display: block; font-weight: 400; font-style: italic; color: var(--wp--preset--color--gold); font-family: var(--wp--preset--font-family--serif-display); font-size: 20px; }

.yc-paths { max-width: 1240px; margin-inline: auto; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.yc-path { position: relative; background: var(--wp--preset--color--night-soft); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.yc-path > * { margin: 0 !important; }
.yc-path h3 { font-size: 30px; font-weight: 400; }
.yc-path a { color: var(--wp--preset--color--cream); text-decoration: none; }
.yc-path a::after { content: ""; position: absolute; inset: 0; }
.yc-path--gold { background: var(--wp--preset--color--gold); }
.yc-path--gold a, .yc-path--gold .yc-eyebrow { color: var(--wp--preset--color--night); }
.yc-path:hover { outline: 1px solid var(--wp--preset--color--gold); }

/* ---------- Service cards (home) ---------- */
.yc-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.yc-head-row > * { margin: 0; }
.yc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 48px 36px; }
.yc-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.yc-card > * { margin: 0 !important; }
.yc-card figure { margin: 0; }
.yc-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; mix-blend-mode: multiply; }
.yc-card .yc-price { border-top: 1px solid #CFC5B1; padding-top: 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--gold-dark); }
.yc-card h3 { font-size: 28px; }
.yc-card h3 a { color: var(--wp--preset--color--night); text-decoration: none; }
.yc-card h3 a::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) { .yc-card:hover h3 a { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 700px) {
  .yc-cards { gap: 0; }
  .yc-card { padding: 28px 0 36px; border-top: 1px solid #CFC5B1; }
  .yc-card:first-child { border-top: 0; padding-top: 4px; }
  .yc-card .yc-price { border-top: 0; padding-top: 6px; }
}
.yc-card p:last-child { font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--ink-soft); }

/* ---------- Split section (text + framed image) ---------- */
.yc-split { max-width: 1240px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.yc-split > .yc-split__text { flex: 999 1 520px; min-width: 0; }
.yc-split > .yc-split__text > * { max-width: 620px; }
.yc-split > .yc-frame, .yc-split > figure { flex: 1 1 360px; min-width: 0; }
.yc-split p { color: var(--wp--preset--color--mist); }
.yc-band--cream .yc-split p { color: var(--wp--preset--color--night); }
.yc-sites { font-family: var(--wp--preset--font-family--serif-display); font-size: 24px; line-height: 1.4; color: var(--wp--preset--color--cream) !important; }

/* Two columns: audio + quote */
.yc-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; }
.yc-duo h2 { font-size: 40px; }
.yc-quote { margin: 0; border-left: 1px solid var(--wp--preset--color--line); padding-left: 40px; }
.yc-quote blockquote, .yc-quote p:first-child { margin: 0; font-family: var(--wp--preset--font-family--serif-display); font-style: italic; font-size: 30px; line-height: 1.3; }
.yc-quote cite, .yc-quote .yc-cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--wp--preset--color--gold); }

/* ---------- FAQ ---------- */
.yc-faq { max-width: 880px; margin-inline: auto; }
.yc-faq h2 { font-size: 40px; margin-bottom: 24px; }
.yc-faq .wp-block-details { border-top: 1px solid var(--wp--preset--color--line); padding: 18px 0; margin: 0; }
.yc-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.yc-faq summary { cursor: pointer; font-size: 18px; }
.yc-more { max-width: 1000px; margin-inline: auto; }
.yc-more h2 { font-size: 40px; margin-bottom: 10px; }
.yc-more .yc-more__list { columns: 2 300px; column-gap: 48px; list-style: none; padding: 0; margin: 28px 0; }
.yc-more .yc-more__list li { break-inside: avoid; padding: 12px 0; border-top: 1px solid #CFC5B1; font-size: 17px; }
.yc-prose-block { max-width: 760px; margin-inline: auto; }
.yc-prose-block h2 { font-size: 40px; margin-bottom: 8px; }
.yc-prose-block > p { margin: 0 0 1.1em; font-size: 18px; line-height: 1.7; }
.yc-prose-block > p.yc-muted { font-size: 14px; margin-bottom: 1.4em; }
.yc-faq .wp-block-details p { margin: 10px 0 0; color: var(--wp--preset--color--grey); }

/* ---------- Service pages ---------- */
.yc-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.yc-offer { background: var(--wp--preset--color--white); color: var(--wp--preset--color--night); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.yc-offer > * { margin: 0 !important; }
.yc-offer h3 { font-size: 30px; }
.yc-offer p { color: var(--wp--preset--color--ink-soft); }
.yc-offer .yc-eyebrow { color: var(--wp--preset--color--gold-dark); }
.yc-offer .yc-offer__price { margin-top: auto !important; font-style: italic; color: var(--wp--preset--color--night); border-top: 1px solid #E4DCCB; padding-top: 12px; }
.yc-offer--featured { outline: 2px solid var(--wp--preset--color--gold); }
.yc-note { margin-top: 28px !important; max-width: 760px; color: var(--wp--preset--color--ink-soft); }

.yc-howto { max-width: 1240px; margin-inline: auto; }
.yc-howto ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 36px; counter-reset: yc; }
.yc-howto li { border-top: 1px solid var(--wp--preset--color--line); padding-top: 18px; color: var(--wp--preset--color--mist); counter-increment: yc; }
.yc-howto li::before { content: counter(yc); display: block; font-family: var(--wp--preset--font-family--serif-display); font-size: 48px; line-height: 1; color: var(--wp--preset--color--gold); margin-bottom: 10px; }
.yc-howto li strong { display: block; font-family: var(--wp--preset--font-family--serif-display); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--wp--preset--color--cream); margin-bottom: 6px; }
.yc-band--cream .yc-howto li { border-color: #CFC5B1; color: var(--wp--preset--color--ink-soft); }
.yc-band--cream .yc-howto li strong { color: var(--wp--preset--color--night); }

.yc-related { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.yc-related > p { margin: 0; position: relative; border: 1px solid var(--wp--preset--color--line); padding: 24px; }
.yc-related > p span { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.yc-related > p a { font-family: var(--wp--preset--font-family--serif-display); font-size: 26px; color: var(--wp--preset--color--cream); text-decoration: none; }
.yc-related > p a::after { content: ""; position: absolute; inset: 0; }
.yc-related > p:hover { border-color: var(--wp--preset--color--gold); }

/* Checklist ("Tell us three things") */
.yc-checklist { list-style: none; padding: 0; margin: 0; }
.yc-checklist li { padding: 14px 0; border-top: 1px solid var(--wp--preset--color--line); }
.yc-checklist li:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.yc-band--cream .yc-checklist li { border-color: #CFC5B1; }

/* ---------- Property manager page ---------- */
.yc-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .yc-who { grid-template-columns: 1fr; } }
.yc-who > * { margin: 0; }
.yc-who .yc-big { font-family: var(--wp--preset--font-family--serif-display); font-size: 34px; line-height: 1.2; margin: 12px 0 0; }
.yc-who .yc-who__card { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--night); border: 1px solid #CFC5B1; padding: 36px 36px 28px; }
.yc-who .yc-who__card .yc-big { color: var(--wp--preset--color--night); }
.yc-who .yc-who__card--us { background: var(--wp--preset--color--night); border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--mist); }
.yc-who .yc-who__tag { display: inline-block; margin: 0; padding: 6px 16px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid currentColor; color: var(--wp--preset--color--night); }
.yc-who .yc-who__card--us .yc-who__tag { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--night); }
.yc-who .yc-who__card--us .yc-big { color: #fff; }
.yc-who .yc-who__list { list-style: none; padding: 0; margin: 20px 0 0; }
.yc-who .yc-who__list li { padding: 10px 0 10px 26px; border-top: 1px solid #E3DACA; position: relative; font-size: 17px; }
.yc-who .yc-who__list li::before { content: "—"; position: absolute; left: 0; color: var(--wp--preset--color--gold); }
.yc-who .yc-who__card--us .yc-who__list li { border-top-color: rgba(255,255,255,.14); }
.yc-who .yc-wide { grid-column: 1 / -1; color: var(--wp--preset--color--grey); max-width: 760px; }
.yc-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.yc-benefit { background: var(--wp--preset--color--night-soft); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.yc-benefit > * { margin: 0 !important; }
.yc-benefit h3 { font-size: 30px; }
.yc-benefit p { color: var(--wp--preset--color--mist); }
.yc-benefit--gold { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--night); }
.yc-benefit--gold p { color: var(--wp--preset--color--night); }
.yc-lines { list-style: none; padding: 0; margin: 0; }
.yc-lines li { padding: 16px 0; border-top: 1px solid #CFC5B1; }
.yc-lines li:last-child { border-bottom: 1px solid #CFC5B1; }
.yc-stat { font-size: 15px; color: var(--wp--preset--color--grey); }
.yc-stat strong { font-family: var(--wp--preset--font-family--serif-display); font-weight: 400; font-size: 34px; color: var(--wp--preset--color--cream); vertical-align: middle; margin-right: 6px; }
.yc-contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.yc-contact > .yc-contact__text { flex: 999 1 520px; min-width: 0; }
.yc-contact > .yc-contact__actions { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.yc-contact .wp-block-button, .yc-contact .wp-block-button__link { width: 100%; text-align: center; }
.yc-mockup img { mix-blend-mode: multiply; }

/* Generic page content (privacy, terms, notes) */
.yc-prose .entry-content > * + * { margin-block-start: 1em; }
.yc-prose .entry-content h2 { font-size: clamp(26px, 3vw, 34px); margin-block-start: 1.8em; }
.yc-prose .entry-content p, .yc-prose .entry-content li { color: var(--wp--preset--color--mist); }
.yc-prose .entry-content > h1:first-child { display: none; }
.yc-prose { max-width: 880px; margin-inline: auto; padding-block: 48px 88px; }
.yc-prose h1 { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 32px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Header WhatsApp button and navigation block */
.yc-header .wp-block-navigation-submenu__toggle { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--mist); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.yc-header .wp-block-navigation-submenu__toggle[aria-expanded="true"], .yc-header .wp-block-navigation-submenu__toggle:hover { color: var(--wp--preset--color--gold); }
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--wp--preset--color--night) !important; border: 1px solid rgba(201,162,75,.35) !important; padding: 8px 0 !important; min-width: 210px !important; z-index: 20; }
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container a { display: block; padding: 10px 18px; color: var(--wp--preset--color--mist) !important; font-size: 13px; }
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { color: var(--wp--preset--color--gold) !important; }
.yc-header .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--mist); }
.yc-wa .wp-block-button__link { padding: 10px 20px !important; font-size: 13px !important; letter-spacing: 0.1em; text-transform: uppercase; }
.yc-header .wp-block-site-title { margin: 0; }
.yc-header .wp-block-navigation__container { gap: 8px 26px; }
@media (max-width: 760px) { .yc-header .wp-block-navigation { order: 3; width: 100%; } .yc-header .wp-block-navigation__container { gap: 6px 18px; } }

/* Grid and flex containers: no flow margins between their children */
.yc-hero > *, .yc-paths > *, .yc-cards > *, .yc-offers > *, .yc-related > *, .yc-benefits > *,
.yc-who > *, .yc-duo > *, .yc-split > *, .yc-contact > *, .yc-head-row > *, .yc-footer__row > *,
.yc-header__row > *, .yc-contact__actions > * { margin-block: 0 !important; }
.yc-band > .yc-inner > * + * { margin-block-start: 32px; }
.yc-split__text > * + * { margin-block-start: 18px; }
.yc-split > .yc-mockup, .yc-hero > .yc-mockup { flex: 1 1 400px; min-width: 0; }
.yc-mockup figure { margin: 0; }
.yc-mockup img { display: block; width: 100%; height: auto; }
/* Mockups already sit on paper: no multiply, or they darken */
.yc-mockup img, .yc-frame.yc-frame--plain img { mix-blend-mode: normal; }
.yc-frame.yc-frame--plain { padding: 0; }
/* Side padding on every content row (block themes add it only to "full width" blocks) */
.yc-inner, .yc-hero, .yc-header__row, .yc-footer__row, .yc-paths, .yc-prose {
	box-sizing: content-box;
	padding-inline: clamp(20px, 4vw, 32px);
}
.yc-inner .yc-inner, .yc-band .yc-hero { padding-inline: 0; }
.wp-site-blocks, .yc-main, .yc-main > .entry-content { padding-inline: 0 !important; }

/* "Most booked" label on the highlighted offer */
.yc-offer { position: relative; }
.yc-offer .yc-badge { position: absolute; top: -12px; left: 24px; background: var(--wp--preset--color--gold); color: var(--wp--preset--color--night); font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.yc-offers { padding-top: 12px; }

/* Social Chat (WhatsApp bubble): phone only, the desktop header already has the button */
@media (min-width: 900px) { .qlwapp, #qlwapp, .qlwapp__container { display: none !important; } }
