:root {
  --brand-yellow: #ffd91a;
  --brand-yellow-dark: #f4c400;
  --brand-cream: #fffdf2;
  --brand-cream-deep: #fff7cf;
  --text-dark: #1f1f1f;
  --text-soft: #5b5b5b;
  --white: #ffffff;
  --border-soft: rgba(31, 31, 31, 0.08);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.06);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: all 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang HK", "Microsoft JhengHei", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #fffef7 0%, #fffbed 45%, #fff8de 100%);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  color: var(--text-dark);
}

ul {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* Top bar */
.topbar {
  background: var(--brand-yellow);
  color: #2a2a2a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  font-weight: 600;
  color: #333;
  padding: 10px 14px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 217, 26, 0.22);
  color: #1f1f1f;
}

/* Buttons */
.btn,
.button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: #1f1f1f;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 217, 26, 0.3);
  transition: var(--transition);
}

.btn:hover,
.button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: var(--brand-yellow-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #222;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline:hover {
  background: #fff8cf;
}

/* Hero */
.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin-bottom: 14px;
}

.hero-copy p {
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.inline-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  background: #fff;
}

/* Image fix section */
.photo-large,
.service-hero,
.hero-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.photo-large img,
.service-hero img,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo,
.gallery-card {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.photo img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figure,
.image-card,
.photo-card {
  margin: 0;
}

/* Sections */
.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-heading p {
  max-width: 760px;
}

/* Cards / grid */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.highlight-card {
  background: linear-gradient(180deg, #fffef7 0%, #fff6c9 100%);
  border: 1px solid rgba(255, 217, 26, 0.28);
}

/* Services */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}

.service-card-content {
  padding: 22px;
}

.service-card h3 {
  margin-bottom: 10px;
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fffbed;
  border: 1px solid rgba(255, 217, 26, 0.24);
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  border-color: #e5b800;
  box-shadow: 0 0 0 4px rgba(255, 217, 26, 0.18);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* CTA section */
.cta-section {
  padding: 30px 0 50px;
}

.cta-box {
  background: linear-gradient(135deg, #ffd91a 0%, #ffe768 100%);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.cta-box h2,
.cta-box p {
  color: #1f1f1f;
}

/* Footer */
.site-footer {
  margin-top: 36px;
  background: #1f1f1f;
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  gap: 18px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Utility */
.center {
  text-align: center;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.spacer {
  height: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-list,
  .gallery-grid,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .navbar {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
  }

  .nav-links a {
    padding: 9px 12px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
  }

  .topbar-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-copy {
    padding: 24px;
  }

  .brand-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .container,
  .topbar-inner,
  .navbar,
  .footer-inner {
    width: min(100% - 22px, var(--container));
  }

  .hero {
    padding-top: 26px;
  }

  .photo-large,
  .service-hero,
  .hero-image {
    height: 260px;
    border-radius: 18px;
  }

  .photo,
  .gallery-card {
    height: 210px;
    border-radius: 16px;
  }

  .services-list,
  .gallery-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-card,
  .contact-form,
  .cta-box {
    padding: 20px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .inline-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .btn,
  .button,
  .cta-button,
  .btn-outline {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .topbar-inner {
    min-height: auto;
  }

  .hero-copy {
    border-radius: 22px;
  }

  .section {
    padding: 26px 0;
  }

  .photo-large,
  .service-hero,
  .hero-image {
    height: 220px;
  }

  .photo,
  .gallery-card {
    height: 190px;
  }
}
