/* ============================================
   NOVA PROTECT — Static Site Stylesheet
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-primary: #086afe;
  --color-primary-dark: #0656cc;
  --color-primary-light: #e8f1ff;
  --color-dark: #031530;
  --color-body: #374c6c;
  --color-light-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1200px;
  --section-padding: 80px;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

/* --- Reset / Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--light {
  background: var(--color-light-bg);
}

.section--blue {
  background: var(--color-primary);
}

.section--blue .section-header h2 {
  color: var(--color-white);
}

.section--blue .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.section--blue .section-label {
  color: var(--color-white);
  opacity: 0.8;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--color-body);
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 72px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.header-phone:hover {
  color: var(--color-white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  color: var(--color-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-dropdown-toggle::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--transition);
}

.mobile-dropdown-toggle.active::after {
  content: '−';
}

.mobile-dropdown-items {
  display: none;
  padding-left: 16px;
}

.mobile-dropdown-items.active {
  display: block;
}

.mobile-dropdown-items a {
  font-size: 1rem;
  padding: 10px 0;
}

.mobile-nav .btn {
  display: block;
  text-align: center;
  margin-top: 24px;
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 12px 24px;
  z-index: 1000;
  text-align: center;
}

.mobile-cta-bar a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--color-dark) 0%, #0a2a5c 100%);
  color: var(--color-white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 21, 48, 0.7);
  z-index: 1;
}

.hero--has-bg .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  max-width: 640px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero .btn-group {
  margin-top: 8px;
}

/* Hero for inner pages */
.hero--inner {
  padding: 60px 0;
  text-align: center;
}

.hero--inner h1 {
  max-width: 100%;
}

.hero--inner p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.card h3 a {
  color: var(--color-dark);
}

.card h3 a:hover {
  color: var(--color-primary);
}

/* Card with image */
.card--has-img {
  padding: 0;
  overflow: hidden;
}

.card--has-img .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card--has-img .card-body {
  padding: 24px 32px 32px;
}

.card--has-img .card-body h3 {
  margin-bottom: 12px;
}

/* Story layout (about page) */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Side-by-side cards (replaces carousel) */
.two-col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border-top: 4px solid var(--color-primary);
}

.feature-card h3 {
  color: var(--color-dark);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-dark);
  font-style: normal;
  font-size: 0.95rem;
}

.testimonial-stars {
  color: #f5a623;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-top: 32px;
  font-size: 1rem;
}

/* --- Forms --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 106, 254, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.hidden {
  display: none !important;
}

/* Inline form (homepage) */
.inline-form-section {
  background: var(--color-dark);
  color: var(--color-white);
}

.inline-form-section h2 {
  color: var(--color-white);
}

.inline-form-section p {
  color: rgba(255, 255, 255, 0.8);
}

.inline-form-section .form-group label {
  color: var(--color-white);
}

.inline-form-section .form-group input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.inline-form-section .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.inline-form-section .form-group input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.15);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* --- Content Page --- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.content-page h2 {
  margin-top: 32px;
}

.content-page h3 {
  margin-top: 24px;
}

.content-page ul,
.content-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-page ul {
  list-style: disc;
}

.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: 8px;
}

/* About page values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border-left: 4px solid var(--color-primary);
}

/* Contact page info */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .nav-links {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .header .btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .card-grid,
  .two-col-cards,
  .testimonials-grid,
  .values-grid,
  .steps,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: 56px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}
