/*
Theme Name: Adonwebs Theme
Theme URI: https://www.adonwebs.com/
Author: Adonwebs
Author URI: https://www.adonwebs.com/
Description: Adonwebs PPC & paid media agency theme. Professional enterprise home page with hero, services, industries, results, testimonials, FAQ, free-audit form, locations and a floating WhatsApp chat.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: adonwebs
*/

*, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: #ffffff; color: #0b2545; font-family: 'Public Sans', system-ui, sans-serif; }
  a { color: #1f6feb; }
  a:hover { color: #1a5fce; }
  h1,h2,h3,h4 { font-family: 'Libre Franklin', system-ui, sans-serif; }
  section[id], main > section { scroll-margin-top: 118px; }
  .btn { transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }
  .btn-primary:hover { background: #1a5fce !important; }
  .btn-secondary:hover { border-color: #1f6feb !important; color: #1f6feb !important; }
  .card { transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
  .card:hover { box-shadow: 0 14px 34px rgba(11,37,69,.10); transform: translateY(-3px); border-color: #cdd8e6 !important; }
  @media (max-width: 940px) { .hero-img { width: 100% !important; margin: 0 !important; aspect-ratio: 4/3 !important; } }
  details[open] .v5-plus { transform: rotate(45deg); }
  @keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 8px 24px rgba(0,0,0,.2); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.2); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.2); } }
  .wa-float { animation: waPulse 2s infinite; }
  .wa-float:hover { background: #1ebe5b !important; transform: scale(1.06); }
  summary::-webkit-details-marker { display: none; }
  .navlink:hover { color: #0b2545 !important; }
  @media (max-width: 940px) {
    [data-stack] { grid-template-columns: 1fr !important; }
    [data-stack-foot] { grid-template-columns: 1fr 1fr !important; }
    [data-svc] { grid-template-columns: 1fr 1fr !important; }
  }
  @media (max-width: 940px) { [data-locgrid] { grid-template-columns: repeat(3,1fr) !important; } [data-gallery] { grid-template-columns: repeat(2,1fr) !important; } }
  @media (max-width: 620px) { [data-stack-foot], [data-svc], [data-logos], [data-locgrid] { grid-template-columns: 1fr 1fr !important; } }
  @media (max-width: 820px) { .navlink, .topbar { display: none !important; } }


/* --- Contact Form 7 (audit form) styling --- */
.audit-form .wpcf7-form { display: block; }
.audit-form .wpcf7 .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 940px) { .audit-form .wpcf7 .grid { grid-template-columns: 1fr; } }
.audit-form label { font-size: 13px; font-weight: 600; color: #475569; display: block; }
.audit-form input[type=text],
.audit-form input[type=email],
.audit-form input[type=tel],
.audit-form input[type=url],
.audit-form select,
.audit-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px; border-radius: 8px;
  border: 1px solid #cbd5e1; background: #fff; color: #0b2545;
  font: 500 15px 'Public Sans', system-ui, sans-serif;
}
.audit-form textarea { resize: vertical; min-height: 92px; }
.audit-form input:focus, .audit-form select:focus, .audit-form textarea:focus {
  outline: none; border-color: #1f6feb; box-shadow: 0 0 0 3px rgba(31,111,235,.15);
}
.audit-form .wpcf7-checkbox .wpcf7-list-item { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-size: 14px; color: #0b2545; }
.audit-form .wpcf7-submit {
  width: 100%; margin-top: 18px; padding: 15px; border-radius: 8px;
  background: #1f6feb; color: #fff; border: 0; cursor: pointer;
  font: 600 16px 'Libre Franklin', system-ui, sans-serif;
}
.audit-form .wpcf7-submit:hover { background: #1a5fce; }
.audit-form .wpcf7-spinner { margin: 12px auto 0; display: block; }
