/*
Theme Name: Yoga Cerca de Mi
Theme URI: https://yogacercademi.com/
Author: Yoga cerca de mi
Description: Tema ligero para directorio de profesores de yoga y blog editorial.
Version: 0.1.19
Text Domain: yoga-cerca-mi-theme
*/

:root {
  --paper: #fbf8f4;
  --paper-2: #f0ebe6;
  --ink: #201e1d;
  --muted: #6b6663;
  --line: #ded7d1;
  --accent: #ec3013;
  --accent-dark: #b8200c;
  --sage: #6c7b68;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(32, 30, 29, 0.12);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px clamp(18px, 4vw, 56px); background: rgba(251,248,244,.94); border-bottom: 1px solid var(--line); }
.brand { width: clamp(190px, 20vw, 260px); display: inline-flex; }
.brand img { width: 100%; height: auto; display: block; }
.menu-toggle { display: none; }
.main-nav { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 700; } .main-nav-list { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav-list a { padding: 10px 12px; border-radius: 999px; opacity: .82; }
.main-nav a:hover, .main-nav-list a:hover, .main-nav .current-menu-item a { background: rgba(236,48,19,.08); color: var(--accent); opacity: 1; }
.hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.65fr); gap: clamp(32px,6vw,84px); align-items: center; padding: clamp(42px,6vw,82px) clamp(20px,5vw,72px) 54px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1,h2,h3 { margin: 0; line-height: 1.08; } h1,h2 { font-family: Lora, Georgia, serif; font-weight: 600; } h1 { max-width: 820px; font-size: clamp(42px,5.4vw,76px); } h2 { font-size: clamp(32px,5vw,54px); }
.hero-lead, .section-heading p, .entry-content { color: var(--muted); font-size: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 6px; font-weight: 700; border: 1px solid transparent; }
.button.primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 26px rgba(236,48,19,.20); }
.button.secondary { border-color: var(--line); background: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-panel { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); box-shadow: var(--shadow); }
.hero-panel > div { padding: 28px; background: var(--white); } .logo-showcase { display: grid; place-items: center; padding: 24px 22px 18px; } .logo-showcase img { width: min(100%,230px); }
.metric { display: block; color: var(--accent); font-family: Lora, serif; font-size: 34px; font-weight: 600; } .metric-label { color: var(--muted); }
section, .site-main { padding: 82px clamp(20px,5vw,72px); } .section-heading { max-width: 820px; margin-bottom: 32px; }
.teacher-grid, .post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.teacher-card, .post-card { display: flex; flex-direction: column; min-height: 300px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 10px 30px rgba(32,30,29,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.teacher-card[hidden] { display: none !important; }
.teacher-card:hover { transform: translateY(-2px); border-color: rgba(236,48,19,.34); box-shadow: 0 16px 38px rgba(32,30,29,.10); }
.teacher-card .status { align-self: flex-start; margin-bottom: 18px; padding: 5px 9px; border-radius: 999px; background: rgba(236,48,19,.10); color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.teacher-card h3, .post-card h2 { margin-bottom: 8px; font-family: Lora, serif; font-size: 25px; }
.post-card { overflow: hidden; padding: 0; }
.post-card-image { display: block; aspect-ratio: 16 / 9; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card h2, .post-card p, .post-card .button { margin-left: 24px; margin-right: 24px; }
.post-card h2 { margin-top: 22px; }
.post-card p { color: var(--muted); }
.post-card .button { width: fit-content; margin-top: auto; margin-bottom: 24px; }
.teacher-main-link { display: block; color: inherit; }
.teacher-main-link:hover h3 { color: var(--accent); }
.teacher-main-link:focus-visible { outline: 3px solid rgba(236,48,19,.24); outline-offset: 5px; border-radius: 6px; }
.teacher-brand, .teacher-location { color: var(--accent); font-weight: 700; }
.teacher-description { color: var(--muted); } .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; } .tags span { padding: 5px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 12px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.card-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1; }
.card-actions .external-link { background: var(--accent); color: var(--white); box-shadow: 0 8px 18px rgba(236,48,19,.16); }
.card-actions .profile-link { border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); }
.card-actions a:hover { transform: translateY(-1px); }
.filters { display: grid; grid-template-columns: minmax(260px,1.4fr) minmax(180px,.8fr) minmax(180px,.8fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); margin-bottom: 22px; } .filters label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; } .filters input,.filters select { min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
.result-meta { display: flex; justify-content: space-between; margin: 22px 0; color: var(--muted); } .result-meta button { border: 0; background: transparent; color: var(--accent); font-weight: 700; cursor: pointer; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px clamp(20px,5vw,72px); background: #141211; color: #d7d0ca; font-size: 14px; }
.footer-brand { display: inline-flex; width: min(240px, 70vw); flex: 0 0 auto; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; font-weight: 700; }
.footer-nav a { color: #f5eee7; opacity: .82; }
.footer-nav a:hover { color: #ffb5a7; opacity: 1; }
.entry-header { padding: 72px clamp(20px,5vw,72px) 28px; } .entry-content { max-width: 820px; padding: 0 clamp(20px,5vw,72px) 72px; }
.single-post .entry-header h1 { max-width: 1180px; }
.single-post .entry-content { max-width: 1120px; }
.single-post .entry-content p, .single-post .entry-content li { max-width: 980px; }
.single-post .entry-content h2, .single-post .entry-content h3 { max-width: 1040px; }
.single-post .entry-content img, .single-post .entry-content figure { max-width: 100%; height: auto; }
.single-post .entry-content figure { margin-left: 0; margin-right: 0; }
.page-content { max-width: 980px; }
.page-content > .site-main { padding: 0; }
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; padding-top: 34px; } .teacher-grid,.post-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .site-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; } .brand { width: min(220px,68vw); } .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; } .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 99px; } .main-nav { display: none; grid-column: 1 / -1; width: 100%; padding-top: 8px; } .main-nav.is-open { display: block; } .main-nav-list { display: grid; grid-template-columns: 1fr; gap: 8px; } .main-nav li { display: block; } .main-nav a, .main-nav-list a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-align: left; font-size: 14px; font-weight: 800; opacity: 1; } }
@media (max-width: 620px) { h1 { font-size: clamp(36px,13vw,54px); } section,.site-main { padding: 58px 18px; } .filters { grid-template-columns: 1fr; } .site-footer { align-items: flex-start; flex-direction: column; } .footer-nav { justify-content: flex-start; } }
.profile-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.profile-copy { display: flex; flex-direction: column; justify-content: center; max-width: 900px; }
.profile-status { align-self: flex-start; margin-bottom: 18px; padding: 6px 10px; border-radius: 999px; background: rgba(236,48,19,.10); color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.profile-brand { margin: 14px 0 0; color: var(--accent); font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.profile-location { margin: 14px 0 0; color: var(--muted); font-size: 20px; font-weight: 700; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.profile-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.profile-card img { width: 150px; height: auto; }
.profile-card dl { display: grid; gap: 18px; margin: 0; }
.profile-card div { padding-top: 16px; border-top: 1px solid var(--line); }
.profile-card dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-card dd { margin: 6px 0 0; color: var(--ink); font-size: 18px; font-weight: 800; }
.profile-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 58px clamp(20px, 5vw, 72px) 82px; }
.profile-content, .claim-box { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.profile-content .entry-content { max-width: none; padding: 0; color: var(--muted); }
.profile-content h2, .claim-box h2 { margin-bottom: 16px; font-size: clamp(26px, 3vw, 36px); }
.profile-tags { margin-top: 22px; padding-top: 0; }
.claim-box { align-self: start; position: sticky; top: 96px; }
.claim-box p { color: var(--muted); }
.claim-box .button { width: 100%; margin-top: 12px; }
.claim-box .source-note { margin-top: 20px; font-size: 12px; }
.claim-box .source-note a { color: var(--accent); font-weight: 800; }
@media (max-width: 920px) { .profile-hero, .profile-content-wrap { grid-template-columns: 1fr; } .profile-card { min-height: auto; } .claim-box { position: static; } }
@media (max-width: 620px) { .profile-hero { padding: 38px 18px; } .profile-content-wrap { padding: 36px 18px 58px; } .profile-actions .button { width: 100%; } .profile-card, .profile-content, .claim-box { padding: 22px; } }
/* Commercial profile page */
.profile-hero-commercial { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 5vw, 72px); align-items: stretch; padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fbf8f4 0%, #f0ebe6 100%); }
.profile-main-copy { display: flex; flex-direction: column; justify-content: center; max-width: 920px; }
.profile-main-copy h1 { font-size: clamp(54px, 7vw, 96px); letter-spacing: 0; }
.profile-brand-large { margin: 16px 0 0; color: var(--accent); font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.profile-lead { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.profile-summary-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.profile-symbol { display: flex; justify-content: center; padding: 22px; border-radius: 8px; background: var(--paper); }
.profile-symbol img { width: min(190px, 100%); height: auto; }
.profile-status { align-self: flex-start; padding: 7px 10px; border-radius: 999px; background: rgba(236,48,19,.10); color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.profile-facts { display: grid; gap: 0; margin: 0; }
.profile-facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.profile-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-facts dd { margin: 6px 0 0; color: var(--ink); font-size: 18px; font-weight: 800; }
.profile-conversion-band { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--ink); color: var(--white); padding: 0; }
.profile-conversion-band div { padding: 24px clamp(20px, 5vw, 72px); border-right: 1px solid rgba(255,255,255,.14); }
.profile-conversion-band div:last-child { border-right: 0; }
.profile-conversion-band strong { display: block; color: #ffb5a7; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.profile-conversion-band span { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; }
.profile-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding: 58px clamp(20px, 5vw, 72px) 82px; }
.profile-editorial-card, .profile-claim-card { border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 10px 30px rgba(32,30,29,.06); }
.profile-editorial-card { padding: 34px; }
.profile-editorial-card h2, .profile-claim-card h2 { margin-bottom: 18px; font-size: clamp(28px, 3.5vw, 42px); }
.profile-editorial-card .entry-content { max-width: none; padding: 0; color: var(--muted); font-size: 19px; }
.profile-claim-card { align-self: start; position: sticky; top: 96px; padding: 28px; }
.profile-claim-card p { color: var(--muted); }
.profile-claim-card .button { width: 100%; margin-top: 12px; }
.profile-claim-card .source-note { margin-top: 22px; font-size: 12px; }
.profile-claim-card .source-note a { color: var(--accent); font-weight: 800; }
.profile-tags { margin-top: 24px; padding-top: 0; }
@media (max-width: 980px) { .profile-hero-commercial, .profile-detail-grid { grid-template-columns: 1fr; } .profile-summary-card { max-width: 560px; } .profile-claim-card { position: static; } .profile-conversion-band { grid-template-columns: 1fr; } .profile-conversion-band div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 620px) { .profile-hero-commercial { padding: 36px 18px; } .profile-main-copy h1 { font-size: clamp(42px, 15vw, 62px); } .profile-actions .button { width: 100%; } .profile-detail-grid { padding: 36px 18px 58px; } .profile-editorial-card, .profile-claim-card, .profile-summary-card { padding: 22px; } }
.editable-home > * { margin-block-start: 0; }
.editable-home .wp-block-group.hero { padding: clamp(42px,6vw,82px) clamp(20px,5vw,72px) 54px; }
.editable-home .wp-block-button__link { border-radius: 6px; font-weight: 800; padding: 14px 20px; }
.editable-home .wp-block-button.primary .wp-block-button__link { background: var(--accent); color: var(--white); box-shadow: 0 10px 26px rgba(236,48,19,.20); }
.editable-home .wp-block-button.secondary .wp-block-button__link { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.editable-home #contacto { background: var(--ink); color: var(--white); }
.editable-home #contacto p:not(.eyebrow) { color: #dfd4c7; }
.ycm-home-claim { background: #141211; color: var(--white); }
.ycm-home-claim-card { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 5vw, 56px); align-items: center; }
.ycm-home-claim h2 { max-width: 860px; color: var(--white); }
.ycm-home-claim p:not(.eyebrow), .ycm-home-claim li { color: #dfd4c7; }
.ycm-claim-benefits { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ycm-claim-benefits li { position: relative; padding-left: 26px; font-weight: 700; }
.ycm-claim-benefits li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }
.ycm-home-claim-action { padding: 28px; border: 1px solid rgba(236,48,19,.55); border-radius: 8px; background: rgba(255,255,255,.07); box-shadow: 0 20px 54px rgba(236,48,19,.18); }
.ycm-home-claim-action .ycm-price-label { display: inline-flex; margin: 0 0 12px; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ycm-home-claim-action strong { display: block; color: var(--white); font-family: Lora, Georgia, serif; font-size: 52px; line-height: 1; }
.ycm-home-claim-action em { display: block; margin-top: 8px; color: #ffb5a7; font-style: normal; font-weight: 900; }
.ycm-home-claim-action span { display: block; margin-top: 16px; color: #dfd4c7; }
.ycm-home-claim-action .hero-actions { margin-top: 24px; }
.ycm-home-claim-action .wp-block-button__link { width: 100%; justify-content: center; }
@media (max-width: 920px) { .ycm-home-claim-card { grid-template-columns: 1fr; } .ycm-home-claim-action { max-width: 560px; } }
.ycm-claim-page { max-width: 980px; }
.ycm-claim-form-wrap { max-width: 760px; margin-top: 26px; }
.ycm-claim-form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 10px 30px rgba(32,30,29,.06); }
.ycm-claim-form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
.ycm-claim-form input, .ycm-claim-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; color: var(--ink); font: inherit; }
.ycm-claim-form textarea { resize: vertical; }
.ycm-claim-consent { grid-template-columns: auto 1fr; align-items: start; color: var(--ink); font-weight: 600; }
.ycm-claim-consent input { width: auto; margin-top: 4px; }
.ycm-claim-form .button { width: fit-content; border: 0; cursor: pointer; }
.ycm-form-notice { margin-bottom: 16px; padding: 14px 16px; border-radius: 8px; font-weight: 800; }
.ycm-form-notice.success { background: rgba(108,123,104,.16); color: #384533; }
.ycm-form-notice.error { background: rgba(236,48,19,.12); color: var(--accent-dark); }
