
/























Style · CSS
/*
Theme Name: Scaley
Theme URI: https://scaley.online
Author: Scaley
Author URI: https://scaley.online
Description: One-page marketing theme for Scaley — websites that actually sell. Cream, gold and navy. Lead forms send enquiries to WhatsApp. WhatsApp buttons ask for name, email and business first.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scaley
Tags: one-column, custom-colors, featured-images, translation-ready
*/
 
/* Main styles live in assets/css/app.css (enqueued from functions.php). */
 
.admin-bar .site-header {
  top: calc(0.75rem + 32px);
}
 
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: calc(0.75rem + 46px);
  }
}
 
.bg-field { background-color: #ffffff !important; }
 
.wa-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(18, 18, 25, 0.55);
}
.wa-popup.open { display: flex; }
.wa-popup-card {
  width: 100%;
  max-width: 420px;
  background: #fffbf1;
  border: 1px solid #ece6da;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(18, 18, 25, 0.18);
}
.wa-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b677a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.wa-popup h3 {
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  color: #121219;
}
.wa-popup-sub {
  margin: 0 0 1.25rem;
  color: #6b677a;
  font-size: 0.92rem;
}
.wa-popup form { display: flex; flex-direction: column; gap: 0.85rem; }
.wa-popup label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #121219;
}
.wa-popup input {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ece6da;
  border-radius: 0.625rem;
  background: #ffffff;
  color: #121219;
}
.wa-popup input:focus {
  outline: none;
  border-color: #d7aa39;
  box-shadow: 0 0 0 3px #fff7e1;
}
.wa-popup-error { margin: 0; color: #b42318; font-size: 0.85rem; font-weight: 500; }
.btn-wa-continue {
  width: 100%;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #0f7a3a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn-wa-continue:hover { background: #0b5f2d; }
 
/* =========================================================
   Hero — explicit CSS so WordPress does not depend on
   missing Tailwind arbitrary classes. This stops the mock
   photo from exploding full-bleed over the headline.
   ========================================================= */
.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
.hero-copy { text-align: center; }
.hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
 
/* Hero "Chat on WhatsApp" button — sits next to Request a Callback in .hero-ctas.
   Add class="btn-hero-wa" to that link/element in the HTML, with a small
   white WhatsApp icon (svg or img) placed before the text inside it. */
.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-hero-wa:hover {
  background: #1fb959;
  transform: translateY(-2px);
}
.btn-hero-wa svg,
.btn-hero-wa img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
 
.hero-mock { display: none; }
 
.device-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  margin: 0 auto;
}
.device-laptop,
.device-phone {
  position: absolute;
  overflow: hidden;
  background: #ffffff;
}
.device-laptop {
  top: 0;
  left: 0;
  width: 74%;
  border: 1px solid rgba(18, 18, 25, 0.1);
  border-radius: 1rem;
  box-shadow: 0 24px 50px -24px rgba(18, 18, 25, 0.45);
}
.device-chrome {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #121219;
  padding: 0.5rem 0.75rem;
}
.device-chrome i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  display: block;
}
.device-chrome i:nth-child(1) { background: #F87171; }
.device-chrome i:nth-child(2) { background: #FBBF24; }
.device-chrome i:nth-child(3) { background: #34D399; }
.device-chrome .url {
  margin-left: 0.5rem;
  height: 1rem;
  flex: 1;
  border-radius: 0.375rem;
  background: rgba(255, 254, 248, 0.15);
}
.device-phone {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 42%;
  border: 3px solid #121219;
  border-radius: 1.6rem;
  box-shadow: 0 18px 40px -18px rgba(18, 18, 25, 0.5);
}
.device-notch {
  width: 2.5rem;
  height: 0.375rem;
  margin: 0.5rem auto 0;
  border-radius: 999px;
  background: rgba(18, 18, 25, 0.2);
}
.device-body { padding: 0.65rem 0.85rem 0.9rem; }
.device-phone .device-body { padding: 0.55rem; }
.device-shot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 132px !important;
  object-fit: cover;
  border-radius: 0.75rem;
}
.device-phone .device-shot {
  height: 88px !important;
  border-radius: 0.5rem;
}
 
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero-copy { text-align: left; }
  .hero-copy .hero-sub { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-mock { display: flex; justify-content: center; }
}
 
@media (max-width: 1023px) {
  .hero-mock { display: none !important; }
}
 
.hero-form-wrap {
  max-width: 40rem;
  margin: 3.5rem auto 0;
  padding-bottom: 2.5rem;
}
 
/* Lead form — stacked quote-card style */
.lead-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 24px 60px -28px rgba(18, 18, 25, 0.18);
}
@media (min-width: 640px) {
  .lead-card { padding: 2.5rem 2.5rem 2rem; }
}
.lead-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.lead-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #121219;
}
.lead-label span { font-weight: 400; color: #6b677a; }
.lead-input {
  display: block;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  background: #fff7e1;
  color: #121219;
  font-size: 1rem;
  font-family: inherit;
}
.lead-input::placeholder { color: #6b677a; }
.lead-input:focus {
  outline: none;
  background: #fffbf1;
  box-shadow: 0 0 0 3px rgba(246, 200, 79, 0.45);
}
.lead-area { min-height: 7rem; resize: none; }
.lead-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.lead-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 6.5rem;
  padding: 0.85rem 0.6rem;
  border: 0;
  border-radius: 1rem;
  background: #fff7e1;
  color: #52505c;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.lead-tile-icon { width: 1.75rem; height: 1.75rem; }
.lead-tile.is-on {
  background: #f6c84f;
  color: #121219;
  box-shadow: 0 12px 28px -8px rgba(215, 170, 57, 0.45);
}
.lead-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5rem;
  margin-top: 1.75rem;
  border: 0;
  border-radius: 0.85rem;
  background: #121219;
  color: #fffef8;
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.lead-submit:hover { background: #1e1e2a; }
.lead-wa {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.85rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #0f7a3a;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(15, 122, 58, 0.5);
}
.lead-wa:hover {
  background: #0b5f2d;
  transform: translateY(-2px);
}
.lead-note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6b677a;
}
 














