/* Melcome Consulting — mirrors melcomeconsult.com (Blocksy + Elementor layout) */

:root {
  --palette-1: #006466;
  --palette-2: #065a60;
  --palette-3: #7f8c9a;
  --palette-4: #ffffff;
  --palette-5: #1e2933;
  --palette-6: #0f141a;
  --accent: var(--palette-1);
  --text: var(--palette-5);
  --muted: var(--palette-3);
  --border: #e4e9f0;
  --divider: #d9dddf;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-heading: "Roboto Slab", "Roboto", serif;
  --header-h: 72px;
  --hero-overlay: rgba(66, 66, 103, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--palette-2);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--divider);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: var(--header-h);
}

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin-inline: auto;
  border-radius: 1px;
}

/* Mobile drawer */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 26, 0.45);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.is-visible {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 92vw);
  height: 100vh;
  background: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--divider);
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--divider);
  color: var(--text);
  font-weight: 500;
}

.drawer-nav li:last-child a {
  border-bottom: none;
}

.drawer-contact {
  padding: 1.25rem;
  border-top: 1px solid var(--divider);
  background: #f8f9fb;
  font-size: 0.9rem;
}

.drawer-contact p {
  margin: 0 0 0.5rem;
}

.drawer-contact strong a {
  color: var(--text);
}

.drawer-contact a[href^="tel"] {
  font-weight: 700;
  color: var(--accent);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 300px 0 200px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .hero {
    padding: 250px 0 150px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 150px 0 100px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/home-1.jpg");
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  max-width: 900px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 30px;
    text-align: center;
  }
}

.hero-lead {
  max-width: 58%;
  margin: 0;
  padding: 20px 0 0;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-lead {
    max-width: 482px;
    margin: 0 auto;
    padding: 20px 0 0 100px;
  }
}

@media (max-width: 767px) {
  .hero-lead {
    max-width: 298px;
    padding: 16px 0 0;
    margin: 0;
    text-align: left;
  }
}

.btn-about {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 24px;
  color: var(--palette-4);
  background: transparent;
  border: 1px solid var(--palette-4);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s;
}

.btn-about:hover {
  color: #d9feff;
  border-color: #d9feff;
}

@media (max-width: 1024px) {
  .hero-inner {
    text-align: center;
  }

  .hero-lead {
    text-align: left;
  }
}

/* —— Logo strip —— */
.logo-strip {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin: 20px 0;
  padding: 20px 0;
}

.logo-strip .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.logo-strip-grid img {
  width: 100%;
  max-width: 140px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spacer-lg {
  height: 130px;
}

@media (max-width: 1024px) {
  .spacer-lg {
    height: 70px;
  }
}

/* —— Section: OUR SERVICES —— */
.section-services-intro {
  max-width: 630px;
  margin: 0 auto 30px;
  padding: 0 1.25rem;
  text-align: center;
}

.section-services-intro h2 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

@media (max-width: 1024px) {
  .section-services-intro h2 {
    font-size: 25px;
  }
}

.section-divider {
  width: 100%;
  height: 2px;
  background: var(--muted);
  margin: 15px auto;
  max-width: 100%;
}

.section-services-intro p {
  margin: 0;
  color: var(--accent);
}

/* Service cards */
.services-row {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  text-align: center;
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  background: var(--palette-1);
  border-color: var(--palette-1);
  box-shadow: 0 30px 50px rgba(89, 64, 195, 0.3);
}

.service-card:hover .service-icon-wrap,
.service-card:hover h3,
.service-card:hover h3 a,
.service-card:hover p {
  color: #fff;
}

.service-icon-wrap {
  margin-bottom: 10px;
}

.service-icon-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.35rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.service-card:hover .service-icon-wrap a {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0 0 10px;
}

.service-card h3 a {
  color: inherit;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.service-card:hover p {
  color: #fff;
}

@media (max-width: 1024px) {
  .services-row {
    grid-template-columns: 1fr;
  }
}

/* —— RECENT PROJECTS —— */
.section-projects-head {
  max-width: 630px;
  margin: 0 auto 1rem;
  padding: 0 1.25rem;
  text-align: center;
}

.section-projects-head h2 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

@media (max-width: 1024px) {
  .section-projects-head h2 {
    font-size: 25px;
  }
}

.section-projects-head p {
  margin: 0;
  color: var(--accent);
}

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.projects-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.projects-cta {
  text-align: center;
  padding: 50px 1.25rem 0;
}

.btn-view-more {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--palette-4);
  background: var(--accent);
  border-radius: 8px;
  border: 1px solid var(--accent);
}

.btn-view-more:hover {
  background: var(--palette-2);
  border-color: var(--palette-2);
  color: #fff;
}

@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Quote CTA —— */
.quote-section {
  position: relative;
  margin-top: 2rem;
  padding: 100px 1.25rem;
  background: #f8f8f8;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://melcomeconsult.com/wp-content/uploads/2023/10/leaf02.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
}

.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 0;
  align-items: stretch;
}

