:root {
  --white: #ffffff;
  --off-white: #fafbfc;
  --cream: #f5f6f8;
  --sand: #e8eaed;
  --warm-gray: #9aa0a6;
  --text: #3c4043;
  --text-light: #5f6368;
  --accent: #c4956a;
  --accent-dark: #a87d56;
  --accent-light: #e8d5c0;
  --teal: #5b8a8a;
  --teal-light: #7aadad;
  --shadow-sm: 0 2px 8px rgba(60,64,67,0.04);
  --shadow-md: 0 8px 30px rgba(60,64,67,0.06);
  --shadow-lg: 0 20px 60px rgba(60,64,67,0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.25;
}

a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
}
.nav-brand-img { height: 44px; width: auto; object-fit: contain; display: block; }
.nav-brand-text { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.5px; }
.nav-brand-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--text-light); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-light); font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; border-radius: 100px; transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--cream); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; transition: 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.nav-links .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; border-radius: 6px; font-size: 0.85rem; white-space: nowrap; }

.nav-cta {
  background: var(--text); color: var(--white) !important; padding: 10px 24px !important;
  border-radius: 100px !important; font-weight: 600 !important; font-size: 0.85rem !important;
  letter-spacing: 0.3px;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* ==================== HERO ==================== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(165deg, var(--white) 0%, var(--off-white) 40%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,149,106,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,138,138,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); padding: 6px 16px 6px 8px;
  border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  color: var(--teal); box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-desc {
  font-size: 1.05rem; color: var(--text-light); max-width: 480px;
  margin-bottom: 36px; line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: var(--transition); font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--text); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--sand); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--text); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}
