/* ========================================
   Andarta Business Services — Global Styles
   Brand: Cabin headings, Lato body
   Colors: #d9d4ca primary bg, #7a766d text, #ff0 accent
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Lato:wght@300;400;600;700&display=swap');

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

:root {
  --primary: #d9d4ca;
  --secondary: #7a766d;
  --accent: #ffff00;
  --accent-hover: #e6e600;
  --white: #ffffff;
  --dark: #3a3733;
  --light-bg: #f5f3f0;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --btn-shadow: 2px 4px 8px rgba(0,0,0,0.1);
  --radius: 12px;
  --btn-radius: 48px;
  --font-heading: 'Cabin', sans-serif;
  --font-body: 'Lato', sans-serif;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }

a { color: var(--secondary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--dark); }

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

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: var(--btn-shadow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 2px 6px 16px rgba(0,0,0,0.15);
  color: var(--secondary);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--accent);
}
.btn-secondary:hover {
  background: var(--dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ── Header / Nav ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 24px; font-size: 14px; }
.mobile-toggle {
  display: none;
  background: none; border: none;
  font-size: 28px; cursor: pointer;
  color: var(--secondary);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,55,51,0.65) 0%, rgba(58,55,51,0.5) 50%, rgba(58,55,51,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}
.hero h1 { margin-bottom: 20px; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); }
.hero p { font-size: 1.15rem; margin-bottom: 32px; line-height: 1.7; color: rgba(255,255,255,0.92); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-dark { background: var(--secondary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-beige { background: var(--primary); }
.section-yellow { background: var(--accent); }
.section-light { background: var(--light-bg); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 650px; margin: 0 auto; font-size: 1.1rem; }

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card-white { background: var(--white); }
.card-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

/* ── Steps ── */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: 16px;
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 24px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* ── Trust Badges ── */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.badge-item {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
}
.badge-item strong { display: block; margin-bottom: 4px; color: var(--accent); }
.badge-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 12px; left: 20px;
  line-height: 1;
}
.testimonial-card p { padding-top: 24px; font-style: italic; font-size: 0.95rem; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }

/* ── Two-Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col-text h2 { margin-bottom: 20px; }
.two-col-text p { margin-bottom: 16px; }
.two-col-img img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  width: 100%;
  object-fit: cover;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
  margin: 0 24px;
}
.cta-banner h2 { color: var(--secondary); margin-bottom: 16px; }
.cta-banner p { max-width: 600px; margin: 0 auto 32px; color: var(--secondary); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Services Page ── */
.service-detail {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
}
.service-detail h3 { margin-bottom: 8px; }
.service-detail .subtitle {
  font-size: 0.95rem;
  color: var(--secondary);
  opacity: 0.8;
  margin-bottom: 16px;
}
.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.service-detail ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
}
.service-detail ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── About Page ── */
.about-story { font-size: 1.05rem; line-height: 1.8; }
.about-story p { margin-bottom: 16px; }

.team-card {
  text-align: center;
  padding: 32px;
}
.team-card img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--accent);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info-card h3 { margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-item .icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-logo img { height: 40px; margin-bottom: 12px; filter: brightness(2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ── Page Header ── */
.page-header {
  background: var(--primary);
  padding: 120px 0 60px;
  text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ── Fade In Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .mobile-toggle { display: block; }
  .hero { min-height: 450px; padding: 100px 24px 60px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
