/*
Theme Name: BodasPro Satellite
Theme URI: https://bodaspro.com/
Description: Child theme para satélites territoriales de BodasPro. Identidad visual heredada de bodaspro.com principal. Diseño sobrio, tipografía Cormorant Garamond + Inter, paleta verde oliva.
Author: BodasPro
Author URI: https://bodaspro.com/
Version: 1.1.0
Text Domain: bp-satellite
*/

:root {
  --bp-green-dark: #1a2418;
  --bp-green-primary: #42583E;
  --bp-green-secondary: #4e6349;
  --bp-beige-accent: #d4ddd2;
  --bp-beige-bg: #f0f3ef;
  --bp-white: #ffffff;
  --bp-text: #1a2418;
  --bp-muted: #5b6a54;
  --bp-radius: 4px;
  --bp-container: 1180px;
  --bp-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --bp-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--bp-sans);
  color: var(--bp-text);
  background: var(--bp-white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bp-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bp-green-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.3; }

a { color: var(--bp-green-primary); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--bp-green-secondary); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.bp-container {
  max-width: var(--bp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bp-site-header {
  background: var(--bp-white);
  border-bottom: 1px solid var(--bp-beige-accent);
  position: sticky; top: 0; z-index: 50;
}
.bp-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.bp-logo {
  font-family: var(--bp-serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--bp-green-dark);
  letter-spacing: 0.02em;
}
.bp-logo strong { color: var(--bp-green-primary); font-weight: 600; }
.bp-nav-primary { display: flex; align-items: center; gap: 1.5rem; }
.bp-nav-primary a {
  color: var(--bp-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bp-nav-primary a:hover { color: var(--bp-green-primary); text-decoration: none; }
.bp-nav-toggle {
  display: none;
  background: none; border: 1px solid var(--bp-green-primary);
  padding: 0.5rem 0.9rem; cursor: pointer; border-radius: var(--bp-radius);
  font-family: var(--bp-sans); color: var(--bp-green-primary);
}
@media (max-width: 860px) {
  .bp-nav-primary { display: none; }
  .bp-nav-toggle { display: block; }
  .bp-nav-primary.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bp-white); padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bp-beige-accent);
  }
  .bp-nav-primary.is-open a { padding: 0.5rem 0; }
}

.bp-hero {
  background: linear-gradient(180deg, var(--bp-green-dark) 0%, var(--bp-green-primary) 100%);
  color: var(--bp-white);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.bp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.05), transparent 50%);
  pointer-events: none;
}
.bp-hero__title { color: var(--bp-white); max-width: 820px; }
.bp-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--bp-beige-accent);
  max-width: 640px;
  margin: 1.25rem 0 2rem;
}
.bp-hero__cta {
  display: inline-block;
  background: var(--bp-white);
  color: var(--bp-green-dark);
  padding: 0.9rem 1.75rem;
  border-radius: var(--bp-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  transition: background .15s ease, transform .1s ease;
}
.bp-hero__cta:hover { background: var(--bp-beige-accent); text-decoration: none; transform: translateY(-1px); }
.bp-hero__cta--secondary {
  background: transparent; color: var(--bp-white); border: 1px solid var(--bp-beige-accent); margin-left: 0.75rem;
}
.bp-hero__cta--secondary:hover { background: rgba(255,255,255,0.08); color: var(--bp-white); }

.bp-section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bp-section--alt { background: var(--bp-beige-bg); }
.bp-section__title { text-align: center; margin-bottom: 0.5rem; }
.bp-section__intro {
  text-align: center; color: var(--bp-muted); max-width: 640px; margin: 0 auto 3rem;
}

.bp-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.bp-card {
  background: var(--bp-white);
  border: 1px solid var(--bp-beige-accent);
  border-radius: var(--bp-radius);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.bp-card:hover { box-shadow: 0 10px 30px rgba(26,36,24,0.08); transform: translateY(-2px); }
.bp-card a { color: var(--bp-text); display: block; }
.bp-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bp-beige-accent); }
.bp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bp-card h3 { padding: 1rem 1.15rem 0.25rem; font-size: 1.15rem; }
.bp-card p { padding: 0 1.15rem 1.15rem; margin: 0; color: var(--bp-muted); font-size: 0.95rem; }
.bp-empty { color: var(--bp-muted); text-align: center; padding: 2rem 0; }

.bp-cta {
  background: var(--bp-green-primary);
  color: var(--bp-white);
  padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  border-radius: var(--bp-radius);
  text-align: center;
}
.bp-cta h2 { color: var(--bp-white); margin-bottom: 1.5rem; }
.bp-cta__btn {
  display: inline-block;
  background: var(--bp-white);
  color: var(--bp-green-dark);
  padding: 0.9rem 1.75rem;
  border-radius: var(--bp-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
}
.bp-cta__btn:hover { background: var(--bp-beige-accent); text-decoration: none; }

.bp-post-single, .bp-page-single { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.bp-post-single .entry-content, .bp-page-single .entry-content { max-width: 780px; margin: 0 auto; }
.bp-post-single .entry-content p, .bp-page-single .entry-content p { margin: 0 0 1.15em; }
.bp-post-single .entry-title, .bp-page-single .entry-title { text-align: center; max-width: 820px; margin: 0 auto 1.5rem; }
.bp-meta { text-align: center; color: var(--bp-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

.bp-site-footer {
  background: var(--bp-green-dark);
  color: var(--bp-beige-accent);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.bp-site-footer a { color: var(--bp-beige-accent); }
.bp-site-footer a:hover { color: var(--bp-white); }
.bp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 720px) { .bp-footer-grid { grid-template-columns: 1fr; } }
.bp-footer__brand strong { font-family: var(--bp-serif); font-size: 1.4rem; color: var(--bp-white); }
.bp-footer__brand p { font-size: 0.92rem; max-width: 360px; margin-top: 0.5rem; }
.bp-nav-footer, .bp-nav-mobile { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.bp-footer-title { color: var(--bp-white); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 0.75rem; font-family: var(--bp-sans); font-weight: 600; }
.bp-footer-bottom { border-top: 1px solid rgba(212,221,210,0.15); padding-top: 1.25rem; display: flex; justify-content: space-between; font-size: 0.85rem; gap: 1rem; flex-wrap: wrap; }

.screen-reader-text { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--bp-green-primary); outline-offset: 3px; }

.cmplz-cookiebanner { font-family: var(--bp-sans) !important; border-radius: var(--bp-radius) !important; }
.cmplz-cookiebanner .cmplz-buttons { display: flex !important; gap: 0.5rem !important; flex-wrap: wrap; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--bp-sans) !important; }
.cmplz-cookiebanner .cmplz-accept, .cmplz-cookiebanner .cmplz-deny {
  background: var(--bp-green-primary) !important; color: var(--bp-white) !important;
  padding: 0.75rem 1.25rem !important; border: 2px solid var(--bp-green-primary) !important;
  border-radius: var(--bp-radius) !important; font-weight: 600 !important; min-width: 140px;
}
.cmplz-cookiebanner .cmplz-deny { background: var(--bp-white) !important; color: var(--bp-green-primary) !important; }
.cmplz-cookiebanner .cmplz-view-preferences { background: transparent !important; color: var(--bp-green-primary) !important; border: none !important; text-decoration: underline; }
