/*
Theme Name: Roma Nova Photographer
Description: Тема для сайта фотографа Романовой Анастасии, натянута с референса Roma-Nova-photographer-site.
Version: 1.0.0
Author: karpovski1983
Text Domain: roma-nova
*/

:root { color-scheme: light; }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
body {
  background: #FBF7F0;
  color: #1A1714;
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
img { display: block; max-width: 100%; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
input, select, textarea, button { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: #E1462B; color: #FBF7F0; }
::placeholder { color: #A89E92; }
textarea { resize: vertical; }

/* ===================================================================
   NAV (shared header.php)
   =================================================================== */
.nav-burger {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  background: none; border: none; padding: 8px; cursor: pointer; border-radius: 8px; width: 40px; height: 40px;
  transition: background 200ms ease;
}
.nav-burger:hover { background: rgba(40,30,20,0.06); }
.nav-burger span { display: block; width: 22px; height: 2px; background: #1A1714; border-radius: 2px; transition: transform 280ms cubic-bezier(0.25,1,0.5,1), opacity 200ms ease, width 200ms ease; }
.nav-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(251,247,240,0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(230,220,203,0.6); box-shadow: 0 12px 32px rgba(40,30,20,0.12);
  flex-direction: column; padding: 8px 24px 24px; z-index: 100;
}
nav.nav-open .nav-drawer { display: flex; }
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; width: 0; }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer a { padding: 15px 0; font-family: 'Hanken Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: #1A1714; text-decoration: none; border-bottom: 1px solid rgba(230,220,203,0.5); transition: color 200ms ease; display: block; }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: #E1462B; }
.nav-drawer .drawer-cta { margin-top: 12px; background: #E1462B; color: #FBF7F0 !important; padding: 14px 24px !important; border-radius: 999px; text-align: center; border: none !important; box-shadow: 0 6px 18px rgba(225,70,43,0.28); }
.nav-drawer .drawer-cta:hover { background: #BE371F; }
.nav-services { position: relative; }
.nav-services-trigger { display: flex; align-items: center; gap: 5px; }
.nav-services-trigger span { color: #E1462B; transition: transform 200ms ease; }
.nav-services:hover .nav-services-trigger span, .nav-services:focus-within .nav-services-trigger span { transform: rotate(180deg); }
.nav-services-dropdown {
  visibility: hidden; position: absolute; top: calc(100% + 18px); left: 50%; width: 690px;
  padding: 22px; background: rgba(255,253,248,.99); border: 1px solid #E6DCCB;
  box-shadow: 0 22px 50px rgba(40,30,20,.17); opacity: 0; transform: translate(-50%, 8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.nav-services-dropdown::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav-services:hover .nav-services-dropdown, .nav-services:focus-within .nav-services-dropdown { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.nav-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 16px; }
.nav-services-grid a { display: block; padding: 9px 8px; border-radius: 5px; color: #1A1714; font-size: 13px; }
.nav-services-grid a:hover { background: #F3E5C7; color: #E1462B; }
.drawer-services summary { padding: 15px 0; border-bottom: 1px solid rgba(230,220,203,.5); font-size: 17px; font-weight: 600; }
.drawer-services-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 6px 0 12px 14px; }
.nav-drawer .drawer-services-links a { padding: 9px 0; border: 0; color: #655D55; font-size: 14px; }
@media (max-width: 1200px) {
  .nav-links, .nav-social { display: none !important; }
  .nav-burger { display: flex !important; }
}

/* ===================================================================
   HOME SECTIONS (front-page.php) — dc-runtime static cards
   =================================================================== */
.svc-card, .port-card { --rot: 0deg; transition: box-shadow 280ms ease; }
.polaroid-card { transition: filter 280ms ease, box-shadow 280ms ease; }
.polaroid-card:hover { filter: drop-shadow(0 28px 30px rgba(57,38,22,0.36)); z-index: 10; position: relative; }
.svc-card:hover { box-shadow: 0 22px 40px rgba(40,30,20,0.22) !important; z-index: 10; position: relative; }
.port-card:hover { box-shadow: 0 20px 40px rgba(40,30,20,0.2) !important; z-index: 10; position: relative; }
.filter-pill { padding: 10px 20px 9px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1.5px solid #1A1714; background: #FBF7F0; color: #1A1714; transition: all 220ms cubic-bezier(0.25,1,0.5,1); }
.filter-pill.is-active { background: #1A1714; color: #FBF7F0; }
.faq-item button:hover .faq-icon { filter: brightness(1.05); }

/* ===================================================================
   INNER PAGES (about / services / portfolio / reviews / contacts)
   =================================================================== */
.inner-page {
  --cream: #fbf7f0; --paper: #fffdf8; --ink: #1a1714; --muted: #655d55; --line: #e6dccb; --red: #e1462b;
  background: radial-gradient(circle at 10% 10%, rgba(225, 70, 43, .06), transparent 22%), var(--cream);
  color: var(--ink);
  font-family: "Hanken Grotesk", sans-serif;
}
.inner-page * { box-sizing: border-box; }
.inner-page a { color: inherit; text-decoration: none; }
.inner-page img { display: block; max-width: 100%; }
.inner-page main { min-height: 50vh; }

.crumbs { display: flex; align-items: center; gap: 10px; margin: 40px 0 26px; max-width: 1320px; margin-left: auto; margin-right: auto; padding: 0 42px; color: #81776c; font-size: 13px; }
.crumbs a:hover { color: var(--red); }
.paper-label { display: inline-block; padding: 8px 18px 7px; background: #f3e5c7; font-family: "Caveat", cursive; font-size: 22px; font-weight: 700; transform: rotate(-2deg); box-shadow: 0 4px 10px rgba(40,30,20,.09); clip-path: polygon(0 8%, 5% 0, 12% 7%, 22% 1%, 32% 8%, 45% 0, 58% 6%, 70% 0, 82% 7%, 94% 1%, 100% 9%, 98% 92%, 90% 100%, 80% 93%, 68% 100%, 55% 94%, 42% 100%, 30% 93%, 18% 100%, 7% 93%, 0 100%); }

.editorial-hero, .service-hero, .contact-layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 7vw, 110px); align-items: center;
  max-width: 1320px; margin: 0 auto; padding: 20px 42px 80px;
}
.editorial-hero h1, .service-hero h1, .contact-layout h1, .listing-hero h1 {
  margin: 20px 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: .98; letter-spacing: -.025em;
}
.editorial-hero h1, .service-hero h1, .contact-layout h1 { font-size: clamp(54px, 5.6vw, 82px); }
.listing-hero h1 { max-width: 960px; font-size: clamp(54px, 6vw, 86px); }
.editorial-hero h1 i, .contact-layout h1 i { color: var(--red); font-style: normal; }
.lead { max-width: 690px; color: #4a423b; font-size: 18px; line-height: 1.7; }
.signature { margin-top: 30px; color: var(--red); font-family: "Caveat", cursive; font-size: 35px; transform: rotate(-4deg); }

.torn-photo {
  position: relative; margin: 0; padding: 16px 16px 72px; background: var(--paper); box-shadow: 0 24px 55px rgba(40,30,20,.2);
  transform: rotate(2deg);
  clip-path: polygon(2% 2%, 13% 0, 24% 2%, 36% 0, 50% 2%, 63% 0, 76% 3%, 89% 0, 100% 2%, 98% 50%, 100% 98%, 88% 100%, 75% 97%, 61% 100%, 48% 97%, 34% 100%, 20% 97%, 7% 100%, 0 97%, 2% 50%);
}
.torn-photo::before { content: ""; position: absolute; z-index: 2; top: -7px; left: 38%; width: 100px; height: 27px; background: rgba(241,228,196,.9); transform: rotate(-7deg); }
.torn-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.torn-photo figcaption { position: absolute; left: 0; right: 0; bottom: 19px; text-align: center; font-family: "Caveat", cursive; font-size: 24px; font-weight: 700; }

.story-grid, .service-details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1260px; margin: 0 auto; padding: 20px 42px 80px;
}
.story-grid article, .service-details article { min-height: 285px; padding: 36px; border: 1px solid var(--line); background: rgba(255,253,248,.65); }
.story-grid article > span, .section-number { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story-grid h2, .service-details h2 { margin: 16px 0; font-family: "Instrument Serif", serif; font-size: 36px; font-weight: 400; line-height: 1.05; }
.story-grid p, .service-details p, .service-details li { color: var(--muted); line-height: 1.7; }
.note-card { background: #f3e5c7 !important; transform: rotate(-1deg); box-shadow: 0 14px 30px rgba(40,30,20,.1); }
.service-details ul { margin: 0; padding-left: 20px; }
.service-details li { margin: 9px 0; }

.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; border-top: 2px dashed #c9bca9; border-bottom: 2px dashed #c9bca9; }
.facts-strip div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 12px; border-right: 1px solid var(--line); }
.facts-strip div:last-child { border-right: 0; }
.facts-strip strong { color: var(--red); font-family: "Instrument Serif", serif; font-size: 42px; font-weight: 400; }
.facts-strip span { color: var(--muted); font-size: 13px; }

.listing-hero { max-width: 1320px; margin: 0 auto; padding: 20px 42px 55px; }
.listing-hero > p { max-width: 800px; color: var(--muted); font-size: 18px; line-height: 1.7; }

/* ===================================================================
   LEGAL / POLICY PAGES — plain, readable text, no decorative cards
   =================================================================== */
.legal-doc { max-width: 780px; margin: 0 auto; padding: 20px 42px 90px; }
.legal-doc h1 { margin: 20px 0 10px; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -.01em; }
.legal-doc .legal-meta { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.legal-doc h2 { margin: 40px 0 12px; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; padding-top: 28px; border-top: 1px dashed var(--line); }
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; }
.legal-doc p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-doc ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-doc li { margin: 6px 0; }
.legal-doc a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc em { color: var(--ink); font-style: normal; font-weight: 600; }
@media (max-width: 700px) {
  .legal-doc { padding: 10px 20px 60px; }
}

.services-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px 26px; max-width: 1320px; margin: 0 auto; padding: 25px 42px 80px;
}
.service-card { position: relative; display: flex; flex-direction: column; padding: 13px 13px 24px; background: var(--paper); box-shadow: 0 13px 25px rgba(40,30,20,.14); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: 0 24px 42px rgba(40,30,20,.21); }
.service-card img { width: 100%; aspect-ratio: 1/1.08; object-fit: cover; }
.service-card strong { margin: 20px 12px 7px; font-family: "Caveat", cursive; font-size: 25px; line-height: 1.05; }
.service-card small { min-height: 42px; margin: 0 12px; color: var(--muted); line-height: 1.45; }
.service-card em { margin: 15px 12px 0; color: var(--red); font-style: normal; font-weight: 800; }
.pin { position: absolute; top: -9px; left: 50%; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9d79, #a92718 70%); box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.card-tilt-1 { transform: rotate(-1.5deg); } .card-tilt-2 { transform: rotate(1.2deg); } .card-tilt-3 { transform: rotate(-.6deg); } .card-tilt-4 { transform: rotate(1.8deg); }

.service-main-photo img { aspect-ratio: 4/4.6; }
.service-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.service-chips span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 13px; font-weight: 700; }
.mini-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--red); color: #fff !important; font-weight: 700; box-shadow: 0 9px 24px rgba(225, 70, 43, .25); }
.primary-button { margin-top: 28px; padding: 16px 28px; }

.process-band { padding: 78px max(42px, calc((100vw - 1240px) / 2)); background: #e9d7b8; }
.process-band > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.process-band article { position: relative; padding: 28px; background: rgba(255,253,248,.88); box-shadow: 0 10px 24px rgba(40,30,20,.12); }
.process-band article strong { color: var(--red); font-family: "Instrument Serif", serif; font-size: 46px; font-weight: 400; }
.process-band h3 { margin: 7px 0; font-size: 18px; }
.process-band p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.service-showcase { max-width: 1320px; margin: 0 auto; padding: 75px 42px 95px; }
.showcase-heading { display: grid; grid-template-columns: .7fr 1.2fr; gap: 22px 55px; align-items: end; margin-bottom: 45px; }
.showcase-heading .paper-label { justify-self: start; }
.showcase-heading h2 { margin: 0; font-family: "Instrument Serif", serif; font-size: clamp(48px, 5vw, 72px); font-weight: 400; line-height: 1; }
.showcase-heading p { grid-column: 2; max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.showcase-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 18px; }
.showcase-shot { position: relative; margin: 0; padding: 10px 10px 46px; background: var(--paper); box-shadow: 0 15px 32px rgba(40,30,20,.16); transform: rotate(-.7deg); }
.showcase-shot img { width: 100%; height: 100%; object-fit: cover; }
.showcase-shot figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; text-align: center; font-family: "Caveat", cursive; font-size: 19px; font-weight: 700; }
.showcase-shot::before { content: ""; position: absolute; z-index: 2; top: -8px; left: calc(50% - 30px); width: 60px; height: 18px; background: rgba(241,228,196,.9); transform: rotate(-5deg); }
.shot-1 { grid-column: span 5; grid-row: span 2; }
.shot-2 { grid-column: span 3; grid-row: span 2; transform: rotate(1deg); }
.shot-3 { grid-column: span 4; grid-row: span 2; transform: rotate(-1deg); }
.shot-4 { grid-column: span 4; grid-row: span 2; transform: rotate(.7deg); }
.shot-5 { grid-column: span 4; grid-row: span 2; }
.shot-6 { grid-column: span 4; grid-row: span 2; transform: rotate(1.1deg); }
.gallery-note { max-width: 780px; margin: 34px auto 0; padding: 17px 22px; border: 1px dashed #d2c4ac; background: rgba(255,253,248,.75); color: var(--muted); text-align: center; font-size: 13px; line-height: 1.55; }
.process-photo-row { display: grid; grid-template-columns: 1fr 1fr !important; align-items: stretch !important; gap: 40px; margin-top: 38px; }
.process-photo-row figure { position: relative; margin: 0; padding: 11px 11px 44px; background: var(--paper); box-shadow: 0 18px 35px rgba(40,30,20,.18); transform: rotate(-1.5deg); }
.process-photo-row figure img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: center 25%; }
.process-photo-row figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: "Caveat", cursive; font-size: 22px; }
.process-photo-row > div { display: flex; flex-direction: column; justify-content: center; padding: 28px 35px; background: rgba(255,253,248,.84); }
.process-photo-row > div strong { font-family: "Instrument Serif", serif; font-size: 42px; font-weight: 400; }
.process-photo-row > div p { font-size: 16px; line-height: 1.75; }
.partners-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 80px 42px; border-top: 1px solid var(--line); }
.partners-section h2 { margin: 20px 0 14px; font-family: "Instrument Serif", serif; font-size: 56px; font-weight: 400; line-height: 1; }
.partners-section p { color: var(--muted); line-height: 1.7; }
.partner-tags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.partner-tags span { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 18px; border: 1px solid var(--line); background: #fffdf8; color: #514942; font-family: "Instrument Serif", serif; font-size: 23px; text-align: center; box-shadow: 0 8px 18px rgba(40,30,20,.07); }
.partner-tags span:nth-child(2n) { transform: rotate(.7deg); }
.partner-tags span:nth-child(3n) { transform: rotate(-.6deg); background: #f3e5c7; }
.related-section { max-width: 1220px; margin: 0 auto; padding: 80px 42px 20px; }
.related-section h2 { font-family: "Instrument Serif", serif; font-size: 48px; font-weight: 400; }
.related-section > p { max-width: 760px; margin-bottom: 42px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.related-section > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }

.service-case, .format-section, .service-assurance { max-width: 1180px; margin: 0 auto; padding: 76px 42px; }
.service-case { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; border-top: 1px solid var(--line); }
.service-case h2, .format-section h2, .service-assurance h2 { margin: 18px 0 16px; font-family: "Instrument Serif", serif; font-size: clamp(42px, 4vw, 58px); font-weight: 400; line-height: 1; }
.case-intro p, .format-section > div:first-child p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.case-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-columns article { padding: 28px; border: 1px solid var(--line); background: #fffdf8; box-shadow: 0 12px 24px rgba(40,30,20,.07); }
.case-columns article:nth-child(2) { transform: rotate(1deg); }
.case-columns h3 { margin: 0 0 18px; font-family: "Caveat", cursive; font-size: 29px; }
.case-columns ul { display: grid; gap: 12px; margin: 0; padding-left: 19px; color: var(--muted); line-height: 1.45; }
.service-case-commercial .case-columns article:first-child { background: #f3e5c7; }
.service-case-family .case-columns article:first-child { border-radius: 48% 52% 4px 4px / 8% 8% 4px 4px; }
.service-case-portrait .case-columns { transform: translateY(14px); }
.service-case-story .case-columns article:nth-child(2) { background: #f3e5c7; }

.format-section { border-top: 1px solid var(--line); }
.format-section > div:first-child { max-width: 760px; margin-bottom: 34px; }
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.format-cards article { display: flex; flex-direction: column; min-height: 310px; padding: 30px; border: 1px solid var(--line); background: rgba(255,253,248,.76); }
.format-cards article > span { color: var(--red); font-family: "Instrument Serif", serif; font-size: 34px; }
.format-cards h3 { margin: 24px 0 10px; font-family: "Instrument Serif", serif; font-size: 32px; font-weight: 400; }
.format-cards p { color: var(--muted); line-height: 1.65; }
.format-cards strong { margin-top: auto; padding-top: 18px; color: var(--red); }
.format-cards .featured-format { background: #f3e5c7; transform: translateY(-12px) rotate(-.5deg); box-shadow: 0 18px 35px rgba(40,30,20,.1); }
.format-commercial .featured-format { background: var(--ink); color: #fff; }
.format-commercial .featured-format p { color: #ded7ce; }
.format-family .format-cards article { border-radius: 2px 2px 28px 2px; }

.service-assurance { border-top: 2px dashed #c9bca9; }
.service-assurance > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.service-assurance article { padding: 24px 0; border-top: 3px solid var(--red); }
.service-assurance h3 { font-family: "Caveat", cursive; font-size: 27px; }
.service-assurance p { color: var(--muted); line-height: 1.65; }

.service-story, .about-manifesto, .portfolio-guide, .reviews-context {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; max-width: 1180px; margin: 0 auto; padding: 70px 42px; border-top: 1px solid var(--line);
}
.service-story h2, .about-manifesto h2, .portfolio-guide h2, .reviews-context h2, .preparation-section h2 {
  margin: 20px 0 0; font-family: "Instrument Serif", serif; font-size: clamp(42px, 4vw, 60px); font-weight: 400; line-height: 1;
}
.service-story > p, .about-manifesto p, .portfolio-guide > div > p, .reviews-context > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.service-story blockquote { grid-column: 1 / -1; margin: 0; padding: 30px 42px; border-left: 4px solid var(--red); background: #f3e5c7; font-family: "Caveat", cursive; font-size: 28px; line-height: 1.25; transform: rotate(-.4deg); }
.preparation-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; max-width: 1180px; margin: 0 auto; padding: 80px 42px; }
.preparation-section > div > p { color: var(--muted); line-height: 1.7; }
.preparation-section ol { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: prep; }
.preparation-section li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 22px 24px 22px 60px; border: 1px solid var(--line); background: rgba(255,253,248,.7); counter-increment: prep; }
.preparation-section li::before { content: counter(prep); position: absolute; left: 22px; top: 19px; color: var(--red); font-family: "Instrument Serif", serif; font-size: 30px; }
.preparation-section li strong { font-size: 15px; }
.preparation-section li span { color: var(--muted); line-height: 1.5; }
.service-faq, .contact-faq { max-width: 1040px; margin: 0 auto; padding: 70px 42px; }
.service-faq > div { margin-top: 32px; }
.service-faq details, .contact-faq details { border-bottom: 1px solid var(--line); }
.service-faq summary, .contact-faq summary { position: relative; padding: 22px 45px 22px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.service-faq summary::-webkit-details-marker, .contact-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after, .contact-faq summary::after { content: "+"; position: absolute; right: 10px; color: var(--red); font-family: "Instrument Serif", serif; font-size: 30px; }
.service-faq details[open] summary::after, .contact-faq details[open] summary::after { content: "−"; }
.service-faq details p, .contact-faq details p { max-width: 820px; margin: 0 0 24px; color: var(--muted); line-height: 1.7; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filter-pills button { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-family: inherit; font-weight: 700; }
.filter-pills button:first-child { background: var(--ink); color: #fff; }
.portfolio-masonry { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; max-width: 1320px; margin: 0 auto; padding: 12px 42px 80px; }
.work-card { grid-column: span 4; margin: 0; padding: 12px 12px 20px; background: var(--paper); box-shadow: 0 12px 28px rgba(40,30,20,.14); }
.work-card:nth-child(2), .work-card:nth-child(5), .work-card:nth-child(8) { transform: rotate(1.2deg); }
.work-card:nth-child(3n) { transform: rotate(-1deg); }
.work-card img { width: 100%; height: 390px; object-fit: cover; }
.work-2, .work-5 { grid-column: span 5; }
.work-3, .work-4 { grid-column: span 3; }
.work-card figcaption { display: flex; justify-content: space-between; gap: 14px; padding: 16px 6px 0; }
.work-card strong { font-family: "Caveat", cursive; font-size: 23px; }
.work-card span { color: var(--muted); font-size: 12px; }

.reviews-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1240px; margin: 0 auto; padding: 20px 42px 70px; }
.review-note { position: relative; min-height: 315px; padding: 42px 34px 30px; background: #fffdf8; box-shadow: 0 16px 32px rgba(40,30,20,.13); }
.review-note::before { content: ""; position: absolute; top: -9px; left: calc(50% - 45px); width: 90px; height: 22px; background: rgba(241,228,196,.88); transform: rotate(-4deg); }
.review-note p { min-height: 135px; color: #4e463f; font-size: 16px; line-height: 1.65; }
.review-note strong, .review-note small, .review-note em { display: block; }
.review-note small { margin-top: 4px; color: var(--muted); }
.review-note em { margin-top: 16px; color: var(--red); font-style: normal; letter-spacing: .12em; }
.quote { color: var(--red); font-family: "Instrument Serif", serif; font-size: 62px; line-height: .5; }
.note-1 { transform: rotate(-1deg); } .note-2 { transform: rotate(1deg); background: #f3e5c7; } .note-3 { transform: rotate(-.5deg); }
.review-cta { max-width: 1120px; margin: 0 auto; padding: 55px; text-align: center; border: 2px dashed #c9bca9; }
.review-cta h2 { margin: 0; font-family: "Instrument Serif", serif; font-size: 52px; font-weight: 400; }
.reviews-stats, .values-board, .contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; padding: 10px 42px 70px; }
.reviews-stats article, .contact-info-grid article, .values-board article { padding: 30px; border: 1px solid var(--line); background: rgba(255,253,248,.72); }
.reviews-stats strong, .contact-info-grid article > span, .values-board strong { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reviews-stats p, .contact-info-grid p, .values-board p { color: var(--muted); line-height: 1.65; }
.contact-info-grid h2 { margin: 14px 0 10px; font-family: "Instrument Serif", serif; font-size: 34px; font-weight: 400; }
.values-board { grid-template-columns: repeat(4, 1fr); padding-top: 0; }
.values-board h3 { margin: 14px 0 8px; font-family: "Instrument Serif", serif; font-size: 32px; font-weight: 400; }
.about-manifesto > div:last-child { display: grid; gap: 18px; }
.portfolio-guide { align-items: start; }
.portfolio-types { display: grid; gap: 14px; }
.portfolio-types article { padding: 22px 25px; border: 1px solid var(--line); background: rgba(255,253,248,.7); }
.portfolio-types strong { font-family: "Caveat", cursive; font-size: 27px; }
.portfolio-types p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.contact-layout { align-items: start; padding-top: 20px; }
.contact-cards { display: grid; gap: 13px; margin-top: 35px; }
.contact-cards a { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; padding: 20px 24px; border: 1px solid var(--line); background: rgba(255,253,248,.65); transition: transform .2s ease; }
.contact-cards a:hover { transform: translateX(6px); }
.contact-cards span { grid-column: 1 / -1; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-cards small { text-align: right; color: var(--muted); }
.booking-paper { position: relative; display: grid; gap: 17px; padding: 48px; background: #fffdf8; box-shadow: 0 24px 55px rgba(40,30,20,.16); transform: rotate(1deg); }
.booking-paper .tape { position: absolute; top: -10px; left: 34%; width: 120px; height: 27px; background: rgba(241,228,196,.95); transform: rotate(-5deg); }
.booking-paper h2 { margin: 0 0 10px; font-family: "Caveat", cursive; font-size: 36px; }
.booking-paper label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.booking-paper input, .booking-paper select, .booking-paper textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: #fbf7f0; font: inherit; }
.booking-paper button { padding: 15px; border: 0; border-radius: 999px; background: var(--red); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.booking-paper small { color: var(--muted); line-height: 1.45; }
.booking-paper .consent-row { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.booking-paper .consent-row input { width: 16px; height: 16px; margin: 1px 0 0; }

/* ===================================================================
   VALUE-ADD SECTIONS (location/stylist/video) — shared home + service pages.
   Hardcoded hex, not var(--ink) etc., since front-page.php has no .inner-page wrapper.
   =================================================================== */
.value-strip { background: #F3ECDF; padding: 10px 0 6px; }
.value-section { max-width: 1180px; margin: 0 auto; padding: 58px 42px; border-top: 2px dashed #c9bca9; }
.value-strip > .value-section:first-child { border-top: 0; }
.value-head { margin-bottom: 8px; }
.value-head h2 { margin: 16px 0 18px; font-family: "Instrument Serif", serif; font-size: clamp(34px, 3.6vw, 48px); font-weight: 400; line-height: 1.05; color: #1a1714; }
.value-head p.lead { max-width: 760px; color: #4a423b; font-size: 17px; line-height: 1.7; margin: 0; }
.value-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.value-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; background: #1a1714; color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.value-tags span::before { content: "✓"; color: #e1462b; font-weight: 800; }
.value-tags span:hover { background: #e1462b; transform: translateY(-2px); }
.value-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
.value-photo { position: relative; margin: 0; padding: 12px 12px 46px; background: #fffdf8; box-shadow: 0 14px 30px rgba(40,30,20,.15); }
.value-photo-1 { transform: rotate(-1.6deg); } .value-photo-2 { transform: rotate(1.1deg); } .value-photo-3 { transform: rotate(-.7deg); }
.value-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.value-photo .pin { position: absolute; top: -9px; left: 50%; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9d79, #a92718 70%); box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.value-photo figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: "Caveat", cursive; font-size: 19px; font-weight: 700; color: #1a1714; }
.value-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1180px; margin: 20px auto 0; padding: 44px 48px; border: 2px dashed #c9bca9; background: rgba(255,253,248,.6); }
.value-cta h2 { margin: 14px 0 10px; font-family: "Instrument Serif", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.1; color: #1a1714; }
.value-cta p { margin: 0; max-width: 480px; color: #4a423b; font-size: 15px; line-height: 1.6; }
.value-cta > div { flex: 1; }
.btn-cta { flex-shrink: 0; border: 0; border-radius: 999px; padding: 18px 34px; background: #e1462b; color: #fff; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 9px 24px rgba(225,70,43,.3); transition: transform .2s ease, background .2s ease; }
.btn-cta:hover { background: #BE371F; transform: translateY(-2px); }
@media (max-width: 760px) {
  .value-section { padding: 44px 20px; }
  .value-photos { grid-template-columns: 1fr 1fr; }
  .value-photo:nth-child(3) { display: none; }
  .value-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 32px 24px; }
  .value-cta > div { flex: none; }
  .value-cta p { max-width: 100%; }
}

/* ===================================================================
   CALLBACK WIDGET — floating phone button + modal (footer.php)
   =================================================================== */
#roma-call-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; border: none;
  background: #E1462B; color: #FBF7F0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(225,70,43,.4);
  animation: roma-fab-pulse 2.6s ease-in-out infinite;
  transition: transform 200ms ease;
}
#roma-call-fab:hover { transform: scale(1.07); background: #BE371F; }
@keyframes roma-fab-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(225,70,43,.4), 0 0 0 0 rgba(225,70,43,.4); }
  50% { box-shadow: 0 12px 28px rgba(225,70,43,.4), 0 0 0 12px rgba(225,70,43,0); }
}
.roma-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.roma-modal.is-open { display: flex; }
.roma-modal-backdrop { position: absolute; inset: 0; background: rgba(26,23,20,.55); backdrop-filter: blur(2px); }
.roma-modal-card {
  position: relative; width: min(420px, 100%); padding: 40px 32px 32px; background: #FFFCF6;
  box-shadow: 0 30px 60px rgba(40,30,20,.3); transform: rotate(-.6deg);
}
.roma-modal-card .tape { position: absolute; top: -12px; left: 32%; width: 110px; height: 26px; background: rgba(241,228,196,.95); transform: rotate(-5deg); }
.roma-modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; color: #6B635A; }
.roma-modal-card h2 { margin: 0 0 8px; font-family: 'Caveat', cursive; font-size: 34px; color: #1A1714; }
.roma-modal-lead { margin: 0 0 22px; color: #655D55; font-size: 14px; line-height: 1.55; }
.roma-modal-card form { display: grid; gap: 14px; }
.roma-modal-card label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: #1A1714; }
.roma-modal-card input { width: 100%; padding: 12px 14px; border: 1px solid #E6DCCB; background: #FBF7F0; font: inherit; }
.roma-modal-card .roma-modal-consent { display: grid; grid-template-columns: 16px 1fr; align-items: start; gap: 8px; font-size: 12px; font-weight: 500; color: #655D55; line-height: 1.4; }
.roma-modal-card .roma-modal-consent input { width: 16px; height: 16px; margin: 1px 0 0; padding: 0; }
.roma-modal-card .roma-modal-consent a { color: #E1462B; border-bottom: 1px solid #E1462B; }
.roma-modal-card button[type=submit] { margin-top: 4px; padding: 15px; border: 0; border-radius: 999px; background: #E1462B; color: #fff; font: inherit; font-weight: 800; }
.roma-modal-card button[type=submit]:disabled { opacity: .6; }
.roma-modal-status { min-height: 18px; margin: 4px 0 0; font-size: 13px; color: #655D55; }
.roma-modal-status.is-success { color: #E1462B; font-weight: 700; }

@media (max-width: 1050px) {
  .services-wall { grid-template-columns: repeat(3, 1fr); }
  .editorial-hero, .service-hero, .contact-layout { gap: 45px; }
  .reviews-board { grid-template-columns: repeat(2, 1fr); }
  .process-band > div { grid-template-columns: repeat(2, 1fr); }
  .showcase-heading { grid-template-columns: 1fr; }
  .showcase-heading p { grid-column: auto; }
  .partners-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .editorial-hero, .service-hero, .contact-layout { grid-template-columns: 1fr; padding: 46px 20px 55px; }
  .torn-photo { max-width: 470px; margin: 0 auto; }
  .story-grid, .service-details { grid-template-columns: 1fr; padding: 0 20px 55px; }
  .facts-strip { grid-template-columns: repeat(2, 1fr); margin: 0 20px; }
  .listing-hero { padding: 46px 20px 35px; }
  .services-wall { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 20px 20px 55px; }
  .process-band { padding: 55px 20px; }
  .process-band > div { grid-template-columns: 1fr; }
  .service-showcase { padding: 55px 20px 65px; }
  .showcase-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
  .showcase-shot, .shot-1, .shot-2, .shot-3, .shot-4, .shot-5, .shot-6 { grid-column: auto; grid-row: auto; padding: 7px 7px 38px; transform: none; }
  .process-photo-row { grid-template-columns: 1fr; }
  .partners-section { grid-template-columns: 1fr; gap: 30px; padding: 55px 20px; }
  .partner-tags { grid-template-columns: 1fr 1fr; gap: 9px; }
  .related-section { padding: 55px 20px 10px; }
  .related-section > div { grid-template-columns: 1fr; }
  .service-story, .about-manifesto, .portfolio-guide, .reviews-context, .preparation-section, .service-case { grid-template-columns: 1fr; gap: 28px; padding: 55px 20px; }
  .case-columns, .format-cards, .service-assurance > div { grid-template-columns: 1fr; }
  .format-section, .service-assurance { padding: 55px 20px; }
  .format-cards .featured-format { transform: none; }
  .preparation-section li { grid-template-columns: 1fr; padding: 20px 18px 20px 55px; }
  .service-faq, .contact-faq { padding: 55px 20px; }
  .portfolio-masonry { grid-template-columns: 1fr 1fr; padding: 10px 20px 55px; gap: 12px; }
  .work-card, .work-2, .work-3, .work-4, .work-5 { grid-column: auto; padding: 7px 7px 13px; transform: none !important; }
  .work-card img { height: 250px; }
  .reviews-board { grid-template-columns: 1fr; padding: 15px 20px 55px; }
  .reviews-stats, .contact-info-grid, .values-board { grid-template-columns: 1fr; padding: 10px 20px 55px; }
  .review-cta { margin: 0 20px; padding: 40px 20px; }
  .booking-paper { padding: 35px 22px; transform: none; }
  #roma-call-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

.hero-photo-backdrop {
  clip-path: polygon(2% 2%, 13% 0, 24% 2%, 36% 0, 50% 2%, 63% 0, 76% 3%, 89% 0, 100% 2%, 98% 50%, 100% 98%, 88% 100%, 75% 97%, 61% 100%, 48% 97%, 34% 100%, 20% 97%, 7% 100%, 0 97%, 2% 50%);
}

/* torn-paper cut edges restored after the WordPress migration */
.hero-photo-main {
  clip-path: polygon(2% 3%, 12% 0%, 24% 4%, 36% 0%, 48% 3%, 62% 0%, 74% 4%, 86% 0%, 100% 4%, 96% 50%, 100% 96%, 88% 100%, 76% 96%, 64% 100%, 50% 96%, 38% 100%, 26% 96%, 14% 100%, 0% 96%, 4% 50%);
}
.hero-heading-1 {
  clip-path: polygon(0% 12%, 4% 0%, 12% 8%, 22% 2%, 32% 10%, 44% 0%, 56% 6%, 68% 0%, 80% 8%, 92% 2%, 100% 10%, 98% 50%, 100% 88%, 92% 100%, 80% 92%, 68% 100%, 56% 92%, 44% 100%, 32% 90%, 22% 100%, 12% 92%, 4% 100%, 0% 88%);
}
.hero-heading-2 {
  clip-path: polygon(0% 10%, 6% 0%, 14% 6%, 24% 0%, 34% 8%, 46% 2%, 58% 10%, 70% 0%, 82% 6%, 92% 0%, 100% 12%, 98% 52%, 100% 90%, 92% 100%, 82% 90%, 70% 100%, 58% 92%, 46% 100%, 34% 92%, 24% 100%, 14% 92%, 6% 100%, 0% 90%);
}
.hero-bubble-top > div:first-child {
  clip-path: polygon(0% 4%, 10% 0%, 22% 6%, 38% 0%, 56% 4%, 74% 0%, 88% 4%, 100% 0%, 96% 48%, 100% 100%, 84% 96%, 68% 100%, 52% 96%, 36% 100%, 20% 96%, 4% 100%, 0% 50%);
}

/* ===================================================================
   HOME PAGE (front-page.php) — mobile fixes for inline-styled grids.
   Inline style="" wins over plain CSS, so these need !important.
   =================================================================== */
@media (max-width: 700px) {
  .nav-bar { padding: 12px 20px !important; }
  #hero { padding: 16px 20px 0 !important; min-height: 100dvh !important; padding-bottom: 0 !important; }
  #about, #services, #portfolio, #process, #testimonials, #faq, #booking {
    padding-left: 20px !important; padding-right: 20px !important;
  }

  /* HERO — single column, decorations stripped, photo flows in-document */
  .hero-grid { grid-template-columns: 1fr !important; gap: 0 !important; min-height: 0 !important; padding-top: 0 !important; }
  .hero-photo-wrap { min-height: 0 !important; }
  .hero-photo-backdrop { display: none !important; }
  .hero-photo-main {
    position: relative !important; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
    width: 100% !important; height: 46dvh !important; transform: none !important; aspect-ratio: auto !important;
  }
  .hero-photo-main img { object-position: top center !important; }
  .hero-privet, .hero-doodle-row { display: none !important; }
  .hero-bubble-top, .hero-bubble-bot, .hero-squiggle { display: none !important; }
  .hero-heading-1 { margin-bottom: 6px !important; }
  .hero-copy > * { margin-left: 0 !important; }
  .hero-cta-row { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .hero-cta-row a { justify-content: center !important; }
  .hero-h1 { white-space: normal !important; font-size: clamp(34px, 10vw, 56px) !important; }

  /* the polaroid/cork strip is a desktop-only flourish — hidden on mobile, same as the reference */
  .hero-polaroid-strip-wrap { display: none !important; }

  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-stats { max-width: 100% !important; }
  .svc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 18px 12px !important; }
  #roma-home-gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .process-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .process-dashed-line { display: none !important; }
  .testi-grid { grid-template-columns: 1fr !important; }
  .booking-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .booking-form-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }
  .booking-form-grid label { grid-column: 1 / -1 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-cities-panel { left: auto !important; right: 0 !important; width: min(320px, calc(100vw - 40px)) !important; }
}

/* ===================================================================
   FOOTER — cities-served dropdown
   =================================================================== */
.footer-cities { position: relative; list-style: none; }
.footer-cities details { position: static; }
.footer-cities summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  list-style: none; color: #A89E92; font-size: 14px; transition: color 200ms ease;
}
.footer-cities summary::-webkit-details-marker { display: none; }
.footer-cities summary:hover { color: #FBF7F0; }
.footer-cities-caret { font-size: 10px; color: #6b635a; transition: transform 200ms ease; }
.footer-cities[open] .footer-cities-caret { transform: rotate(180deg); }
.footer-cities-panel {
  position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 60;
  width: 360px; max-width: calc(100vw - 40px); max-height: 320px; overflow-y: auto;
  background: #241f1a; border: 1px solid #3B342D; border-radius: 10px;
  padding: 18px 20px; box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}
.footer-cities-group + .footer-cities-group { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #3B342D; }
.footer-cities-group strong { display: block; margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #A89E92; }
.footer-cities-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.footer-cities-tags span { font-size: 13px; line-height: 1; color: #FBF7F0; background: rgba(255,255,255,0.07); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.footer-cities-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: #A89E92; }
.footer-cities-note a { color: #E1462B; border-bottom: 1px solid #E1462B; }
