/*
Theme Name: Price Mortgages
Theme URI: https://pricemortgages.ca
Author: Price Mortgages
Author URI: https://pricemortgages.ca
Description: A warm, earthy WordPress theme for Price Mortgages — Ottawa's trusted mortgage broker. Features editable content via the WordPress Customizer, embedded mortgage calculator, and a professional one-page layout.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: price-mortgages
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --sage: #5a7a5e;
  --sage-deep: #3d5a40;
  --sage-light: #7a9e7e;
  --terracotta: #c76f4e;
  --terracotta-light: #e08a6a;
  --sand: #f5efe6;
  --sand-dark: #e8dfd2;
  --linen: #faf8f4;
  --text: #3a3530;
  --text-light: #7a7268;
  --white: #ffffff;
  --warm-shadow: rgba(90,70,50,0.08);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--linen);
  line-height: 1.7;
}

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

/* ========================================
   UTILITY BAR (phone + email)
   ======================================== */
.utility-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: #2d4430;
  padding: 0 40px; height: 36px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.utility-bar a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.3s;
}
.utility-bar a:hover { color: var(--white); }

/* WordPress admin bar offset (when logged in) */
.admin-bar .utility-bar { top: 32px; }
.admin-bar .top-bar { top: 68px; }
.admin-bar .main-nav { margin-top: 128px; top: 128px; }

/* ========================================
   PERSISTENT TOP BAR
   ======================================== */
.top-bar {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
  background: var(--sage-deep);
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.top-bar-logo {
  color: var(--white); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.top-bar-logo .leaf {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.top-bar .cta-btn {
  background: var(--terracotta); color: var(--white);
  padding: 10px 28px; border-radius: 50px; text-decoration: none;
  font-size: 14px; font-weight: 700; transition: all 0.3s;
}
.top-bar .cta-btn:hover { background: var(--terracotta-light); transform: translateY(-1px); }

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
  margin-top: 96px;
  background: var(--white);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 36px; height: 50px;
  border-bottom: 1px solid var(--sand-dark);
  position: sticky; top: 96px; z-index: 999;
}
.main-nav a {
  text-decoration: none; color: var(--text-light);
  font-size: 14px; font-weight: 600; transition: color 0.3s;
}
.main-nav a:hover { color: var(--sage); }

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 90px 60px 80px;
  display: flex; align-items: center; justify-content: center;
  gap: 80px; max-width: 1300px; margin: 0 auto;
}
.hero-content { max-width: 540px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sand); border: 1px solid var(--sand-dark);
  padding: 8px 18px; border-radius: 50px; margin-bottom: 24px;
  font-size: 13px; color: var(--sage); font-weight: 600;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 50px; font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--terracotta); }
.hero p { font-size: 17px; color: var(--text-light); margin-bottom: 32px; max-width: 460px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--sage); color: var(--white);
  padding: 16px 36px; border-radius: 50px; text-decoration: none;
  font-size: 15px; font-weight: 700; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(90,122,94,0.25);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--sage);
  padding: 16px 36px; border-radius: 50px; text-decoration: none;
  font-size: 15px; font-weight: 700; transition: all 0.3s;
  border: 2px solid var(--sage);
}
.btn-secondary:hover { background: var(--sage); color: var(--white); }
.hero-trust {
  display: flex; gap: 24px; margin-top: 28px;
  font-size: 13px; color: var(--text-light);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .check { color: var(--sage); font-weight: bold; }

.hero-image-area { position: relative; width: 500px; }
.hero-img-frame {
  width: 100%; height: 400px;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-dark) 100%);
  border-radius: 30px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; color: var(--text-light); font-size: 17px;
  text-align: center; padding: 40px;
  box-shadow: 0 20px 60px var(--warm-shadow);
}
.hero-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0;
}
.hero-stats-bar {
  display: flex; gap: 2px; margin-top: 20px;
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 30px var(--warm-shadow);
}
.hero-stat {
  flex: 1; padding: 20px; text-align: center;
  background: var(--white);
}
.hero-stat .num {
  font-family: 'Fraunces', serif; font-size: 26px;
  font-weight: 800; color: var(--sage-deep);
}
.hero-stat .label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ========================================
   SECTION HEADINGS
   ======================================== */
.section-label {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 10px; font-weight: 700;
}
.section-title {
  font-family: 'Fraunces', serif; font-size: 40px;
  font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--text-light); max-width: 560px; }

