*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0d7c7c;
  --primary-dark: #0a5c5c;
  --primary-light: #e8f5f5;
  --accent: #f4a261;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --radius: 12px;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.1rem; color: var(--primary); line-height: 1.2; }
.logo-text span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--text-light); }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 18px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); transition: all 0.2s;
}
.nav a:hover, .nav a.active { background: var(--primary); color: #fff; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0a6e6e 50%, #085a5a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 800px; height: 800px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 120px 0 80px; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(255,255,255,0.12); font-size: 0.85rem; margin-bottom: 20px;
}
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; }
.hero-stat-label { font-size: 0.8rem; opacity: 0.7; }
.hero-image { display: flex; justify-content: center; }
.hero-carousel {
  width: 100%; max-width: 500px; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; position: relative; box-shadow: var(--shadow-lg);
}
.hero-carousel-track {
  display: flex; height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.hero-carousel-slide {
  flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden;
}
.hero-carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; border: none; transition: all 0.3s;
}
.hero-carousel-dot.active { background: #fff; transform: scale(1.2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e08f4a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* Section */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-label {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  background: var(--primary-light); color: var(--primary); font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}

/* About section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #d4ecec);
}
.about-image img { width: 100%; }
.about h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.about p { color: var(--text-light); margin-bottom: 16px; font-size: 1.05rem; }
.about-list { list-style: none; margin-top: 24px; }
.about-list li { padding: 10px 0; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #eee; }
.about-list li:last-child { border: none; }
.about-list li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* Cards grid */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow); transition: all 0.3s; cursor: default;
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.card-icon.green { background: var(--primary-light); color: var(--primary); }
.card-icon.orange { background: #fef3e9; color: #e08f4a; }
.card-icon.blue { background: #e8f0fe; color: #1a73e8; }
.card-icon.purple { background: #f3e8ff; color: #7c3aed; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* Services detail page */
.service-detail { padding: 140px 0 80px; }
.service-detail h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 8px; }
.service-detail .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-light); margin-bottom: 24px; font-size: 0.9rem; }
.service-content { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.service-content article p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.service-content article p strong { color: var(--text); }
.service-content article img { border-radius: var(--radius); margin: 24px 0; width: 100%; }
.service-sidebar {
  position: sticky; top: 100px; align-self: start;
  background: var(--bg-alt); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(0,0,0,0.04);
}
.service-sidebar h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); margin-bottom: 16px; }
.service-sidebar ul { list-style: none; }
.service-sidebar li { margin-bottom: 4px; }
.service-sidebar a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem;
  color: var(--text); transition: all 0.15s; border-left: 3px solid transparent;
}
.service-sidebar a:hover, .service-sidebar a.active {
  background: #fff; border-left-color: var(--primary); color: var(--primary); font-weight: 500;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { }
.contact-info h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-item p { color: var(--text-light); font-size: 0.95rem; }
.contact-item a { color: var(--primary); font-weight: 500; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: none; }
.contact-hours { margin-top: 32px; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.contact-hours h4 { font-weight: 600; margin-bottom: 12px; }
.contact-hours .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.95rem; }

/* Footer */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.85rem; }

/* Affections page - list */
.affection-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }
  .nav.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-image { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .service-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .service-detail { padding: 100px 0 40px; }
  .btn-group { justify-content: center; }
  .affection-list { grid-template-columns: 1fr; }
  .hero-badge { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
