/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #2D1F2B;
  background: #FFF8F8;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== COLOR TOKENS ===== */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2C;
  --burgundy-light: #9A3D4E;
  --blush: #F4C2C2;
  --blush-light: #FDE8E8;
  --blush-pale: #FFF0F0;
  --cream: #FFFAFA;
  --dark: #1A1016;
  --text: #2D1F2B;
  --text-muted: #6B5563;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(123,45,59,0.08);
  --shadow-lg: 0 12px 48px rgba(123,45,59,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,248,248,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123,45,59,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(123,45,59,0.1); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem;
  color: var(--burgundy); background: var(--burgundy); color: var(--white);
  padding: 4px 10px; border-radius: 8px; letter-spacing: -0.02em;
}
.logo-wordmark {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: var(--dark); letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-weight: 500; font-size: 0.938rem; color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--burgundy); }

/* Nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 22px; height: 2px; background: var(--burgundy);
  border-radius: 2px; transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.938rem;
  padding: 12px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy); color: var(--white); border-color: var(--burgundy);
}
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,45,59,0.3); }
.btn-outline-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--burgundy); border-color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.063rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== BADGES ===== */
.badge {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--burgundy); background: var(--blush-light);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.badge-hero {
  background: rgba(255,255,255,0.18); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--dark); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { color: var(--text-muted); font-size: 1.063rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--burgundy) 0%, #A84460 35%, var(--blush) 70%, #F9D4D4 100%);
  overflow: hidden; padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.geo {
  position: absolute; border-radius: 50%; opacity: 0.12;
}
.geo-1 { width: 600px; height: 600px; background: var(--blush); top: -200px; right: -150px; }
.geo-2 { width: 400px; height: 400px; background: var(--white); bottom: -100px; left: -100px; }
.geo-3 { width: 200px; height: 200px; background: var(--burgundy); top: 30%; left: 10%; opacity: 0.08; }
.geo-4 { width: 120px; height: 120px; background: var(--white); bottom: 25%; right: 15%; opacity: 0.15; border-radius: 24px; transform: rotate(30deg); }
.geo-5 { width: 80px; height: 80px; background: var(--blush); top: 20%; right: 30%; opacity: 0.2; border-radius: 16px; transform: rotate(15deg); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem); color: var(--white);
  margin: 20px 0 24px; letter-spacing: -0.03em; line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.88);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
}
.trust-item svg { opacity: 0.85; }

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(123,45,59,0.05);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(123,45,59,0.12); }
.svc-card { text-align: left; }
.svc-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blush-light), var(--blush));
  display: flex; align-items: center; justify-content: center;
  color: var(--burgundy); margin-bottom: 20px;
}
.svc-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: 0.938rem; line-height: 1.7; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-media { position: relative; }
.about-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
  position: absolute; bottom: -24px; right: -24px; width: 160px; height: 160px;
  background: var(--burgundy); border-radius: var(--radius); z-index: -1; opacity: 0.15;
}
.about-text .badge { margin-bottom: 12px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }
.about-text > p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.0rem; }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--text);
}
.about-list li svg { color: var(--burgundy); flex-shrink: 0; }

/* ===== PROJECTS ===== */
.projects { background: var(--blush-pale); }
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.proj-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
  transition: all var(--transition);
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj-img { overflow: hidden; }
.proj-img img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.proj-card:hover .proj-img img { transform: scale(1.05); }
.proj-info { padding: 20px 24px; }
.proj-cat {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--burgundy); background: var(--blush-light);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 10px;
}
.proj-info h3 { font-size: 1.1rem; color: var(--dark); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card { position: relative; padding-top: 32px; }
.quote-mark { position: absolute; top: 12px; left: 28px; opacity: 0.6; }
.testimonial-text {
  font-size: 1rem; color: var(--text); line-height: 1.8;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { display: block; font-weight: 600; color: var(--dark); font-size: 0.938rem; }
.author-location { display: block; color: var(--text-muted); font-size: 0.813rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; padding: 100px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, #B85060 100%);
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-geo { position: absolute; border-radius: 50%; opacity: 0.1; }
.cga-1 { width: 400px; height: 400px; background: var(--blush); top: -150px; left: -100px; }
.cga-2 { width: 300px; height: 300px; background: var(--white); bottom: -100px; right: -80px; }
.cga-3 { width: 120px; height: 120px; background: var(--blush); top: 50%; right: 20%; opacity: 0.2; border-radius: 24px; transform: rotate(45deg); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.75rem); color: var(--white); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-sub { color: rgba(255,255,255,0.82); font-size: 1.125rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .badge { margin-bottom: 12px; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--blush-light); display: flex; align-items: center; justify-content: center;
  color: var(--burgundy);
}
.contact-item strong { display: block; font-family: 'Outfit', sans-serif; font-size: 0.875rem; color: var(--dark); margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--text-muted); font-size: 0.938rem; }
.contact-item a:hover { color: var(--burgundy); text-decoration: underline; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Form */
.form-card {
  background: var(--cream); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow); border: 1px solid rgba(123,45,59,0.06);
}
.form-card h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 8px; }
.form-note { color: var(--text-muted); font-size: 0.938rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.813rem; color: var(--dark); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid rgba(123,45,59,0.15);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 0.938rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(123,45,59,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-size: 1.25rem; color: var(--dark); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo-mark { background: var(--burgundy-light); }
.footer-brand .logo-wordmark { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 0.938rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.875rem;
  color: var(--white); margin-bottom: 4px;
}
.footer-links a { font-size: 0.938rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--blush); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact strong {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.875rem;
  color: var(--white); margin-bottom: 4px;
}
.footer-contact a, .footer-contact span { font-size: 0.938rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--blush); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
}
.footer-bottom p { font-size: 0.813rem; color: rgba(255,255,255,0.4); }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,248,248,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column; padding: 32px 24px;
    gap: 20px; border-bottom: 1px solid rgba(123,45,59,0.08);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1.063rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text .section-title, .contact-info .section-title { text-align: center; }
  .about-text, .contact-info { text-align: left; }
  .about-text > p, .contact-info > p { text-align: left; }
  .about-list { align-items: flex-start; }
  .about-text .btn { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: none; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .about-accent { display: none; }
}
