/* Caalma: shared typography and CTA defaults.
 * Home keeps its editorial compositions and oversized opening headline.
 * New internal pages inherit these defaults; use ca-type-custom / ca-size-custom
 * only for deliberately approved exceptions.
 */
:root{
 --ca-font-body:Inter,Arial,sans-serif;
 --ca-font-editorial:'Cormorant Garamond',Georgia,serif;
 --ca-text-size:16px; --ca-text-leading:1.5;
 --ca-title-inter:58px; --ca-title-garamond:75px;
 --ca-subtitle-size:24px; --ca-caption-size:14px;
 --ca-cta-size:16px; --ca-cta-weight:600;
 --ca-cta-height:58px; --ca-cta-radius:999px;
 --ca-color-primary:#1f4d47; --ca-color-accent:#7eb9af;
}
@media(max-width:1000px){
 :root{--ca-title-inter:43px;--ca-title-garamond:55px}
}
/* Semantic defaults for current and future internal pages. */
body:not(.home) main{font-family:var(--ca-font-body);font-size:var(--ca-text-size)}
body:not(.home) main :where(h1,h2):not(.ca-type-custom),
.ca-heading{
 font-family:var(--ca-font-body);font-size:var(--ca-title-inter);
 font-weight:500;line-height:1.1;letter-spacing:-.03em
}
body:not(.home) main :where(h1,h2):not(.ca-type-custom) em,
.ca-heading em{
 font-family:var(--ca-font-editorial);font-size:var(--ca-title-garamond);
 font-weight:600;font-style:italic;line-height:1.1;letter-spacing:0
}
body:not(.home) main :where(h3):not(.ca-type-custom){
 font-family:var(--ca-font-body);font-size:var(--ca-subtitle-size);line-height:1.3
}
body:not(.home) main p:not(:where(.ca-type-custom,.ca-couple-note,.hero-note,.ca-bonus-price,.ca-bonus-total,.ca-bonus-validity,.ca-cf7-field,.ca-cf7-submit,.ca-motives-description)),
.ca-body-copy{font-family:var(--ca-font-body);font-size:var(--ca-text-size);line-height:var(--ca-text-leading)}
/* Existing couples-page rules formerly used independent pixel values. */
body.page-id-171 .ca-couple-hero .ca-couple-title,
body.page-id-171 #motivos-consulta .ca-motives-heading,
body.page-id-171 #bonos-terapia-pareja .ca-couple-bonus-heading,
body.page-id-171 #preguntas-frecuentes-pareja .ca-couple-faq-title{
 font-family:var(--ca-font-body);font-size:var(--ca-title-inter);
 font-weight:500;line-height:1.1;letter-spacing:-.03em
}
body.page-id-171 .ca-couple-hero .ca-couple-title em,
body.page-id-171 #motivos-consulta .ca-motives-heading em,
body.page-id-171 #bonos-terapia-pareja .ca-couple-bonus-heading em,
body.page-id-171 #preguntas-frecuentes-pareja .ca-couple-faq-title em{
 font-family:var(--ca-font-editorial);font-size:var(--ca-title-garamond);
 font-weight:600;font-style:italic;line-height:1.1;letter-spacing:0
}
body.page-id-171 #contacto-pareja .ca-contact-title,
body:not(.home) main .ca-heading-editorial{
 font-family:var(--ca-font-editorial);font-size:var(--ca-title-garamond);
 font-weight:600;font-style:italic;line-height:1.1;letter-spacing:0
}
body.page-id-171 .ca-couple-hero .ca-couple-description,
body.page-id-171 .ca-couple-hero .ca-couple-session p,
body.page-id-171 #motivos-consulta .ca-motives-intro,
body.page-id-171 #preguntas-frecuentes-pareja .ca-faq-list details>p,
body.page-id-171 #preguntas-frecuentes-pareja .ca-faq-contact-copy{
 font-family:var(--ca-font-body);font-size:var(--ca-text-size);line-height:var(--ca-text-leading)
}
body.page-id-171 .ca-couple-hero .ca-couple-note{
 width:max-content;min-width:164px;font-size:var(--ca-caption-size);line-height:1.4
}
body.page-id-171 #preguntas-frecuentes-pareja .ca-faq-contact-title{
 font-size:var(--ca-subtitle-size);line-height:1.3
}
/* Explicit compact roles: image cards, prices, captions and the shared form
 * retain their approved typography; normal copy does not inherit these sizes. */