.quote-box {
  background: #fff;
  padding: 50px 50px 50px 50px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.quote-box h2 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 1rem;
}

.quote-list {
  list-style: none;
  margin: 0;
  padding: 50px 0 0;
}

.quote-list li {
  margin-bottom: 15px;
}

.quote-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.quote-list a:hover {
  color: var(--palette-2);
}

.quote-list i {
  width: 20px;
  height: 20px;
  text-align: center;
  color: var(--accent);
}

.quote-spacer {
  padding: 50px;
}

@media (max-width: 767px) {
  .quote-section {
    padding: 60px 1.25rem;
  }

  .quote-inner {
    grid-template-columns: 1fr;
  }

  .quote-box {
    padding: 20px;
  }

  .quote-spacer {
    padding: 20px;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--palette-6);
  color: #c5cdd6;
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-grid h3 {
  font-family: var(--font-heading);
  font-size: clamp(14px, 0.875rem + 0.3vw, 18px);
  color: #fff;
  margin: 0 0 1rem;
}

.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #dae0e8;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-links p {
  margin: 0;
  line-height: 1.9;
}

.footer-links a {
  color: #dae0e8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-logo img {
  width: 225px;
  height: auto;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    order: -1;
  }

  .footer-logo img {
    margin: 0 auto;
  }
}

/* Desktop nav visibility */
@media (max-width: 900px) {
  .site-nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.inner-hero {
  padding: 3rem 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.inner-hero h1 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.inner-section-divider {
  width: 100%;
  max-width: 200px;
  height: 2px;
  background: var(--muted);
  margin: 0 0 1.5rem;
}

.about-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-split img {
  width: 100%;
  border-radius: 4px;
}

.about-split h2 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-grid h2 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 1rem;
}

.why-block h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  margin: 1.25rem 0 0.5rem;
  color: var(--accent);
}

.why-block:first-child h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-split,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.anchor-target {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.services-page-stack {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.logo-title{
	font-size: 40px;
	font-weight: bolder;
	line-height: 1.1;
	margin-top:10px;
	margin-bottom:10px;
}










* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}

.container {
	max-width: 800px;
	margin: 20px;
	padding: 0 1.25rem 2rem;
}

h1 {
	font-size: 28px;
	margin-bottom: 30px;
	color: #333;
}

.form-group {
	margin-bottom: 25px;
}

label {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
	color: #333;
}

.required {
	color: #ff4444;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
	width: 100%;
	height: 45px;
	padding: 0 12px;
	border: 2px solid #000;
	font-size: 16px;
	outline: none;
}

.address-fields {
	display: flex;
	gap: 15px;
	margin-top: 10px;
}

.address-field {
	flex: 1;
}

textarea {
	width: 100%;
	height: 200px;
	padding: 12px;
	border: 2px solid #000;
	font-size: 16px;
	resize: vertical;
	outline: none;
}

.char-count {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}

.upload-section {
	margin-top: 30px;
}

.upload-box {
	border: 2px dashed #ccc;
	padding: 40px 20px;
	text-align: center;
	margin: 15px 0;
}

.upload-box p {
	margin-bottom: 15px;
	color: #666;
}

.select-files-btn {
	padding: 10px 25px;
	background-color: #fff;
	border: 2px solid #ff4444;
	color: #ff4444;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}

.select-files-btn:hover {
	background-color: #ff4444;
	color: #fff;
}

.upload-note {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

input[type="file"] {
	display: none;
}

/* 验证样式 */
input:invalid,
textarea:invalid {
	border-color: #ff4444;
}

input:valid,
textarea:valid {
	border-color: #000;
}

/* Submit 按钮样式（完全还原截图） */
.submit-btn {
	margin-top: 40px;
	padding: 0;
	border: none;
	background-color: #42c993;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	border-radius: 8px;
	width: 160px;
	height: 60px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.submit-btn:hover {
	background-color: #35a87a;
}