@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&family=DM+Serif+Display&family=Lato:wght@300;400;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --bg-primary: #FCFAF7;
  --bg-secondary: #F5F0E8;
  --bg-tertiary: #F0EBE0;
  --text-primary: #2C2418;
  --text-secondary: #8B8068;
  --accent-gold: #B8860B;
  --accent-brown: #8B4513;
  --accent-peach: #CD853F;
  --accent-wasabi: #228B22;
  --shadow-gold: rgba(184, 134, 11, 0.22);
  --shadow-deep: rgba(44, 36, 24, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  letter-spacing: +0.5px;
}

strong, b, p {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Shippori Mincho', 'DM Serif Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.japanese-heading {
  font-family: 'Shippori Mincho', serif;
}

.english-accent {
  font-family: 'DM Serif Display', serif;
}

.watercolor-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: visible;
}

.watercolor-patch {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  animation: watercolorDrift 35s ease-in-out infinite;
}

.watercolor-patch:nth-child(1) {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.watercolor-patch:nth-child(2) {
  width: 350px;
  height: 350px;
  background: linear-gradient(45deg, var(--accent-peach), var(--accent-brown));
  top: 50%;
  right: 10%;
  animation-delay: -12s;
}

.watercolor-patch:nth-child(3) {
  width: 300px;
  height: 300px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-wasabi));
  bottom: 20%;
  left: 30%;
  animation-delay: -24s;
}

.gold-shimmer {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.02;
  animation: shimmerFloat 20s linear infinite;
}

@keyframes watercolorDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(8px, -8px) scale(1.05); }
  50% { transform: translate(-5px, 8px) scale(0.95); }
  75% { transform: translate(8px, 5px) scale(1.02); }
}

@keyframes shimmerFloat {
  0%, 100% { opacity: 0.02; }
  50% { opacity: 0.08; }
}

.neon-grid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.split-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 247, 0.97);
  border-bottom: 2px solid var(--accent-gold);
}

.header-microlevel {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  background: rgba(252, 250, 247, 0.95);
}

.domain-display {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: +1px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-display .separator {
  color: var(--accent-gold);
  font-weight: 300;
}

.site-title-mini {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-secondary);
}

.header-mainlevel {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(252, 250, 247, 0.97);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-domain {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
}

.logo-tagline {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: +0.5px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'DM Serif Display', serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.24s ease-out;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease-out;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.24s ease-out;
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1001;
  padding: 80px 24px 40px;
  transition: left 0.32s cubic-bezier(0.22, 0.8, 0.32, 1);
  overflow-y: auto;
}

.mobile-panel.active {
  left: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-link {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-gold);
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 36, 24, 0.4);
  z-index: 998;
}

.hero-section {
  min-height: 85vh;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-text-content {
  position: relative;
  z-index: 2;
}

.hero-title-main {
  font-size: 68px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: +0.3px;
  margin-bottom: 16px;
}

.hero-title-sub {
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: +0.3px;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.hero-description {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: +1px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border: 2px solid var(--accent-gold);
  border-radius: 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.24s ease-out-organic;
  position: relative;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  opacity: 0;
  transition: opacity 0.24s ease-out;
}

.hero-cta-btn span {
  position: relative;
  z-index: 1;
}

.hero-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-gold);
}

.hero-visual-content {
  position: relative;
}

.hero-frame {
  border-radius: 24px;
  border: 2px solid var(--accent-brown);
  overflow: hidden;
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-corner-decor {
  position: absolute;
  font-size: 24px;
  opacity: 0.6;
}

.hero-corner-decor.top-right {
  top: 16px;
  right: 16px;
}

.hero-corner-decor.bottom-left {
  bottom: 16px;
  left: 16px;
}

.section {
  padding: 100px 40px;
  position: relative;
}

.section-bg-secondary {
  background: var(--bg-secondary);
}

.section-bg-tertiary {
  background: var(--bg-tertiary);
}

.section-title-main {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.section-title-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.24s ease-out-organic;
  position: relative;
  overflow: hidden;
}

.service-card.large {
  grid-column: span 2;
}

.service-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.service-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.service-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 12px;
}

.about-waterfall {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-gallery {
  position: sticky;
  top: 120px;
}

.gallery-stack {
  position: relative;
  width: 100%;
  height: 480px;
}

.gallery-image {
  position: absolute;
  width: 85%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--shadow-deep);
}

.gallery-image:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
}

.gallery-image:nth-child(2) {
  top: 80px;
  left: 10%;
  z-index: 2;
}

.gallery-image:nth-child(3) {
  top: 160px;
  left: 20%;
  z-index: 1;
}

.about-content {
  padding: 20px 0;
}

.about-story-dropcap::first-letter {
  font-size: 48px;
  font-weight: 600;
  color: var(--accent-gold);
  float: left;
  line-height: 1;
  margin-right: 12px;
  font-family: 'Shippori Mincho', serif;
}

.about-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 52px;
  font-weight: 600;
  color: var(--accent-gold);
  font-family: 'DM Serif Display', serif;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline-path {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transform: translateY(-50%);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 140px;
}

.step-marker {
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
}

.step-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.step-label-en {
  font-size: 12px;
  color: var(--text-secondary);
}

