/*
Theme Name: Rippl Child
Theme URI: https://rippl.nz
Description: Rippl Social Media Agency — Elementor-compatible child theme based on GeneratePress
Author: Rippl
Author URI: https://rippl.nz
Template: generatepress
Version: 2.0.0
*/

/* ─── Rippl Brand Variables ─── */
:root {
  --rpl-orange:       #EF9F27;
  --rpl-orange-dark:  #BA7517;
  --rpl-orange-deep:  #854F0B;
  --rpl-orange-light: #FAEEDA;
  --rpl-black:        #1a1a1a;
  --rpl-gray:         #666;
  --rpl-gray-light:   #f9f9f7;
  --rpl-border:       rgba(0,0,0,0.08);
  --rpl-radius:       8px;
  --rpl-radius-lg:    12px;
}

/* ─── Base ─── */
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--rpl-black); }

/* ─── Hide GP header/footer — Elementor handles these ─── */
.site-header, #masthead, .site-footer, #colophon, .navigation-branding { display: none !important; }
.site-content, #primary, #content, .content-area { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.inside-article, .entry-content, .post-content { padding: 0 !important; margin: 0 !important; }
.generate-columns-container { max-width: 100% !important; }
.entry-header { display: none !important; }

/* ─── Elementor global overrides ─── */
.elementor-page .elementor-section { margin: 0; }

/* ─── Rippl Logo ─── */
.rpl-logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--rpl-black); text-decoration: none; }
.rpl-logo span { color: var(--rpl-orange); }

/* ─── Buttons ─── */
.rpl-btn-primary {
  display: inline-block;
  background: var(--rpl-orange-dark);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--rpl-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.rpl-btn-primary:hover { background: var(--rpl-orange-deep); color: #fff !important; }

.rpl-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--rpl-black) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--rpl-radius);
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.rpl-btn-ghost:hover { background: #f5f5f5; }

/* ─── Badge ─── */
.rpl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rpl-orange-light);
  color: var(--rpl-orange-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.rpl-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rpl-orange); display: inline-block; }

/* ─── Section labels ─── */
.rpl-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rpl-orange);
  margin-bottom: 8px;
  display: block;
}

/* ─── Stats bar ─── */
.rpl-stats-bar { display: flex; border-top: 1px solid var(--rpl-border); border-bottom: 1px solid var(--rpl-border); }
.rpl-stat { flex: 1; padding: 28px 32px; border-right: 1px solid var(--rpl-border); text-align: center; }
.rpl-stat:last-child { border-right: none; }
.rpl-stat-num { font-size: 36px; font-weight: 700; color: var(--rpl-orange-dark); letter-spacing: -1px; line-height: 1; }
.rpl-stat-label { font-size: 13px; color: var(--rpl-gray); margin-top: 6px; }

/* ─── Service cards ─── */
.rpl-service-card {
  background: #fff;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
  height: 100%;
}
.rpl-service-card:hover { border-color: var(--rpl-orange); transform: translateY(-2px); }
.rpl-service-icon {
  width: 44px; height: 44px;
  border-radius: var(--rpl-radius);
  background: var(--rpl-orange-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.rpl-service-icon svg { width: 22px; height: 22px; }
.rpl-service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--rpl-black); }
.rpl-service-card p { font-size: 14px; color: var(--rpl-gray); line-height: 1.6; margin: 0; }

/* ─── Process steps ─── */
.rpl-step { padding: 24px; }
.rpl-step-num { font-size: 12px; font-weight: 700; color: var(--rpl-orange); margin-bottom: 10px; letter-spacing: 1px; }
.rpl-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--rpl-black); }
.rpl-step p { font-size: 14px; color: var(--rpl-gray); line-height: 1.6; margin: 0; }

