/* ==============================
   ARCS — Asmore Residential & Commercial Services
   Clean & Professional Theme
   ============================== */

:root {
  --navy:       #0E2340;
  --navy-mid:   #1B3D6B;
  --gold:       #C49A3C;
  --gold-light: #E8C46A;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --border:     #E2E6EE;
  --text:       #1A2236;
  --text-muted: #6B7A99;
  --text-light: #A0ABBE;
  --shadow-sm:  0 2px 8px rgba(14,35,64,0.07);
  --shadow-md:  0 6px 24px rgba(14,35,64,0.11);
  --shadow-lg:  0 16px 48px rgba(14,35,64,0.14);
  --radius:     10px;
  --nav-h:      72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

em { font-style: italic; color: var(--gold); }

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,154,60,0.35);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 35, 64, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.1rem;
}
.logo-mark.sm { width: 28px; height: 28px; font-size: 0.9rem; border-radius: 6px; }
.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu .mobile-cta {
  margin-top: 1rem;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  border-radius: 8px;
  border-bottom: none;
  font-weight: 600;
  padding: 0.75rem;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,60,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,60,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--navy), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(196,154,60,0.15);
  border: 1px solid rgba(196,154,60,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 2rem 4rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== SECTION LABELS ====== */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ====== SERVICES SNAPSHOT ====== */
.services-snap {
  padding: 6rem 0;
  background: var(--off-white);
}
.services-snap .section-title { text-align: left; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}

/* ====== WHY ARCS ====== */
.why { padding: 6rem 0; background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.why-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}
.check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.why-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.wc2 { margin-left: 1.5rem; }
.wc-icon { font-size: 1.5rem; flex-shrink: 0; }
.wc-body strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.wc-body p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ====== CTA BAND ====== */
.cta-band {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.05rem; }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  text-align: center;
}
.page-hero-title { color: var(--white); margin-bottom: 1rem; }
.page-hero-sub {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 300;
}

/* ====== SERVICES FULL PAGE ====== */
.services-full { padding: 5rem 0; }
.service-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-icon { font-size: 4rem; text-align: center; }
.service-detail-body h2 { color: var(--navy); margin-bottom: 0.5rem; }
.service-tagline {
  color: var(--gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.service-detail-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.service-detail-body ul {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-detail-body ul li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 1.2rem;
  position: relative;
}
.service-detail-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.service-divider {
  height: 1px;
  background: var(--border);
}

/* ====== ABOUT ====== */
.about-story { padding: 5rem 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 { color: var(--navy); margin-bottom: 1.25rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.97rem; }

.about-values { display: flex; flex-direction: column; gap: 1.25rem; }
.value-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  position: relative;
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(196,154,60,0.2);
  position: absolute;
  top: 1rem; right: 1.25rem;
}
.value-card h3 { color: var(--navy); margin-bottom: 0.4rem; }
.value-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

.service-area { padding: 5rem 0; background: var(--off-white); text-align: center; }
.service-area .section-title { text-align: center; }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.area-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* ====== CONTACT ====== */
.contact-section { padding: 5rem 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.97rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail strong { display: block; color: var(--navy); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-detail a, .contact-detail span { color: var(--text-muted); font-size: 0.95rem; }
.contact-detail a:hover { color: var(--gold); }

.response-note {
  background: rgba(196,154,60,0.08);
  border: 1px solid rgba(196,154,60,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.response-note strong { display: block; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.9rem; }
.response-note p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ====== FOOTER ====== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-name {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  width: 100%;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail.reverse { direction: ltr; }
  .service-detail-icon { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}
