:root {
  --cream: #f7f4ef;
  --white: #ffffff;
  --teal: #0d5960;
  --teal-soft: #1f7881;
  --rose: #c79693;
  --rose-soft: #e7cfcd;
  --text: #17353a;
  --muted: #47686e;
  --shadow: 0 8px 24px rgba(11, 52, 56, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Noto Sans Thai', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}

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

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

.container {
  width: min(92vw, 1320px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 239, 0.95);
  border-bottom: 1px solid #ece5db;
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.main-nav a {
  font-weight: 600;
  color: var(--teal);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-switcher a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #d6cbc1;
  color: var(--muted);
  font-size: 0.9rem;
}

.lang-switcher a.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy {
  background: var(--rose);
  color: #fff8f8;
  border-radius: var(--radius);
  padding: 2.2rem;
}

.hero-copy h1 {
  margin: 0;
  color: #083f44;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-copy .subtitle {
  font-size: 1.45rem;
  margin-top: 0.4rem;
  margin-bottom: 0.9rem;
  color: #113f44;
  font-weight: 700;
}

.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 9px;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--teal-soft);
}

.hero-media img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.services,
.contact,
.newsletter {
  padding: 2.3rem 0;
}

.services h2,
.contact h2,
.newsletter h2 {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--teal);
  font-size: clamp(1.7rem, 2.7vw, 2.1rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 2px solid var(--rose-soft);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--teal);
}

.card a {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
}

.contact .container {
  background: #fbfaf8;
  border: 1px solid #eee5db;
  border-radius: var(--radius);
  padding: 1rem;
}

.map-placeholder {
  height: 280px;
  border: 1px dashed #cbb8b8;
  border-radius: 10px;
  display: grid;
  place-content: center;
  color: #7a6666;
  background: #f5eded;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info h3 {
  margin-bottom: 0.3rem;
  color: var(--teal);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 260px;
  max-width: 480px;
  width: 60%;
  border: 1px solid #d7cdc3;
  border-radius: 9px;
  padding: 0.75rem 0.9rem;
}

.newsletter-form button {
  border: 0;
  border-radius: 9px;
  padding: 0.75rem 1.15rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  background: var(--rose);
  color: #fff;
  text-align: center;
  padding: 1rem 0 1.2rem;
}

.site-footer p {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-footer small {
  display: block;
  margin-top: 0.35rem;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 260px;
  }
}

@media (max-width: 840px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.7rem 1rem;
  }

  .brand img {
    width: 74px;
    height: 74px;
  }
}
