/*
Theme Name: Verdes en Casa · Kadence Child
Theme URI: https://verdesencasa.es
Description: Tema hijo de Kadence con patrones Gutenberg para una web editorial de plantas de interior.
Author: Verdes en Casa
Template: kadence
Version: 0.1.0
Text Domain: verdesencasa
*/

:root {
  --vec-forest: #1f4a36;
  --vec-leaf: #4d7a5c;
  --vec-sage: #dfe9df;
  --vec-cream: #f7f4ec;
  --vec-sand: #eadbc5;
  --vec-terra: #b96546;
  --vec-ink: #1f2b25;
  --vec-muted: #66736b;
  --vec-line: #d9dfd9;
  --vec-radius: 22px;
  --vec-shadow: 0 18px 45px rgba(31, 74, 54, 0.10);
}

body {
  color: var(--vec-ink);
  background: #fff;
}

.site-main .entry-content > .alignfull {
  margin-top: 0;
  margin-bottom: 0;
}

.vec-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.vec-section--soft { background: var(--vec-cream); }
.vec-section--sage { background: var(--vec-sage); }
.vec-section--forest { background: var(--vec-forest); color: #fff; }

.vec-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--vec-terra);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vec-display {
  max-width: 850px;
  margin-top: 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.vec-section-title {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.vec-lead {
  max-width: 680px;
  color: var(--vec-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.vec-hero {
  position: relative;
  min-height: min(780px, 88vh);
  background-position: center right;
}

.vec-hub-hero {
  min-height: 420px;
}

.vec-hero::before {
  background: linear-gradient(90deg, rgba(247,244,236,.98) 0%, rgba(247,244,236,.93) 38%, rgba(247,244,236,.22) 65%, rgba(247,244,236,0) 100%) !important;
}

.vec-hero .wp-block-cover__inner-container { width: 100%; }
.vec-hero-copy { max-width: 660px; }

.vec-button .wp-block-button__link,
.wp-block-button.vec-button .wp-block-button__link {
  border-radius: 999px;
  padding: 0.92rem 1.35rem;
  background: var(--vec-forest);
  color: #fff;
  font-weight: 700;
}

.vec-button--ghost .wp-block-button__link {
  border: 1px solid var(--vec-forest);
  background: transparent;
  color: var(--vec-forest);
}

.vec-trust-bar {
  position: relative;
  z-index: 3;
  margin-top: -2.4rem;
  border: 1px solid rgba(31, 74, 54, 0.10);
  border-radius: var(--vec-radius);
  background: #fff;
  box-shadow: var(--vec-shadow);
}

.vec-trust-item { padding: 1.4rem 1rem; }
.vec-trust-item strong { color: var(--vec-forest); }

.vec-card {
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--vec-line);
  border-radius: var(--vec-radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(31, 74, 54, 0.05);
  transition: transform .22s ease, box-shadow .22s ease;
}

.vec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vec-shadow);
}

.vec-card h3 { margin-top: 0.65rem; font-size: 1.35rem; }
.vec-card p { color: var(--vec-muted); }
.vec-card a { color: var(--vec-forest); font-weight: 750; text-decoration: none; }

.vec-icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--vec-sage);
  color: var(--vec-forest);
  font-size: 1.35rem;
}

.vec-species-card {
  overflow: hidden;
  border-radius: var(--vec-radius);
  background: var(--vec-forest);
  color: #fff;
}

.vec-species-card .wp-block-group { padding: 1.6rem; }
.vec-species-card a { color: #fff; text-decoration: none; }
.vec-species-card p { color: rgba(255,255,255,.74); }

.vec-product-card {
  padding: 1.5rem;
  border-top: 4px solid var(--vec-terra);
  border-radius: 0 0 var(--vec-radius) var(--vec-radius);
  background: #fff;
  box-shadow: var(--vec-shadow);
}

.vec-kicker {
  display: inline-block;
  padding: .32rem .65rem;
  border-radius: 999px;
  background: var(--vec-sage);
  color: var(--vec-forest);
  font-size: .78rem;
  font-weight: 750;
}

.vec-content-shell {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.vec-summary-box,
.vec-affiliate-box,
.vec-faq {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--vec-radius);
}

.vec-summary-box { border-left: 5px solid var(--vec-leaf); background: var(--vec-sage); }
.vec-affiliate-box { border: 1px solid var(--vec-sand); background: var(--vec-cream); }
.vec-faq { border: 1px solid var(--vec-line); background: #fff; }

.vec-comparison-table table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; }
.vec-comparison-table th { background: var(--vec-forest); color: #fff; }
.vec-comparison-table td, .vec-comparison-table th { padding: .9rem; border-color: var(--vec-line); }

.vec-newsletter {
  overflow: hidden;
  border-radius: calc(var(--vec-radius) + 8px);
  background: var(--vec-forest);
  color: #fff;
  box-shadow: var(--vec-shadow);
}

.vec-newsletter p { color: rgba(255,255,255,.76); }
.vec-newsletter .wp-block-button__link { background: #fff; color: var(--vec-forest); }

.vec-meta-note { color: var(--vec-muted); font-size: .86rem; }

@media (max-width: 781px) {
  .vec-hero { min-height: 700px; background-position: 69% center; }
  .vec-hub-hero { min-height: 340px; }
  .vec-hero::before { background: linear-gradient(180deg, rgba(247,244,236,.97) 0%, rgba(247,244,236,.88) 55%, rgba(247,244,236,.2) 100%) !important; }
  .vec-hero-copy { max-width: 100%; }
  .vec-trust-bar { margin-top: 1rem; }
  .vec-trust-item { border-bottom: 1px solid var(--vec-line); }
  .vec-display { font-size: clamp(2.7rem, 14vw, 4.5rem); }
}
