/* AAA Heating, Air & Electrical - Brand Styles
   Bold red #CC0000, Black #111, White
   Fast-loading, clean, trustworthy design
*/

:root {
  --aaa-red: #CC0000;
  --aaa-red-dark: #A30000;
  --aaa-black: #111111;
  --aaa-dark: #1F1F1F;
  --aaa-gray: #F5F5F5;
  --aaa-light-gray: #FAFAFA;
  --aaa-text: #222222;
  --aaa-text-light: #555555;
  --aaa-border: #E5E5E5;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--aaa-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}

/* Brand Buttons */
.btn-red {
  background-color: var(--aaa-red);
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 4px 6px -1px rgb(204 0 0 / 0.25);
}

.btn-red:hover {
  background-color: var(--aaa-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(204 0 0 / 0.35);
}

.btn-red:active {
  transform: translateY(0);
}

.btn-black {
  background-color: var(--aaa-black);
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

.btn-black:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--aaa-black);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  border: 2px solid var(--aaa-border);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--aaa-black);
  background: var(--aaa-light-gray);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 9999px;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--aaa-border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  border-color: #e5e5e5;
}

/* Nav */
.nav-link {
  color: var(--aaa-text-light);
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--aaa-black);
}

.nav-link.active {
  color: var(--aaa-black);
  font-weight: 600;
}

/* Form Styles */
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--aaa-border);
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--aaa-red);
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.08);
}

label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--aaa-text-light);
  display: block;
  margin-bottom: 6px;
}

/* Modal */
.modal {
  animation: modalPop 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Triple C Highlight */
.triple-c-badge {
  background: #FEF2F2;
  color: var(--aaa-red);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

/* Trust / Stats */
.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--aaa-black);
}

/* Footer */
footer {
  background: var(--aaa-black);
  color: #aaa;
}

footer a {
  color: #ccc;
  transition: color 0.15s;
}

footer a:hover {
  color: white;
}

/* Blog */
.blog-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-3px);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 420px;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  .no-print { display: none !important; }
}