/* ============================================
   열림세무회계사무소 - 가업승계 전문 세무사
   Corp-Trust Design Pattern - Custom CSS
   ============================================ */

:root {
  --yt-primary: #1B365D;
  --yt-primary-dark: #0F2340;
  --yt-accent: #C4A24E;
  --yt-accent-light: #D4B86A;
  --yt-text: #2D3748;
  --yt-text-light: #718096;
  --yt-bg: #FAFBFC;
  --yt-bg-alt: #F0F4F8;
  --yt-white: #FFFFFF;
  --yt-border: #E2E8F0;
  --yt-success: #38A169;
  --yt-radius: 8px;
  --yt-shadow: 0 4px 16px rgba(27,54,93,0.08);
  --yt-shadow-lg: 0 8px 32px rgba(27,54,93,0.12);
  --yt-transition: all 0.3s ease;
}

/* Global Reset & Base */
.yellimtax-page, .yellimtax-post {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--yt-text);
  line-height: 1.8;
  word-break: keep-all;
}

/* ===== LANDING PAGE STYLES ===== */

.yt-hero {
  position: relative;
  background: linear-gradient(135deg, var(--yt-primary) 0%, var(--yt-primary-dark) 100%);
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.yt-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(196,162,78,0.05)" stroke-width="0.5"/></svg>') repeat;
  opacity: 0.3;
}

.yt-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--yt-white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.yt-hero .yt-subtitle {
  font-size: 1.2rem;
  color: var(--yt-accent-light);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.yt-hero .yt-cta-btn {
  display: inline-block;
  background: var(--yt-accent);
  color: var(--yt-white);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--yt-transition);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(196,162,78,0.4);
}

.yt-hero .yt-cta-btn:hover {
  background: var(--yt-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,162,78,0.5);
}

/* Trust Badges */
.yt-trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 20px;
  background: var(--yt-white);
  border-bottom: 1px solid var(--yt-border);
  flex-wrap: wrap;
}

.yt-trust-item {
  text-align: center;
  min-width: 120px;
}

.yt-trust-item .yt-trust-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--yt-primary);
}

.yt-trust-item .yt-trust-label {
  font-size: 0.85rem;
  color: var(--yt-text-light);
  margin-top: 4px;
}

/* Section Styles */
.yt-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.yt-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--yt-primary);
  text-align: center;
  margin-bottom: 16px;
}

.yt-section-desc {
  text-align: center;
  color: var(--yt-text-light);
  font-size: 1.05rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Service Cards */
.yt-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.yt-service-card {
  background: var(--yt-white);
  border-radius: var(--yt-radius);
  padding: 36px 28px;
  box-shadow: var(--yt-shadow);
  transition: var(--yt-transition);
  border-left: 4px solid var(--yt-accent);
}

.yt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--yt-shadow-lg);
}

