:root {
  color-scheme: light;
  --plum: #5b183e;
  --wine: #78284f;
  --wine-dark: #4d1235;
  --gold: #e4a528;
  --ink: #33303b;
  --muted: #685d6b;
  --soft: #fcf5f8;
  --blush: #f8edf1;
  --border: #ead9df;
  --shadow: 0 11px 32px rgba(76, 28, 55, .075);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-dark); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; color: var(--plum); line-height: 1.16; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.03em; }
h3 { font-size: 1.4rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.shell { width: min(100% - 48px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 99; top: -70px; left: 20px; padding: 10px 16px; background: white; }
.skip-link:focus { top: 8px; }

/* Logotipo original: la imagen tiene márgenes transparentes internos. */
.site-header { z-index: 20; position: relative; background: #fff; box-shadow: 0 1px 15px rgba(91, 24, 62, .07); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 91px; }
.brand { flex: none; display: block; }
.brand-window { width: 360px; height: 73px; overflow: hidden; display: block; }
.brand-window img { width: 360px; height: auto; max-width: none; margin-top: -23px; }
.main-nav { display: flex; gap: clamp(15px, 2.5vw, 39px); align-items: center; }
.main-nav > a:not(.btn) { color: #2e2330; font-size: 1rem; font-weight: 600; padding: 10px 0; white-space: nowrap; }
.main-nav > a:not(.btn):hover { color: var(--wine); }
.main-nav a[href="/"] { color: var(--wine); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 13px 24px; min-height: 52px; border: 1.5px solid transparent; border-radius: 999px; font-size: 1rem; line-height: 1.25; font-weight: 700; text-align: center; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.btn svg { height: 21px; width: 21px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--wine-dark), #8b315c); border-color: var(--wine-dark); box-shadow: 0 5px 14px rgba(91, 24, 62, .13); }
.btn-primary:hover { color: #fff; background: var(--plum); }
.btn-outline { color: var(--plum); background: rgba(255,255,255,.62); border-color: var(--wine); }
.btn-outline:hover { background: #fff; color: var(--plum); }
.btn-small { min-height: 45px; padding: 9px 22px; }
.nav-call { white-space: nowrap; font-size: .9rem; padding-inline: 18px; }
.consultation-box { width: 100%; max-width: 640px; margin: 19px 0 0; }
.consultation-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.consultation-button { display: flex; align-items: center; justify-content: center; text-align: left; gap: 13px; padding: 15px 16px; min-height: 76px; border-radius: 15px; border: 1px solid transparent; box-shadow: 0 9px 18px rgba(65,25,50,.12); transition: transform .2s, box-shadow .2s; }
.consultation-button:hover { transform: translateY(-2px); box-shadow: 0 14px 22px rgba(65,25,50,.17); }
.consultation-button:focus-visible { outline-offset: 4px; }
.consultation-button svg { flex: none; width: 27px; height: 27px; }
.consultation-button span { display: block; min-width: 0; }
.consultation-button strong { display: block; font-size: .98rem; line-height: 1.2; }
.consultation-button small { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.25; font-weight: 600; }
.consultation-806 { background: linear-gradient(125deg, #571638, #853259); color: #fff; border-color: #571638; }
.consultation-806:hover { color: #fff; }
.consultation-card { background: linear-gradient(120deg, #ffedbe, #f0c969); color: #4c1734; border-color: #e4bd68; }
.consultation-card:hover { color: #4c1734; }
.consultation-rate { margin: 9px 0 0 !important; color: #512441; font-size: .81rem !important; line-height: 1.4 !important; font-weight: 700; }
.recharge-help { margin: 10px 0 0 !important; color: #62475b; font-size: .88rem !important; line-height: 1.45 !important; }
.consultation-selection { margin: 13px 0 0 !important; padding: 10px 13px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(249,225,170,.3); color: #512441; font-size: .91rem !important; line-height: 1.48 !important; }
.consultation-selection strong { font-weight: 800; }
.recharge-help a { font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.consultation-terms { display: inline-block; margin-top: 6px; font-size: .83rem; text-decoration: underline; text-underline-offset: 2px; }
.consultation-box.is-compact { margin-top: 13px; }
.consultation-box.is-compact .consultation-buttons { grid-template-columns: 1fr; gap: 10px; }
.consultation-box.is-compact .consultation-button { min-height: 65px; padding: 11px 13px; }
.consultation-box.is-compact .consultation-button strong { font-size: .9rem; }
.consultation-box.is-compact .consultation-button small { font-size: .78rem; }
.consultation-box.is-compact .recharge-help { font-size: .83rem !important; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; width: 43px; height: 43px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; border-radius: 2px; background: var(--plum); }

/* Portada */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff9fc 0%, #fbebf2 60%, #eee1e7 100%); }
.hero-grid { display: grid; grid-template-columns: 51% 49%; min-height: 380px; }
.hero-content { z-index: 1; align-self: center; padding: 34px 28px 36px 0; }
.eyebrow, .kicker { display: inline-block; font-weight: 800; color: var(--wine); font-size: .8rem; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { margin-bottom: 17px; max-width: 650px; font-size: clamp(2.5rem, 4.4vw, 4.15rem); }
.hero h1 em { display: block; font-style: normal; }
.gold-rule { display: block; width: 58px; height: 4px; background: var(--gold); margin-bottom: 20px; }
.hero h2 { font-size: clamp(1.35rem, 2vw, 1.86rem); margin: 0 0 5px; }
.hero p { font-size: 1.09rem; margin-bottom: 22px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.hero-directory-link { margin: 12px 0 0 !important; font-size: .91rem !important; font-weight: 700; }
.hero-directory-link a { text-decoration: underline; text-underline-offset: 3px; }
.hero-photo { background: url('/assets/mejores-tarotistas.jpg') center/cover no-repeat; min-height: 360px; position: relative; margin-right: calc((min(100vw, 1280px) - 100vw) / 2); }
.hero-photo:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff8fb 0%, rgba(255,248,251,.45) 13%, transparent 34%); }
.notice-bar { background: linear-gradient(90deg, #fae6af, #f7d895, #fae6af); padding: 11px 16px; font-family: Georgia, serif; color: var(--plum); font-size: .99rem; font-weight: 700; text-align: center; }

/* Listados */
.section { padding: 62px 0; }
.section-cities { background: linear-gradient(#fffafd, #fff); }
.section-provinces { background: #fff; }
.section-heading { display: flex; justify-content: center; align-items: center; gap: 26px; margin-bottom: 35px; text-align: center; }
.section-heading h2 { margin: 0; }
.section-heading > span { width: 78px; height: 2px; background: var(--gold); }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.city-card { overflow: hidden; display: block; border-radius: 16px; background: #fff; border: 1px solid #eadbe0; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.city-card:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(76, 28, 55, .14); }
.city-card img { width: 100%; height: 201px; object-fit: cover; }
.city-card img.photo-portrait, .territory-card img.photo-portrait, .page-hero img.photo-portrait { object-position: center 27%; }
.city-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 17px 12px; }
.city-name { color: var(--plum); font: 700 1.55rem/1.2 Georgia, serif; }
.city-link { font-size: .89rem; color: var(--plum); font-weight: 650; white-space: nowrap; }
.arrow { font-size: 1.2em; vertical-align: -.02em; margin-left: 3px; }
.more-cities { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 25px 0 18px; text-align: center; }
.more-cities:before, .more-cities:after { content: ''; width: 55px; height: 2px; background: var(--gold); }
.city-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 1050px; margin: auto; }
.city-links a { display: inline-flex; gap: 2px; align-items: center; background: var(--soft); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: .87rem; }
.city-links a:hover { background: #f2e4eb; }

/* Directorio nacional: una fotografía optimizada distinta por territorio */
.directory-hero .page-hero-grid { grid-template-columns: 1fr .82fr; }
.directory-hero h1 { font-size: clamp(2.5rem, 4.1vw, 4.1rem); }
.directory-heading { text-align: center; max-width: 850px; margin: 0 auto 26px; }
.directory-heading h2 { margin-bottom: 8px; }
.directory-heading p { color: var(--muted); }
.region-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1150px; margin: 0 auto 44px; }
.region-jumps a { border: 1px solid var(--border); border-radius: 999px; background: #fff8fa; padding: 7px 12px; font-weight: 650; font-size: .82rem; }
.region-jumps a:hover { background: var(--blush); }
.territory-groups { display: grid; gap: 52px; }
.territory-group { scroll-margin-top: 22px; }
.territory-group h2 { border-bottom: 2px solid var(--gold); padding-bottom: 13px; margin-bottom: 19px; font-size: 1.8rem; }
.territory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.territory-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.territory-card:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(76, 28, 55, .14); }
.territory-card img { width: 100%; height: 158px; object-fit: cover; }
.territory-card-text { display: flex; flex: 1; flex-direction: column; padding: 14px 15px; }
.territory-card strong { color: var(--plum); font: 700 1.35rem/1.25 Georgia, serif; }
.territory-card small { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.territory-card-text > span { display: block; color: var(--wine); font-weight: 700; font-size: .84rem; margin-top: auto; padding-top: 12px; }
.province-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 62px; align-items: start; }
.province-main { min-width: 0; }
.province-main > h2:first-of-type { margin-top: 5px; }
.province-main > h2:not(:first-of-type) { padding-top: 20px; margin-top: 32px; border-top: 1px solid var(--border); }
.localities { columns: 2; column-gap: 25px; padding: 0 0 0 22px; }
.related-territory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.how-section { padding-top: 25px; background: #fff; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.info-card { display: flex; align-items: flex-start; gap: 17px; border: 1px solid var(--border); border-radius: 15px; background: var(--soft); padding: 20px 23px; }
.info-icon { display: grid; place-items: center; color: var(--plum); border: 2px solid var(--wine); border-radius: 50%; width: 51px; height: 51px; font-size: 1.9rem; line-height: 1; flex: none; }
.info-card h3 { font-size: 1.36rem; margin: 0 0 3px; }
.info-card p { font-size: .91rem; line-height: 1.45; margin: 0; }
.editorial-section { background: linear-gradient(115deg, #fdf5f8, #fff9fb); border-top: 1px solid var(--border); }
.editorial-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.editorial-grid h2 { max-width: 460px; }
.editorial-text p { margin-bottom: 16px; }
.brand-quote { padding: 10px 0 10px 20px; margin: 0 0 20px; border-left: 3px solid var(--gold); color: var(--plum); font: italic 1.13rem/1.7 Georgia, serif; }
.home-original-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 6vw, 95px); align-items: start; }
.home-original-grid h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); }
.home-original-body p { margin-bottom: 17px; }
.home-original-body .brand-quote { background: transparent; }
.home-original-body .brand-quote p { margin: 0; color: inherit; font: inherit; }
.home-original-direct { color: var(--plum); font: italic 1.16rem/1.65 Georgia, 'Times New Roman', serif !important; }
.home-original-lead { color: var(--muted); font-size: 1.07rem; line-height: 1.75; }
.home-selection-section { background: linear-gradient(110deg, #fff7fa, #fffcfd); }
.home-opinions-section { background: #fff; }
.home-opinions-section .home-original-grid { grid-template-columns: 1.25fr .75fr; }
.home-opinions-section .home-original-body h2 { margin-top: 0; }
.home-choice-panel { border: 1px solid var(--border); border-radius: 18px; padding: 31px; background: linear-gradient(145deg, #fcf0f5, #fff9fc); box-shadow: var(--shadow); }
.home-choice-panel h3 { margin-bottom: 16px; font-size: 1.75rem; }
.home-choice-panel p { line-height: 1.75; margin-bottom: 22px; }
.home-payments-section { background: #fff9fc; border-top: 1px solid var(--border); }
.home-payments-heading { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.home-payments-heading h2 { margin-bottom: 15px; }
.home-payments-heading p { color: var(--muted); font-size: 1.04rem; }
.home-payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.home-payment-article { padding: 29px 32px; background: #fff; border: 1px solid var(--border); border-radius: 17px; box-shadow: var(--shadow); }
.home-payment-article h2 { margin: 0 0 18px; font-size: clamp(1.75rem, 2.45vw, 2.2rem); }
.home-payment-article p:last-child { margin-bottom: 0; }
.home-payment-action { display: grid; grid-template-columns: .85fr 1.15fr; gap: 35px; align-items: center; margin-top: 30px; padding: 27px 32px; background: linear-gradient(110deg, #f8e7ef, #fff7e7); border: 1px solid var(--border); border-radius: 18px; }
.home-payment-action h3 { font-size: 1.65rem; margin-bottom: 10px; }
.home-payment-action > div:first-child p { margin: 0; color: var(--muted); }
.home-payment-action .consultation-box { margin: 0; }
.themes-section { background: #fff; }
.theme-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.theme-card { background: var(--soft); border: 1px solid var(--border); border-radius: 15px; padding: 25px; }
.theme-card > span { display: inline-block; margin-bottom: 6px; color: var(--wine); font: 2.2rem Georgia,serif; }
.theme-card h3 { margin: 0 0 12px; }
.theme-card p { margin: 0; font-size: .92rem; line-height: 1.65; }
.city-personal-voice { margin: 20px 0 25px; color: var(--wine); font: italic 1.23rem/1.7 Georgia, 'Times New Roman', serif !important; }
.text-link { font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.section-intro { max-width: 760px; margin: -18px auto 26px; color: var(--muted); text-align: center; }
.guides-section { background: #fff7fa; }
.guides-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: white; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(76,28,55,.12); }
.guide-card img { width: 100%; height: 165px; object-fit: cover; }
.guide-card-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 17px; }
.guide-card strong { display: block; color: var(--plum); font: 700 1.35rem Georgia,serif; }
.guide-card span span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; color: #5d545e; font-size: .88rem; line-height: 1.5; }
.guide-card b { display: block; margin-top: auto; color: var(--wine); font-size: .88rem; }

/* Interior: categoría, ciudades y legales */
.breadcrumbs { padding: 14px 0; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; font-size: .82rem; color: #796e78; }
.breadcrumbs a { color: #786375; }
.page-hero { padding: 40px 0 47px; background: linear-gradient(112deg,#fff8fb,#f9eaf1); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; }
.page-hero h1 { margin: 0 0 18px; font-size: clamp(2.55rem, 4.4vw, 4.3rem); }
.page-hero p { font-size: 1.04rem; max-width: 640px; }
.page-hero img { border-radius: 18px; width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 14px 40px rgba(91,24,62,.12); }
.cta-note { color: #684b5d; font-size: .85rem !important; margin: 12px 0 0; }
.prose { color: #3f3942; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.85; }
.prose h2 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); margin: 23px 0 15px; }
.prose h3, .prose h4 { font-size: 1.35rem; margin: 21px 0 10px; }
.prose ul, .prose ol { padding-left: 28px; }
.prose li { margin-bottom: 10px; }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 70px; }
.content-narrow { max-width: 880px; }
.content-narrow .kicker { margin-bottom: 0; }
.soft-panel { margin: 28px 0 0; padding: 23px 28px; border-radius: 15px; background: var(--soft); border: 1px solid var(--border); }
.soft-panel h3 { margin: 0 0 9px; }
.soft-panel p { margin-bottom: 8px; }
.soft-panel a { font-weight: 750; }
.cross-links-section { padding-block: 10px 55px; background: #fff; }
.cross-links-section h2 { font-size: 1.8rem; margin-bottom: 18px; }
.cross-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cross-links a { display: inline-block; flex: 1 1 200px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff8fb; color: var(--plum); font-size: .92rem; font-weight: 750; }
.cross-links a:hover { background: #f5e6ed; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 66px; align-items: start; }
.guide-main { min-width: 0; }
.guide-part:not(:first-child) { margin-top: 42px; padding-top: 12px; border-top: 1px solid var(--border); }
.guide-part h2 { margin-top: 0; }
.guide-aside { position: sticky; top: 25px; padding: 25px; border: 1px solid var(--border); border-radius: 17px; background: var(--soft); }
.guide-aside h2 { font-size: 1.7rem; margin-bottom: 12px; }
.guide-aside p { font-size: .94rem; line-height: 1.6; }
.guide-aside .btn { width: 100%; padding-inline: 8px; font-size: .91rem; }
.guide-aside .aside-link { display: block; margin-top: 16px; font-weight: 750; font-size: .91rem; }
.faq-section { margin-top: 52px; padding-top: 15px; border-top: 2px solid var(--gold); }
.faq-item { margin: 22px 0; border-bottom: 1px solid var(--border); padding-bottom: 9px; }
.faq-item h3 { font-size: 1.22rem; }
.faq-item p { margin-bottom: 0; }
.related-section { background: #fff8fa; }
.all-cities-link { text-align: center; margin: 29px 0 0; }
.legal-head { padding: 22px 0 30px; background: #fff6fa; }
.legal-head h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); margin: 0; }
.legal-prose { max-width: 950px; }
.legal-prose h4 { text-transform: none; }
.legal-prose blockquote { padding: 17px 22px; margin: 15px 0; border-left: 4px solid var(--gold); background: var(--soft); }
.legal-prose table { max-width: 100%; border-collapse: collapse; }
.legal-prose td, .legal-prose th { padding: 8px; border: 1px solid var(--border); }
.source-alert { background: #fff0d1; border-left: 4px solid var(--gold); padding: 13px 17px; font-size: .88rem !important; }
.not-found { min-height: 53vh; text-align: center; }

/* Pie */
.site-footer { color: #fff; background: linear-gradient(90deg, #5e234a, #83315f); padding: 20px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer-brand { font: 1.5rem Georgia, serif; color: #fff; }
.footer-brand:hover { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0; }
.site-footer nav a { display: block; color: #fff; font-size: .85rem; padding: 2px 18px; border-right: 1px solid rgba(255,255,255,.56); }
.site-footer nav a:last-child { border-right: 0; padding-right: 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-tariff { max-width: 469px; margin: 22px auto 4px; text-align: center; }
.footer-tariff-title { margin: 0 0 7px; color: #fff; font: 700 1.16rem/1.25 Georgia, 'Times New Roman', serif; }
.footer-tariff img { display: block; width: 100%; height: auto; object-fit: contain; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-links nav { justify-content: flex-end; }
.footer-privacy-button { border: 0; background: transparent; color: #fff; cursor: pointer; font: 600 .85rem/1.65 system-ui, sans-serif; padding: 2px 0 2px 18px; }
.footer-privacy-button:hover { text-decoration: underline; }

/* Preferencias de privacidad: sin rastreadores opcionales en esta versión. */
.privacy-dialog { position: fixed; inset: auto 18px 18px auto; transform: none; width: min(375px, calc(100vw - 28px)); max-width: none; max-height: min(88dvh, 780px); margin: 0; overflow-y: auto; padding: 16px 16px 14px; color: #f8f3fa; background: radial-gradient(ellipse at 15% 0%, #271729, #170e1d 67%, #120b17); border: 1px solid rgba(236, 193, 101, .52); border-radius: 21px; box-shadow: 0 8px 26px rgba(24, 9, 27, .18); font: 400 13px/1.52 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; z-index: 1000; }
.privacy-dialog button { cursor: pointer; font-family: inherit; }
.privacy-header { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.privacy-monogram { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(140deg, #f8df99, #e1b54d); color: #3a2130; font: 700 15px/1 Georgia, serif; }
.privacy-brand { min-width: 0; flex: 1; }
.privacy-brand strong { display: block; color: #fff; font-size: 12px; line-height: 1.15; letter-spacing: .02em; }
.privacy-brand small { display: block; margin-top: 3px; color: #c4adc6; font-size: 10px; font-weight: 800; letter-spacing: .065em; }
.privacy-close { display: grid; flex: 0 0 32px; place-items: center; height: 32px; border: 1px solid #473344; border-radius: 10px; background: #251a29; color: #f3e9f1; font-size: 20px; line-height: 1; }
.privacy-close:hover { background: #3a273c; }
.privacy-dialog h2 { color: #fff; font: 700 21px/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.02em; margin: 0 0 11px; }
.privacy-intro { color: #eadfeb; font-size: 12.5px; line-height: 1.55; margin: 0 0 14px; }
.privacy-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.privacy-choice { min-height: 44px; border: 1.5px solid #e1b85d; border-radius: 10px; font-size: 13px; font-weight: 800; }
.privacy-accept { background: #efca71; color: #1f1320; }
.privacy-accept:hover { background: #f9d98e; }
.privacy-reject { background: #382337; color: #fff; }
.privacy-reject:hover { background: #50324c; }
.privacy-preferences-toggle { display: block; width: 100%; margin-top: 8px; min-height: 39px; border: 1px solid #453145; border-radius: 10px; background: #281c2d; color: #fff; font-size: 12.5px; font-weight: 750; }
.privacy-preferences-toggle:hover { background: #38263d; }
.privacy-details { margin-top: 11px; padding: 11px; border: 1px solid #403043; border-radius: 10px; background: rgba(255,255,255,.035); }
.privacy-details[hidden] { display: none; }
.privacy-category { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.095); }
.privacy-category:last-of-type { border-bottom: 0; }
.privacy-category strong { display: block; color: #fff; font-size: 12px; }
.privacy-category small { display: block; margin-top: 2px; color: #cfc1d1; font-size: 11px; line-height: 1.35; }
.privacy-status { flex: 0 0 auto; color: #f5d584; font-size: 10px; font-weight: 750; }
.privacy-disclaimer { margin: 10px 0; color: #cfc1d1; font-size: 11px; }
.privacy-save { width: 100%; min-height: 38px; border: 1px solid #e1b85d; border-radius: 9px; background: #efca71; color: #241321; font-size: 12px; font-weight: 800; }
.privacy-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; padding-top: 12px; margin-top: 14px; border-top: 1px solid #302333; }
.privacy-legal a { color: #f0cd71; font-size: 10.5px; font-weight: 750; }
.privacy-legal a:hover { color: #ffdf8d; text-decoration: underline; }

@media (max-width: 1130px) {
  .brand-window { width: 286px; height: 58px; }
  .brand-window img { width: 286px; height: auto; margin-top: -19px; }
  .main-nav { gap: 17px; }
  .main-nav > a:not(.btn) { font-size: .92rem; }
  .nav-call { padding: 9px 15px; }
  .main-nav { gap: 10px; }
  .main-nav > a:not(.btn) { font-size: .86rem; }
  .hero-actions .btn { padding-inline: 17px; }
}

@media (max-width: 850px) {
  .shell { width: min(100% - 32px, 1280px); }
  .header-row { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 18px 18px; background: white; border-top: 1px solid var(--border); box-shadow: 0 12px 15px rgba(91,24,62,.1); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 11px 4px; font-size: 1rem; }
  .main-nav .nav-call { align-self: start; margin-top: 9px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 45px 0 28px; }
  .hero h1 { max-width: 680px; }
  .hero-photo { min-height: 300px; margin: 0 -16px; }
  .hero-photo:before { display: none; }
  .city-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-grid, .page-hero-grid, .two-columns, .home-original-grid, .home-opinions-section .home-original-grid, .home-payment-action { grid-template-columns: 1fr; gap: 18px; }
  .home-payment-grid { grid-template-columns: 1fr; }
  .page-hero-grid img { max-height: 360px; }
  .guides-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-layout { grid-template-columns: 1fr; gap: 22px; }
  .guide-aside { position: static; }
  .directory-hero .page-hero-grid, .province-layout { grid-template-columns: 1fr; gap: 24px; }
  .territory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .related-territory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-links { align-items: flex-start; }
  .footer-links nav { justify-content: flex-start; }
}

@media (max-width: 580px) {
  .privacy-dialog { bottom: max(10px, env(safe-area-inset-bottom)); padding: 16px; border-radius: 17px; max-height: calc(100dvh - 25px); }
  .privacy-dialog h2 { font-size: 22px; }
  .privacy-brand strong { font-size: 11px; }
  .footer-privacy-button { padding: 3px 0; text-align: left; }
  .brand-window { width: 232px; height: 47px; }
  .brand-window img { width: 232px; height: auto; margin-top: -15px; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.25rem); }
  .hero h2 { font-size: 1.32rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .consultation-buttons { grid-template-columns: 1fr; gap: 10px; }
  .consultation-button { justify-content: flex-start; min-height: 69px; }
  .hero-photo { min-height: 230px; }
  .section { padding: 42px 0; }
  .section-heading { gap: 10px; margin-bottom: 24px; }
  .section-heading > span { width: 27px; }
  .section-heading h2 { font-size: 1.85rem; }
  .city-grid { grid-template-columns: 1fr; }
  .territory-grid, .related-territory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .territory-card img { height: 125px; }
  .territory-card-text { padding: 11px; }
  .territory-card strong { font-size: 1.1rem; }
  .region-jumps { justify-content: flex-start; gap: 6px; margin-bottom: 33px; }
  .localities { columns: 1; }
  .city-card img { height: auto; aspect-ratio: 16/8.6; }
  .more-cities:before, .more-cities:after { width: 22px; }
  .city-links { justify-content: flex-start; }
  .info-card { padding: 18px; }
  .theme-grid { grid-template-columns: 1fr; }
  .home-payment-article { padding: 21px 19px; }
  .home-payment-action { padding: 22px 19px; }
  .home-choice-panel { padding: 24px 20px; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card { flex-direction: row; }
  .guide-card img { width: 40%; height: auto; min-height: 150px; }
  .guide-card-body { width: 60%; }
  .guide-card span span { -webkit-line-clamp: 3; }
  .page-hero { padding: 22px 0 30px; }
  .page-hero h1 { font-size: 2.55rem; }
  .footer-row { align-items: flex-start; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px 10px; }
  .site-footer nav a { border: 0; padding: 3px 0; }
}

@media (max-width: 380px) {
  .guide-card { flex-direction: column; }
  .guide-card img, .guide-card-body { width: 100%; }
  .guide-card img { height: 160px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