/* ─── Pricing cards ─── */
.rpl-price-card {
  background: #fff;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rpl-price-card.featured { border: 2px solid var(--rpl-orange); }
.rpl-price-badge {
  display: inline-block;
  background: var(--rpl-orange-light);
  color: var(--rpl-orange-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.rpl-price-card h3 { font-size: 16px; font-weight: 600; color: var(--rpl-black); margin-bottom: 4px; }
.rpl-price-amount { font-size: 32px; font-weight: 700; color: var(--rpl-black); letter-spacing: -1px; margin: 12px 0 4px; line-height: 1; }
.rpl-price-amount span { font-size: 14px; font-weight: 400; color: var(--rpl-gray); }
.rpl-price-desc { font-size: 13px; color: var(--rpl-gray); margin-bottom: 20px; }
.rpl-feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rpl-feature-list li { font-size: 13px; color: var(--rpl-gray); display: flex; align-items: center; gap: 8px; }
.rpl-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rpl-orange-light);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rpl-check svg { width: 9px; height: 9px; }
.rpl-price-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--rpl-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #ddd;
  background: transparent;
  color: var(--rpl-black);
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
}
.rpl-price-btn:hover { background: #f5f5f5; }
.rpl-price-btn.featured-btn { background: var(--rpl-orange-dark); color: #fff !important; border-color: transparent; }
.rpl-price-btn.featured-btn:hover { background: var(--rpl-orange-deep); }
.rpl-gst-note { font-size: 12px; color: #aaa; margin-top: 16px; display: block; }

/* ─── Testimonial cards ─── */
.rpl-t-card {
  background: #fff;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  padding: 28px;
  height: 100%;
}
.rpl-t-stars { color: var(--rpl-orange); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.rpl-t-quote { font-size: 14px; color: #333; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.rpl-t-author { display: flex; align-items: center; gap: 12px; }
.rpl-t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rpl-orange-light);
  color: var(--rpl-orange-dark);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.rpl-t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rpl-t-name { font-size: 13px; font-weight: 600; color: var(--rpl-black); }
.rpl-t-role { font-size: 12px; color: #888; }

/* ─── Contact form ─── */
.rpl-contact-dark { background: var(--rpl-black); padding: 72px 40px; }
.rpl-contact-dark .rpl-label { color: var(--rpl-orange); }
.rpl-contact-dark h2 { color: #fff; }
.rpl-contact-dark p { color: #aaa; }
.rpl-contact-dark a { color: var(--rpl-orange); }

.rpl-form { display: flex; flex-direction: column; gap: 14px; }
.rpl-form input,
.rpl-form textarea,
.rpl-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--rpl-radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.rpl-form input::placeholder,
.rpl-form textarea::placeholder { color: #555; }
.rpl-form select option { background: #1a1a1a; color: #fff; }
.rpl-form input:focus,
.rpl-form textarea:focus,
.rpl-form select:focus { border-color: var(--rpl-orange); }
.rpl-form textarea { height: 130px; resize: vertical; }
.rpl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rpl-form-submit {
  background: var(--rpl-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--rpl-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.rpl-form-submit:hover { background: var(--rpl-orange-dark); }
.rpl-form-success {
  background: var(--rpl-orange);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--rpl-radius);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ─── Footer ─── */
.rpl-footer-bar {
  background: #111;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rpl-footer-bar .rpl-logo { color: #fff; }
.rpl-footer-links { display: flex; gap: 20px; }
.rpl-footer-links a { font-size: 13px; color: #666; transition: color 0.2s; }
.rpl-footer-links a:hover { color: var(--rpl-orange); }
.rpl-footer-copy { font-size: 13px; color: #444; }

/* ─── Elementor widget overrides ─── */
.elementor-widget-heading .elementor-heading-title { line-height: 1.1; }
.elementor-section.rpl-dark-section { background: var(--rpl-black); }
.elementor-section.rpl-light-section { background: var(--rpl-gray-light); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .rpl-stats-bar { flex-wrap: wrap; }
  .rpl-stat { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--rpl-border); }
  .rpl-contact-dark { padding: 48px 20px; }
  .rpl-form-row { grid-template-columns: 1fr; }
  .rpl-footer-bar { padding: 20px; flex-direction: column; align-items: flex-start; }
}