.hero-img-main {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-img-float {
  position: absolute; bottom: -30px; left: -40px;
  width: 180px; height: 180px; object-fit: cover;
  border-radius: 20px; border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.hero-card {
  position: absolute; top: 30px; right: -20px;
  background: var(--white); padding: 16px 20px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out 1s infinite;
}
.hero-card-icon { width: 40px; height: 40px; background: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hero-card-text span { display: block; font-size: 0.75rem; color: var(--text-light); }
.hero-card-text strong { font-size: 0.9rem; }

/* ==================== SECTION COMMON ==================== */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-desc { color: var(--text-light); font-size: 1rem; }

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
  z-index: 2;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-body {
  padding: 24px 24px 32px;
}

.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--accent-dark); stroke-width: 1.5; fill: none; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.service-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.service-price {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700;
  color: var(--teal);
  background: rgba(91,138,138,0.08);
  padding: 4px 14px;
  border-radius: 100px;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrapper { position: relative; }
.about-img {
  width: 100%; height: 500px; object-fit: cover;
  border-radius: 24px;
}
.about-accent-box {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--white);
  padding: 24px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-accent-box strong { display: block; font-size: 2rem; font-family: 'Playfair Display', serif; }
.about-accent-box span { font-size: 0.82rem; opacity: 0.9; }

.about-content .section-label { text-align: left; }
.about-content .section-title { text-align: left; font-size: 2.2rem; }
.about-content p { color: var(--text-light); margin-bottom: 20px; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--cream); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.about-feature-icon svg { width: 18px; height: 18px; stroke: var(--accent-dark); stroke-width: 1.5; fill: none; }
.about-feature h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; }
.about-feature p { font-size: 0.85rem; margin-bottom: 0; }

/* ==================== WHY CHOOSE US ==================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 40px 28px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cream), var(--sand));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.why-card-icon svg { width: 28px; height: 28px; stroke: var(--accent-dark); stroke-width: 1.5; fill: none; }
.why-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--text-light); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--cream) 0%, var(--off-white) 100%);
  border: 1px solid var(--sand);
  border-radius: 24px;
  padding: 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,149,106,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--text); font-size: 2.2rem; margin-bottom: 12px; }
.cta-banner p { color: var(--text-light); font-size: 1rem; max-width: 480px; }
.cta-banner .btn-primary { background: var(--accent); padding: 16px 36px; font-size: 0.95rem; }
.cta-banner .btn-primary:hover { background: var(--accent-dark); }

/* ==================== BLOG ==================== */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 260px; object-fit: cover; }
.blog-card-body { padding: 28px; }
.blog-card-meta { font-size: 0.78rem; color: var(--warm-gray); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.blog-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.blog-card h3 a { text-decoration: none; color: var(--text); transition: var(--transition); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.blog-read-more {
  font-size: 0.85rem; font-weight: 600; color: var(--accent-dark);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--cream); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--accent-dark); stroke-width: 1.5; fill: none; }
.contact-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-light); }
.contact-item a { color: var(--teal); text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%; min-height: 360px;
  box-shadow: var(--shadow-sm);
}
.contact-map iframe,
.contact-map img { width: 100%; height: 100%; border: 0; object-fit: cover; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb { margin-bottom: 12px; }
.breadcrumb ol { display: flex; list-style: none; gap: 8px; padding: 0; margin: 0; font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb ol li a { color: var(--accent-dark); text-decoration: none; }
.breadcrumb ol li a:hover { text-decoration: underline; }
.breadcrumb ol li:not(:last-child)::after { content: '›'; margin-left: 8px; color: var(--warm-gray); }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--off-white); color: var(--text-light);
  padding: 60px 0 0;
  border-top: 1px solid var(--sand);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--sand);
}
.footer-brand { display: flex; align-items: center; margin-bottom: 16px; }
.footer-brand-img { height: 44px; width: auto; object-fit: contain; }
.footer p { font-size: 0.88rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--text-light); transition: var(--transition); }
.footer-social a:hover { background: var(--accent-dark); color: #fff; }
.footer-social svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.footer h4 { color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-light); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer ul a:hover { color: var(--accent-dark); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(165deg, var(--white) 0%, var(--cream) 100%);
  text-align: center;
}
.page-hero h1 { font-size: 2.6rem; margin-bottom: 12px; }
.page-hero p { color: var(--text-light); font-size: 1.05rem; }

.page-content { padding: 60px 0 80px; }
.page-content .container { max-width: 800px; }
.page-content h2 { font-size: 1.6rem; margin: 36px 0 16px; }
.page-content h3 { font-size: 1.2rem; margin: 28px 0 12px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.page-content p { color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.page-content ul { margin: 12px 0 20px 24px; }
.page-content ul li { color: var(--text-light); margin-bottom: 8px; font-size: 0.93rem; }

/* Blog detail */
.blog-detail-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.blog-detail-meta { font-size: 0.82rem; color: var(--warm-gray); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== MOBILE ==================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; padding: 32px 24px; gap: 4px;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links .dropdown-menu {
    position: static; transform: none; box-shadow: none; border: none;
    opacity: 1; visibility: visible; padding-left: 16px; background: var(--off-white);
    border-radius: var(--radius-sm); margin-top: 4px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 110px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-img-main { height: 320px; }
  .hero-img-float { width: 120px; height: 120px; left: -10px; bottom: -15px; }
  .hero-card { right: 10px; top: 10px; }
  .hero-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 320px; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-banner .btn-primary { justify-self: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--text);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 0 0 8px 0;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* CTA box for blog posts */
.cta-box {
  margin-top: 40px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.cta-box p {
  margin-bottom: 12px;
}

/* Blockquote styling */
.about-quote {
  font-style: italic;
  color: var(--accent-dark);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 20px 0;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-visual,
  .contact-map,
  .cta-banner,
  .footer,
  .hero-actions,
  .hero-badge,
  .hero-card,
  .hero-img-float {
    display: none !important;
  }
  .hero {
    padding: 40px 0;
    background: white;
  }
  .hero h1 {
    font-size: 2rem;
  }
  body {
    color: #000;
    background: #fff;
  }
  a {
    text-decoration: underline;
    color: #000;
  }
  .page-content {
    padding: 20px 0;
  }
}
