/* ==========================================================================
   RCC Essentials — Elementor Addon Stylesheet
   ========================================================================== */

.rc-section {
  padding: clamp(56px, 7vw, 92px) 24px;
  width: 100%;
}
.rc-container {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
}
.rc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--rc-font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--rc-oak);
  background: var(--rc-oak-light);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  white-space: nowrap;
}
.rc-h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.14;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.rc-h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--rc-charcoal);
  margin: 0 0 12px 0;
}
.rc-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.62;
  max-width: 58ch;
}

/* Grids */
.rc-grid-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.rc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}
.rc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Hero Stats */
.rc-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.rc-stat-item strong {
  display: block;
  font-family: var(--rc-font-head);
  font-size: 18px;
  font-weight: 700;
  color: #E8C59E;
  white-space: nowrap;
  margin-bottom: 2px;
}
.rc-stat-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
  display: block;
}

/* Benefit Cards */
.rc-card {
  background: #FFFFFF;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(22, 26, 32, 0.035);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(22, 26, 32, 0.075);
}
.rc-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--rc-charcoal);
  margin: 0 0 8px 0;
}
.rc-card p {
  color: var(--rc-muted);
  font-size: 15px;
  line-height: 1.58;
  margin: 0;
}

/* Style Cards */
.rc-style-card {
  background: #FFFFFF;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(22, 26, 32, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rc-style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(22, 26, 32, 0.095);
}
.rc-style-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: #F2EFE9;
}
.rc-style-img-wrap.aspect-wide {
  aspect-ratio: 16 / 11;
}
.rc-style-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rc-style-card:hover .rc-style-img-wrap img {
  transform: scale(1.03);
}
.rc-style-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 26, 32, 0.86);
  color: #F5EFE6;
  font-family: var(--rc-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.rc-style-badge.badge-oak {
  background: var(--rc-oak);
}
.rc-style-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rc-style-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--rc-charcoal);
  margin: 0 0 6px 0;
}
.rc-style-body p {
  color: var(--rc-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.rc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}
.rc-tag {
  font-size: 12px;
  font-weight: 500;
  background: var(--rc-cream);
  color: var(--rc-charcoal);
  border: 1px solid var(--rc-border);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Accordion FAQ */
details.rc-faq {
  background: #FFFFFF;
  border: 1px solid var(--rc-border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
}
details.rc-faq[open] {
  border-color: var(--rc-oak);
}
details.rc-faq summary {
  font-family: var(--rc-font-head);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--rc-charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
details.rc-faq summary::-webkit-details-marker {
  display: none;
}
details.rc-faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--rc-oak);
  font-weight: 600;
  flex-shrink: 0;
}
details.rc-faq[open] summary::after {
  content: "−";
}
details.rc-faq .rc-faq-ans {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rc-border);
  color: var(--rc-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Quote Form */
.rc-form-box {
  background: #FFFFFF;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 16px 40px rgba(22, 26, 32, 0.06);
}
.rc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.rc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.rc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rc-charcoal);
}
.rc-field input, .rc-field select, .rc-field textarea {
  font-family: var(--rc-font-body);
  font-size: 14.5px;
  padding: 11px 13px;
  border: 1px solid #D6D0C5;
  border-radius: 8px;
  background: #FCFBF9;
  color: var(--rc-charcoal);
  width: 100%;
  outline: none;
}
.rc-field input:focus, .rc-field select:focus, .rc-field textarea:focus {
  border-color: var(--rc-oak);
  background: #FFFFFF;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
  .rc-grid-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rc-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .rc-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rc-section {
    padding: 48px 16px;
  }
  .rc-grid-3, .rc-grid-2, .rc-grid-4, .rc-form-grid, .rc-stat-row {
    grid-template-columns: 1fr !important;
  }
  .rc-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .rc-btn-group .rc-btn {
    width: 100%;
  }
}