.features-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-badge {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.24s ease-out-organic;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stats-marquee-section {
  background: linear-gradient(135deg, rgba(205, 133, 63, 0.1), rgba(184, 134, 11, 0.1));
  padding: 32px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 18s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.marquee-item {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 24px;
}

.marquee-delimiter {
  color: var(--accent-brown);
  font-size: 12px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stats-counters-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 48px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-size: 56px;
  font-weight: 600;
  color: var(--accent-gold);
  font-family: 'DM Serif Display', serif;
  line-height: 1;
}

.counter-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.team-profile-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  padding: 32px;
  border-radius: 16px;
  transition: all 0.24s ease-out;
}

.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--bg-primary);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.faq-toggle {
  font-size: 24px;
  color: var(--accent-gold);
  transition: transform 0.24s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease-out;
  padding: 0 24px;
  background: rgba(184, 134, 11, 0.05);
}

.faq-answer-inner {
  padding: 20px 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.review-coverflow {
  perspective: 1200px;
  overflow-x: hidden;
  padding: 60px 0;
}

.review-carousel {
  display: flex;
  justify-content: center;
  gap: 24px;
  transform-style: preserve-3d;
}

.review-card {
  width: 340px;
  padding: 32px;
  background: var(--bg-primary);
  border-radius: 20px;
  border-left: 4px solid var(--accent-gold);
  transition: all 0.32s ease-out;
  flex-shrink: 0;
}

.review-card.side {
  transform: rotateY(18deg) scale(0.82);
  opacity: 0.5;
  filter: blur(1px);
}

.review-card.active {
  transform: rotateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 100;
}

.review-author-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 600;
  margin-bottom: 4px;
}

.review-stars {
  color: var(--accent-peach);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.review-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.review-nav-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  background: transparent;
  color: var(--accent-gold);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-nav-btn:hover {
  background: var(--accent-gold);
  color: white;
}

.contact-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form-area input,
.contact-form-area textarea {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 2px solid var(--accent-gold);
  background: transparent;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.24s ease;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus {
  border-bottom-width: 3px;
}

.contact-form-area input::placeholder,
.contact-form-area textarea::placeholder {
  color: var(--text-secondary);
}

.form-field {
  margin-bottom: 24px;
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.24s ease;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-gold);
}

.contact-info-area {
  padding: 40px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text {
  flex: 1;
}

.contact-info-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 500;
}

.site-footer {
  background: var(--bg-secondary);
  padding: 60px 40px 32px;
  border-top: 2px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand-col {
  max-width: 300px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-link-item {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link-item:hover {
  background: var(--accent-gold);
  color: white;
}

.footer-nav-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: +1px;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-gold);
}

.footer-legal-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: +1px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: var(--text-secondary);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px var(--shadow-deep);
  z-index: 2000;
  border: 1px solid var(--accent-gold);
}

.cookie-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cookie-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Noto Sans JP', sans-serif;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-peach));
  border: none;
  color: white;
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

.smooth-pulse-trigger {
  position: relative;
}

.smooth-pulse-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(184, 134, 11, 0) 0%, rgba(184, 134, 11, 0.15) 50%, rgba(184, 134, 11, 0) 100%);
  opacity: 0;
  transform: scale(0.7);
  transition: all 280ms ease-out;
  pointer-events: none;
}

.smooth-pulse-trigger:hover::before {
  opacity: 1;
  transform: scale(1.1);
  animation: smoothPulse 1.8s ease-in-out infinite;
}

@keyframes smoothPulse {
  0% { transform: scale(0.8); opacity: 0.2; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(0.8); opacity: 0.2; }
}

.smooth-pulse-trigger::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: inherit;
  opacity: 0;
  transition: all 220ms ease-out;
}

.smooth-pulse-trigger:hover::after {
  opacity: 1;
  animation: borderPulse 1.8s ease-in-out infinite;
}

@keyframes borderPulse {
  0% { border-color: rgba(184, 134, 11, 0.2); }
  50% { border-color: rgba(184, 134, 11, 0.6); }
  100% { border-color: rgba(184, 134, 11, 0.2); }
}

.smooth-pulse-trigger:hover {
  z-index: 100;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 32px var(--shadow-gold);
}

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

  .hero-visual-content {
    display: none;
  }

  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.large {
    grid-column: span 1;
  }

  .about-waterfall {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    position: static;
    margin-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .mobile-panel {
    display: block;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 24px;
  }

  .hero-title-main {
    font-size: 42px;
  }

  .hero-title-sub {
    font-size: 36px;
  }

  .section {
    padding: 60px 24px;
  }

  .services-bento-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 100%;
  }

  .team-profile-row {
    flex-direction: column;
    align-items: center;
  }

  .contact-two-column {
    grid-template-columns: 1fr;
  }

  .stats-counters-row {
    flex-direction: column;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .header-microlevel {
    padding: 0 16px;
  }

  .header-mainlevel {
    padding: 0 16px;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 32px;
  }

  .timeline-path {
    display: none;
  }

  .gallery-stack {
    height: 320px;
  }

  .gallery-image {
    height: 180px;
  }

  .about-stats-row {
    flex-wrap: wrap;
    gap: 24px;
  }
}

.thank-you-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.thank-you-title {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.thank-you-message {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
}

.legal-title {
  font-size: 36px;
  margin-bottom: 32px;
  text-align: center;
}

.legal-content {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 16px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.64s ease-out, transform 0.64s ease-out;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.animate-in.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.fade-in {
  opacity: 0;
  transition: opacity 0.72s ease-out;
}

.animate-in.fade-in.visible {
  opacity: 1;
}

.animate-in.scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.56s ease-out, transform 0.56s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.animate-in.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-in.slide-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.animate-in.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}


.animate-in.flip-x {
  opacity: 0;
  transform: perspective(1200px) rotateX(12deg);
  transition: opacity 0.56s ease-out, transform 0.56s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.animate-in.flip-x.visible {
  opacity: 1;
  transform: perspective(1200px) rotateX(0);
}