/* ========================================
   SERVICES
   ======================================== */
.services { padding: 100px 60px; background: var(--white); text-align: center; }
.services .section-desc { margin: 0 auto 60px; }
.services-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  width: calc(33.333% - 16px);
  background: var(--linen); padding: 36px 28px;
  border-radius: 24px; text-align: left; transition: all 0.3s;
  border: 1px solid transparent;
}
.service-card:hover { border-color: var(--sage-light); transform: translateY(-4px); box-shadow: 0 12px 40px var(--warm-shadow); }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: 2px solid var(--sage);
  display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; font-size: 22px;
  color: var(--sage);
}
.service-card h3 { font-family: 'Fraunces', serif; font-size: 19px; color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); }

/* Featured service card */
.service-card.featured {
  width: 100%;
  background: linear-gradient(135deg, var(--sage-deep) 0%, var(--sage) 100%);
  color: var(--white);
  display: flex; align-items: center; gap: 32px;
  padding: 40px 48px;
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3);
  color: var(--white); flex-shrink: 0;
}
.service-card.featured h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.service-card.featured p { color: rgba(255,255,255,0.8); font-size: 15px; }
.service-card.featured .featured-text { flex: 1; }
.service-card.featured .featured-cta {
  background: var(--terracotta); color: var(--white);
  padding: 12px 28px; border-radius: 50px; text-decoration: none;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: all 0.3s; flex-shrink: 0;
}
.service-card.featured .featured-cta:hover { background: var(--terracotta-light); transform: translateY(-1px); }

/* ========================================
   ABOUT / WHY US
   ======================================== */