body:not(.home) main .ca-card-content h3{font-size:18px}
body:not(.home) main .ca-card-details p{font-size:14px}
body:not(.home) main .ca-bonus-content h3{
 font-family:var(--ca-font-editorial);font-size:20px;font-weight:600
}
body.page-id-171 #contacto-pareja .ca-contact-intro{font-size:18px;line-height:1.6}
/* Standard CTA typography across Home, header and internal pages. */
body .ca-header-shell a.ca-header-button,
.ca-home [data-ca-cta],
body:not(.home) main .wp-element-button,
body:not(.home) main .btn,
body:not(.home) .ca-couple-hero .ca-couple-cta a,
body:not(.home) main .ca-cta,
.ca-cta{
 font-family:var(--ca-font-body);font-size:var(--ca-cta-size);
 font-weight:var(--ca-cta-weight);line-height:1;
 border-radius:var(--ca-cta-radius);letter-spacing:0
}
body:not(.home) main .wp-element-button,
body:not(.home) main .btn,
body:not(.home) .ca-couple-hero .ca-couple-cta a,
body:not(.home) main .ca-cta,
.ca-cta{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 min-height:var(--ca-cta-height);min-width:164px;padding:0 24px;
 background:var(--ca-color-accent);color:#fff;
 box-shadow:inset 0 0 0 1px var(--ca-color-accent);
 outline:2px solid transparent;outline-offset:4px;
 cursor:pointer;text-decoration:none;transform:none;
 transition:background-color 240ms ease 160ms,color 240ms ease 160ms,box-shadow 240ms ease 160ms,outline-color 120ms ease
}
body .ca-header-shell a.ca-header-button{
 min-height:46px;padding-inline:24px;
 background:var(--ca-color-accent);color:#fff;
 box-shadow:inset 0 0 0 1px var(--ca-color-accent);
 outline:2px solid transparent;outline-offset:4px;
 transition:background-color 240ms ease 160ms,color 240ms ease 160ms,box-shadow 240ms ease 160ms,outline-color 120ms ease
}
body:not(.home) main .wp-element-button:not(:disabled):hover,
body:not(.home) main .btn:not(:disabled):hover,
body:not(.home) .ca-couple-hero .ca-couple-cta a:hover,
body .ca-header-shell a.ca-header-button:hover,
.ca-cta:not(:disabled):hover{
 background:var(--ca-color-primary);color:#fff;
 box-shadow:inset 0 0 0 1px var(--ca-color-primary);
 outline-color:var(--ca-color-accent)
}
body .ca-header-shell a.ca-header-button:focus-visible,
body:not(.home) main .wp-element-button:focus-visible,
body:not(.home) main .btn:focus-visible,
body:not(.home) .ca-couple-hero .ca-couple-cta a:focus-visible,
.ca-cta:focus-visible{outline-color:var(--ca-color-accent)}
@media(prefers-reduced-motion:reduce){
 body .ca-header-shell a.ca-header-button,
 body:not(.home) main .wp-element-button,
 body:not(.home) main .btn,
 body:not(.home) .ca-couple-hero .ca-couple-cta a,
 .ca-cta{transition:none}
}

/* Approved hero copy measure: three desktop lines, shared body type unchanged. */
@media(min-width:1001px){body.page-id-171 .ca-couple-hero .ca-couple-description{max-width:460px}}

/* Requested tighter leading only for the couples page opening title. */
body.page-id-171 .ca-couple-hero .ca-couple-title,
body.page-id-171 .ca-couple-hero .ca-couple-title em{line-height:.98}

/* Tighter mobile leading requested for the couples motives heading only. */
@media(max-width:650px){
body.page-id-171 #motivos-consulta .ca-motives-heading,
body.page-id-171 #motivos-consulta .ca-motives-heading em{line-height:.98}
}

/* Compact all bonus cards only when they stack on mobile. */
@media(max-width:650px){
body.page-id-171 #bonos-terapia-pareja .ca-bonus-card{min-height:0}
body.page-id-171 #bonos-terapia-pareja .ca-bonus-card .ca-bonus-content{flex:0 0 auto}
body.page-id-171 #bonos-terapia-pareja .ca-bonus-card .ca-bonus-features{min-height:0}
body.page-id-171 #bonos-terapia-pareja .ca-bonus-card .ca-bonus-purchase{margin-top:0}
}
