/* ========== HARMONYROCK DESIGN SYSTEM ========== */
/* Palette: Deep Midnight Slate / Warm Paprika / Cream / Muted Teal */

:root {
  --primary-dark: #16202B;
  --primary-mid: #1E2D3D;
  --primary-light: #2B3F55;
  --accent: #D0583D;
  --accent-hover: #B0452E;
  --accent-light: #FCE9E4;
  --teal: #3D7C80;
  --teal-hover: #316669;
  --teal-light: #E4F0F1;
  --cream: #F5F2EB;
  --cream-dark: #EAE4D9;
  --cream-light: #FAF8F4;
  --white: #FFFFFF;
  --text: #16202B;
  --text-muted: #697384;
  --text-light: #94A0B5;
  --border: #DCD7CD;
  --border-light: #EBE7DE;
  --shadow: 0 2px 16px rgba(22, 32, 43, 0.08);
  --shadow-lg: 0 8px 40px rgba(22, 32, 43, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream-light);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.35rem; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 88, 61, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-light:hover {
  background-color: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* ========== NAVIGATION (class selector ONLY) ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-dark);
  padding: 0 1.5rem;
  transition: all var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.25rem !important;
  background-color: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background-color: var(--accent-hover) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO SECTION (class selector) ========== */
.hero-section {
  padding: 160px 0 100px;
  background-color: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30,45,61,0.5);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(61,124,128,0.15);
}

.hero-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content .hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content .hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card:nth-child(1) {
  position: relative;
  z-index: 3;
}

.hero-card:nth-child(2) {
  position: absolute;
  top: 30px;
  right: -30px;
  z-index: 2;
  background-color: #dce4e8;
  transform: scale(0.92);
}

.hero-card:nth-child(3) {
  position: absolute;
  top: 60px;
  right: -60px;
  z-index: 1;
  background-color: #c9d4da;
  transform: scale(0.84);
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== ABOUT SECTION (class selector) ========== */
.about-section {
  padding: 100px 0;
  background-color: var(--cream-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--primary-dark);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-content {
  text-align: center;
  padding: 3rem;
  color: var(--white);
}

.about-image-content .big-stat {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-image-content .big-stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.about-content .section-label {
  color: var(--accent);
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content .about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat {
  text-align: center;
  padding: 1.25rem;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ========== SERVICES SECTION (class selector) ========== */
.services-section {
  padding: 100px 0;
  background-color: var(--white);
}

.services-section .section-label,
.services-section .section-title,
.services-section .section-subtitle {
  text-align: center;
}

.services-section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  background-color: var(--cream-light);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== PROCESS SECTION (class selector) ========== */
.process-section {
  padding: 100px 0;
  background-color: var(--cream);
}

.process-section .section-label,
.process-section .section-title {
  text-align: center;
}

.process-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: rgba(61,124,128,0.4);
}

.process-step:last-child::after {
  display: none;
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== TESTIMONIALS SECTION (class selector) ========== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--primary-dark);
  color: var(--white);
}

.testimonials-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  text-align: center;
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-section .section-subtitle {
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--primary-mid);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  color: var(--cream-dark);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-card .testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ========== CONTACT SECTION (class selector) ========== */
.contact-section {
  padding: 100px 0;
  background-color: var(--cream-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-label {
  color: var(--accent);
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background-color: var(--teal-light);
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--cream-light);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background-color: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--teal);
}

.form-feedback.error {
  display: block;
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== SCROLL REVEAL (safe without JS) ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--primary-dark);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-visual { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats-row { grid-template-columns: repeat(3, 1fr); }

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

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

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

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

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

@media (max-width: 480px) {
  .about-stats-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}