.why-us {
  padding: 100px 60px; max-width: 1300px; margin: 0 auto;
  display: flex; gap: 80px; align-items: center;
}
.why-us-image {
  flex: 0 0 420px; height: 500px;
  background: var(--sand); border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; color: var(--text-light);
  font-size: 17px; text-align: center; padding: 40px;
  box-shadow: 0 20px 60px var(--warm-shadow);
  position: relative; overflow: hidden;
}
.why-us-image img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0;
}
.why-us-image .exp-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: var(--sage-deep); color: var(--white);
  padding: 16px; border-radius: 16px; text-align: center;
  z-index: 2;
}
.why-us-image .exp-badge .num { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 800; }
.why-us-image .exp-badge .txt { font-size: 13px; opacity: 0.8; }
.why-us-content { flex: 1; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.why-item { display: flex; gap: 14px; }
.why-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 2px solid var(--sage);
  display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 16px;
  color: var(--sage);
}
.why-item h4 { font-family: 'Fraunces', serif; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.why-item p { font-size: 13px; color: var(--text-light); }

/* ========================================
   MY APPROACH
   ======================================== */
.approach {
  padding: 100px 60px;
  background: var(--sand);
  text-align: center;
}
.approach .section-desc { margin: 0 auto 60px; }
.approach-subtitle {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 40px;
}
.approach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.approach-step {
  background: var(--white); padding: 32px 24px;
  border-radius: 24px; text-align: left; transition: all 0.3s;
  border: 1px solid transparent;
}
.approach-step:hover { border-color: var(--sage-light); transform: translateY(-4px); box-shadow: 0 12px 40px var(--warm-shadow); }
.approach-num {
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 800;
  color: var(--sage); margin-bottom: 12px;
}
.approach-step h3 { font-family: 'Fraunces', serif; font-size: 17px; color: var(--text); margin-bottom: 8px; }
.approach-step p { font-size: 14px; color: var(--text-light); }

/* ========================================
   CALCULATOR
   ======================================== */
.calculator { padding: 100px 60px; background: var(--white); text-align: center; }
.calc-container {
  max-width: 1100px; margin: 40px auto 0;
  overflow: hidden;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 100px 60px;
  background: var(--sage-deep); text-align: center; color: var(--white);
}
.testimonials .section-label { color: var(--terracotta-light); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-desc { color: rgba(255,255,255,0.7); margin: 0 auto 60px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.testimonial-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px; padding: 32px; text-align: left;
}
.testimonial-stars { color: #f7c948; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--terracotta); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-weight: 700; font-size: 14px;
}
.testimonial-name { font-weight: 700; color: var(--white); font-size: 14px; }
.testimonial-loc { font-size: 12px; color: var(--sage-light); }

/* ========================================
   FAQ
   ======================================== */
.faq { padding: 100px 60px; text-align: center; }
.faq .section-desc { margin: 0 auto 60px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-family: 'Fraunces', serif; font-size: 16px;
  color: var(--text); font-weight: 600; background: var(--white);
  border-radius: 16px; transition: all 0.3s;
  border: 1px solid transparent;
}
.faq-question:hover { border-color: var(--sage-light); }
.faq-item.active .faq-question { border-color: var(--sage); background: var(--sage); color: var(--white); border-radius: 16px 16px 0 0; }
.faq-toggle { font-size: 20px; transition: transform 0.3s; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  font-size: 15px; color: var(--text-light); line-height: 1.7;
  background: var(--white); border-radius: 0 0 16px 16px;
}
.faq-answer-inner { padding: 0 24px 22px; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

/* ========================================
   CONTACT
   ======================================== */
.contact { padding: 100px 60px; background: var(--white); text-align: center; }
.contact .section-desc { margin: 0 auto 60px; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; text-align: left;
}
.contact-info-card {
  background: var(--linen); border-radius: 24px; padding: 40px;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 2px solid var(--sage);
  display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--sage);
}
.contact-info-item h4 { font-family: 'Fraunces', serif; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-light); }
.contact-form { background: var(--linen); border-radius: 24px; padding: 40px; }
.contact-iframe-wrap { background: var(--linen); border-radius: 24px; padding: 24px; overflow: hidden; }
.contact-iframe-wrap iframe { width: 100%; min-height: 600px; border: none; border-radius: 12px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 13px; color: var(--text); font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 18px; border: 1px solid var(--sand-dark);
  border-radius: 14px; font-family: 'Nunito Sans', sans-serif; font-size: 15px;
  background: var(--white); color: var(--text); transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn {
  width: 100%; padding: 16px; background: var(--sage);
  color: var(--white); border: none; border-radius: 50px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s;
  margin-top: 8px; box-shadow: 0 4px 16px rgba(90,122,94,0.25);
}
.submit-btn:hover { background: var(--sage-deep); transform: translateY(-2px); }
.form-disclaimer { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--sage-deep); color: rgba(255,255,255,0.7); padding: 80px 60px 30px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px;
}
.footer-brand .footer-logo {
  font-family: 'Fraunces', serif; font-size: 19px;
  color: var(--white); font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.footer-brand .footer-logo .leaf {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: all 0.3s;
}
.footer-social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.footer h4 { font-family: 'Fraunces', serif; font-size: 16px; color: var(--white); margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer ul a:hover { color: var(--terracotta-light); }
.footer-bottom {
  max-width: 1200px; margin: 50px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* ========================================
   PAGE TEMPLATE (for WordPress pages)
   ======================================== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 60px 80px;
}
.page-header {
  text-align: center;
  margin-bottom: 50px;
}
.page-body {
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
}
.page-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--sage);
  margin: 40px 0 16px;
}
.page-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--text);
  margin: 32px 0 12px;
}
.page-body p {
  margin-bottom: 18px;
  color: var(--text-light);
}
.page-body ul, .page-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-light);
}
.page-body li {
  margin-bottom: 8px;
}
.page-body a {
  color: var(--sage);
  text-decoration: underline;
  transition: color 0.3s;
}
.page-body a:hover {
  color: var(--deep-sage);
}
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}
.page-body blockquote {
  border-left: 4px solid var(--sage);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--sand);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeInUp 0.8s ease; }
.hero-image-area { animation: fadeInUp 0.8s ease 0.2s both; }

/* ========================================
   RESPONSIVE — TABLET (max 1024px)
   ======================================== */