.yt-service-card h3 {
  font-size: 1.3rem;
  color: var(--yt-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.yt-service-card p {
  color: var(--yt-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Process Steps */
.yt-process-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.yt-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.yt-step-number {
  width: 56px;
  height: 56px;
  background: var(--yt-primary);
  color: var(--yt-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.yt-step h4 {
  font-size: 1.1rem;
  color: var(--yt-primary);
  margin-bottom: 8px;
}

.yt-step p {
  color: var(--yt-text-light);
  font-size: 0.9rem;
}

/* Profile Section */
.yt-profile {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.yt-profile-image {
  flex: 0 0 380px;
  border-radius: var(--yt-radius);
  overflow: hidden;
  box-shadow: var(--yt-shadow-lg);
}

.yt-profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.yt-profile-info {
  flex: 1;
  min-width: 280px;
}

.yt-profile-info h3 {
  font-size: 1.6rem;
  color: var(--yt-primary);
  margin-bottom: 8px;
}

.yt-profile-info .yt-role {
  color: var(--yt-accent);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.yt-profile-info ul {
  list-style: none;
  padding: 0;
}

.yt-profile-info ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--yt-border);
  color: var(--yt-text);
  font-size: 0.95rem;
}

.yt-profile-info ul li::before {
  content: '✓ ';
  color: var(--yt-accent);
  font-weight: 700;
}

/* FAQ Section */
.yt-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.yt-faq-item {
  background: var(--yt-white);
  border-radius: var(--yt-radius);
  margin-bottom: 16px;
  box-shadow: var(--yt-shadow);
  overflow: hidden;
}

.yt-faq-question {
  padding: 20px 28px;
  font-weight: 700;
  color: var(--yt-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}

.yt-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--yt-accent);
  transition: var(--yt-transition);
}

.yt-faq-item.active .yt-faq-question::after {
  transform: rotate(45deg);
}

.yt-faq-answer {
  padding: 0 28px 20px;
  color: var(--yt-text-light);
  line-height: 1.8;
  display: none;
}

.yt-faq-item.active .yt-faq-answer {
  display: block;
}

/* Contact Section */
.yt-contact {
  background: linear-gradient(135deg, var(--yt-primary) 0%, var(--yt-primary-dark) 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--yt-white);
}

.yt-contact h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.yt-contact p {
  color: var(--yt-accent-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.yt-contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.yt-contact-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--yt-radius);
  padding: 24px 36px;
  backdrop-filter: blur(10px);
}

.yt-contact-item .yt-label {
  font-size: 0.85rem;
  color: var(--yt-accent-light);
  margin-bottom: 4px;
}

.yt-contact-item .yt-value {
  font-size: 1.3rem;
  font-weight: 700;
}

.yt-contact-item a {
  color: var(--yt-white);
  text-decoration: none;
}

/* Footer */
.yt-footer {
  background: var(--yt-primary-dark);
  padding: 30px 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Image Gallery in sections */
.yt-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.yt-image-grid img {
  width: 100%;
  border-radius: var(--yt-radius);
  box-shadow: var(--yt-shadow);
}

/* ===== BLOG POST STYLES ===== */

.yt-post-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
}

.yt-post-wrapper h2 {
  font-size: 1.6rem;
  color: var(--yt-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yt-accent);
}

.yt-post-wrapper h3 {
  font-size: 1.3rem;
  color: var(--yt-primary-dark);
  margin: 32px 0 12px;
}

.yt-post-wrapper p {
  margin-bottom: 16px;
  line-height: 1.9;
}

.yt-post-wrapper img {
  max-width: 100%;
  border-radius: var(--yt-radius);
  box-shadow: var(--yt-shadow);
  margin: 24px 0;
}

.yt-info-box {
  background: var(--yt-bg-alt);
  border-left: 4px solid var(--yt-accent);
  padding: 24px 28px;
  border-radius: 0 var(--yt-radius) var(--yt-radius) 0;
  margin: 28px 0;
}

.yt-info-box h4 {
  color: var(--yt-primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.yt-highlight-box {
  background: linear-gradient(135deg, var(--yt-primary) 0%, var(--yt-primary-dark) 100%);
  color: var(--yt-white);
  padding: 28px 32px;
  border-radius: var(--yt-radius);
  margin: 28px 0;
}

.yt-highlight-box h4 {
  color: var(--yt-accent-light);
  margin-bottom: 8px;
}

.yt-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

.yt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.yt-table th {
  background: var(--yt-primary);
  color: var(--yt-white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}

.yt-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--yt-border);
}

.yt-table tr:nth-child(even) {
  background: var(--yt-bg-alt);
}

.yt-checklist {
  list-style: none;
  padding: 0;
}

.yt-checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--yt-border);
}

.yt-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yt-accent);
  font-weight: 700;
}

.yt-cta-box {
  background: var(--yt-bg-alt);
  border: 2px solid var(--yt-accent);
  border-radius: var(--yt-radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.yt-cta-box h3 {
  color: var(--yt-primary);
  margin-bottom: 12px;
}

.yt-cta-box .yt-cta-btn {
  display: inline-block;
  background: var(--yt-accent);
  color: var(--yt-white);
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 16px;
  transition: var(--yt-transition);
}

.yt-cta-box .yt-cta-btn:hover {
  background: var(--yt-accent-light);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .yt-hero h1 { font-size: 2rem; }
  .yt-hero { padding: 60px 16px 50px; }
  .yt-section { padding: 50px 16px; }
  .yt-section-title { font-size: 1.5rem; }
  .yt-trust-bar { gap: 20px; }
  .yt-profile { flex-direction: column; }
  .yt-profile-image { flex: none; width: 100%; max-width: 400px; }
  .yt-image-grid { grid-template-columns: 1fr; }
  .yt-contact-info { flex-direction: column; align-items: center; }
  .yt-process-steps { flex-direction: column; }
}
