/* =====================================================
   A7V Apartment Services — Main Stylesheet
   https://www.asevenv.com
   ===================================================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; color: #1a2333; background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === VARIABLES === */
:root {
  --navy:       #1e2e4e;
  --navy-dark:  #142038;
  --navy-mid:   #263a5f;
  --steel:      #4a7fa5;
  --steel-light:#7aadc8;
  --off-white:  #f6f8fb;
  --gray-50:    #f8f9fa;
  --gray-100:   #e9ecef;
  --gray-200:   #dee2e6;
  --gray-300:   #ced4da;
  --gray-500:   #6c757d;
  --gray-700:   #495057;
  --text:       #1a2333;
  --text-light: #5a6a7e;
  --green-bg:   #e8f5ed;
  --green-text: #1f6b3a;
  --amber-bg:   #fff8e1;
  --amber-text: #92400e;
  --max-w:      1100px;
  --radius:     8px;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 3px solid var(--steel);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1rem;
}
.nav-logo img { height: 54px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-phone {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-phone strong { color: #fff; }
.nav-cta {
  background: var(--steel) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
  border: none;
}
.nav-cta:hover { background: var(--steel-light) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-phone  { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 4px 0; }
  .nav-cta { margin-top: 0.5rem; width: 100%; text-align: center; display: block; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-mid); }

/* === HERO === */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: #fff;
  padding: 90px 1.5rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
}
.hero-badge {
  display: inline-block;
  background: rgba(74,127,165,0.2);
  border: 1px solid rgba(122,173,200,0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--steel-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.hero h1 em { font-style: normal; color: var(--steel-light); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-phone {
  display: block;
  margin-top: 1.5rem;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.hero-phone a { color: var(--steel-light); font-weight: 600; }

/* === STAT BAR === */
.stat-bar { background: #fff; border-bottom: 1px solid var(--gray-100); }
.stat-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.stat-label { font-size: 13px; color: var(--text-light); line-height: 1.4; }
@media (max-width: 640px) {
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* === SECTION CONTAINERS === */
.section { padding: 76px 1.5rem; }
.section-sm { padding: 48px 1.5rem; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy); color: #fff; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
  display: block;
}
.section-label-white { color: var(--steel-light); }
.section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title-white { color: #fff; }
.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 3rem;
  line-height: 1.65;
}
.section-sub-white { color: rgba(255,255,255,0.72); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 0.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 6px 24px rgba(30,46,78,0.1);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--green-bg);
  color: var(--green-text);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}
.service-tag-quote {
  background: var(--amber-bg);
  color: var(--amber-text);
}

/* === TRUST / INSURANCE BADGES === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 2.5rem;
}
.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.trust-badge:hover { background: rgba(255,255,255,0.1); }
.trust-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.trust-badge h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.trust-badge p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* === WHY A7V === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-icon {
  width: 54px;
  height: 54px;
  background: var(--steel);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.why-item h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.why-item p { font-size: 15px; color: var(--text-light); line-height: 1.65; }

/* === TESTIMONIAL === */
.testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.testimonial blockquote {
  font-size: 19px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial cite { font-size: 14px; color: var(--steel-light); font-style: normal; font-weight: 600; }

/* === CTA STRIP === */
.cta-strip {
  background: var(--steel);
  color: #fff;
  padding: 52px 1.5rem;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; margin-bottom: 10px; }
.cta-strip p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,0.5); }

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 60px 1.5rem;
  color: #fff;
  text-align: center;
  border-bottom: 3px solid var(--steel);
}
.page-header h1 { font-size: clamp(26px, 4.5vw, 42px); font-weight: 800; margin-bottom: 10px; }
.page-header p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 500px; margin: 0 auto; }

/* === PRICING TABLES === */
.pricing-group { margin-bottom: 2.25rem; }
.pricing-group-title {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0;
}
.pricing-table-wrap {
  border: 1px solid var(--gray-100);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table tr { border-bottom: 1px solid var(--gray-100); }
.pricing-table tr:last-child { border-bottom: none; }
.pricing-table td { padding: 11px 20px; font-size: 14px; color: var(--text); }
.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.pricing-table tr:nth-child(even) td { background: var(--off-white); }

/* === GALLERY — OUR WORK === */
.gallery-grid { margin-top: 0.5rem; }
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.gallery-item { position: relative; overflow: hidden; background: var(--gray-100); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
  max-height: 320px;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.label-before {
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
}
.label-after {
  background: linear-gradient(180deg, rgba(30,46,78,0.8) 0%, transparent 100%);
  color: var(--steel-light);
}
.gallery-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}
.gallery-caption {
  grid-column: 1 / -1;
  background: var(--off-white);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--gray-100);
}
.gallery-caption:empty { display: none; }
.gallery-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-light);
}
.gallery-empty h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.gallery-empty p { font-size: 15px; }
.gallery-instructions {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.gallery-instructions h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.gallery-instructions ol { padding-left: 1.25rem; }
.gallery-instructions li { font-size: 14px; color: var(--text-light); margin-bottom: 6px; line-height: 1.5; }
.gallery-instructions code {
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--navy);
}

/* === AREA CARDS === */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.area-card { border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden; }
.area-card-head { background: var(--navy); padding: 1.5rem; }
.area-card-head h3 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.area-card-head p { color: rgba(255,255,255,0.62); font-size: 14px; }
.area-card-body { padding: 1.4rem; }
.area-card-body li {
  font-size: 14px;
  color: var(--text-light);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.area-card-body li:last-child { border-bottom: none; }
.area-card-body li::before { content: '✓'; color: var(--steel); font-weight: 700; flex-shrink: 0; }

/* === CONTACT / QUOTE FORM === */
.form-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-full { grid-column: 1 / -1; }
@media (max-width: 580px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(74,127,165,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 1rem; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 12px; }

/* === FOOTER === */
.footer { background: var(--navy-dark); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; background: white; border-radius: 8px; padding: 6px 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--steel-light); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 8px; line-height: 1.5; }
.footer-insurance {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* === ABOUT PAGE === */
.team-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-icon { font-size: 32px; }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* === MISC UTILS === */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.gap-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.divider { height: 1px; background: var(--gray-100); margin: 2.5rem 0; }
.callout {
  border-left: 4px solid var(--steel);
  background: var(--off-white);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout-amber {
  border-left-color: #f59e0b;
  background: var(--amber-bg);
}
.callout p { font-size: 15px; color: var(--text-light); }
.callout-amber p { color: #7c5f00; }
.callout strong { color: var(--navy); }
.callout-amber strong { color: var(--amber-text); }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* === RESPONSIVE CLEANUP === */
@media (max-width: 640px) {
  .section { padding: 52px 1.25rem; }
  .hero { padding: 60px 1.25rem 56px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .gallery-pair { grid-template-columns: 1fr; }
  .gallery-label { display: none; }
}