@media (max-width: 1024px) {
  /* Hero */
  .hero { flex-direction: column; padding: 60px 30px 50px; gap: 40px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-image-area { width: 100%; max-width: 500px; }
  .hero h1 { font-size: 38px; }

  /* Services — 2 per row, centered */
  .services { padding: 60px 30px; }
  .service-card { width: calc(50% - 12px); }
  .service-card.featured { width: 100%; flex-direction: column; padding: 30px; text-align: center; }
  .service-card.featured .featured-cta { align-self: center; }

  /* About */
  .why-us { flex-direction: column; padding: 60px 30px; gap: 40px; }
  .why-us-image { flex: none; width: 100%; max-width: 500px; height: 400px; }

  /* Approach — 2 per row */
  .approach { padding: 60px 30px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }

  /* Calculator */
  .calculator { padding: 60px 30px; }
  .calc-container { padding: 16px; }

  /* Testimonials — 2 per row */
  .testimonials { padding: 60px 30px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq { padding: 60px 30px; }

  /* Contact — stack */
  .contact { padding: 60px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 30px; }
  .contact-form { padding: 30px; }

  /* Footer — 2 cols */
  .footer { padding: 60px 30px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  /* Page template */
  .page-content { padding: 100px 30px 60px; }

  /* Utility bar — smaller on tablet */
  .utility-bar { padding: 0 20px; font-size: 12px; }

  /* Nav — wrap on smaller tablets */
  .top-bar { padding: 0 20px; }
  .top-bar-logo { font-size: 15px; }
  .main-nav { padding: 10px 20px; gap: 16px; flex-wrap: wrap; height: auto; justify-content: center; }
  .main-nav a { font-size: 13px; }
}

/* ========================================
   RESPONSIVE — MOBILE (max 640px)
   ======================================== */
@media (max-width: 640px) {
  /* Utility bar on mobile — compact */
  .utility-bar { padding: 0 16px; height: 30px; font-size: 11px; }
  .utility-bar a { gap: 5px; }

  /* Typography — bumped +2px per Matt's request */
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 17px; }
  .hero p { font-size: 17px; }

  /* Top bar — offset for mobile utility bar */
  .top-bar { height: 54px; padding: 0 16px; top: 30px; }
  .top-bar-logo { font-size: 14px; gap: 8px; }
  .top-bar-logo .leaf { width: 30px; height: 30px; font-size: 15px; }
  .top-bar .cta-btn { padding: 7px 16px; font-size: 12px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }

  /* Nav — horizontal scroll on small screens */
  .main-nav {
    margin-top: 84px; top: 84px;
    padding: 10px 16px; gap: 14px;
    justify-content: flex-start; overflow-x: auto;
    -webkit-overflow-scrolling: touch; flex-wrap: nowrap;
  }
  .main-nav a { font-size: 13px; white-space: nowrap; }

  /* Hero */
  .hero { padding: 40px 20px 30px; gap: 30px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 14px 28px; }
  .hero-trust { flex-direction: column; gap: 8px; align-items: center; }
  .hero-image-area { max-width: 100%; }
  .hero-img-frame { height: 280px; border-radius: 20px; padding: 20px; }
  .hero-stats-bar { flex-direction: column; border-radius: 16px; }
  .hero-stat { padding: 14px; }
  .hero-stat .num { font-size: 22px; }

  /* Services — 1 per row */
  .services { padding: 50px 20px; }
  .service-card { width: 100%; }
  .service-card { padding: 28px 22px; }
  .service-card.featured { flex-direction: column; padding: 28px 22px; text-align: center; gap: 20px; }
  .service-card.featured .featured-cta { align-self: center; }

  /* About */
  .why-us { padding: 50px 20px; gap: 30px; }
  .why-us-image { height: 300px; border-radius: 20px; }
  .why-us-image .exp-badge { padding: 12px; border-radius: 12px; }
  .why-us-image .exp-badge .num { font-size: 22px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-icon { width: 38px; height: 38px; font-size: 16px; }

  /* Approach — 1 per row */
  .approach { padding: 50px 20px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-subtitle { font-size: 17px; }
  .approach-step { padding: 24px 20px; }
  .approach-num { font-size: 26px; }

  /* Calculator */
  .calculator { padding: 50px 20px; }
  .calc-container { padding: 12px; border-radius: 12px; }

  /* Testimonials — 1 per row */
  .testimonials { padding: 50px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; }

  /* FAQ */
  .faq { padding: 50px 20px; }
  .faq-question { padding: 16px 18px; font-size: 17px; }
  .faq-answer-inner { padding: 0 18px 18px; font-size: 16px; }

  /* Contact */
  .contact { padding: 50px 20px; }
  .contact-info-card { padding: 24px; border-radius: 20px; }
  .contact-form { padding: 24px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 14px; }
  .submit-btn { padding: 14px; font-size: 15px; }

  /* Footer */
  .footer { padding: 50px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Page template */
  .page-content { padding: 100px 20px 50px; }
  .page-body h2 { font-size: 24px; }
  .page-body h3 { font-size: 19px; }
  .page-body { font-size: 15px; }
}
