/* ============================================
   PAGE-SPECIFIC STYLES (team, portfolio, contact)
   เพิ่มต่อท้าย styles.css หลัก
   ============================================ */

/* PHILOSOPHY (team page) */
.philosophy { padding: 5rem 0 7rem; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.philosophy-quote-wrap {
  padding: 3rem; border: 1px solid rgba(212, 175, 106, 0.2); border-radius: 4px;
  background: linear-gradient(180deg, rgba(45, 18, 72, 0.4), rgba(26, 10, 46, 0.3));
  position: relative;
}
.philosophy-quote-wrap::before {
  content: '"'; position: absolute; top: -20px; left: 30px;
  font-family: var(--serif); font-size: 6rem; color: var(--gold); line-height: 1;
}
.philosophy-quote {
  font-family: var(--serif); font-size: 1.625rem; font-style: italic; line-height: 1.5;
  color: var(--cream); margin-bottom: 2rem; padding-top: 1.5rem;
}
.philosophy-author { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.philosophy-text h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem; color: var(--white-soft); }
.philosophy-text h2 em { font-style: italic; color: var(--gold-light); }
.philosophy-text p { color: rgba(245, 236, 217, 0.7); line-height: 1.85; margin-bottom: 1.25rem; font-size: 1rem; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; }
.value-card { padding: 2rem 1.5rem; text-align: center; background: rgba(26, 10, 46, 0.4); border: 1px solid rgba(212, 175, 106, 0.12); border-radius: 4px; transition: all 0.4s; }
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.value-card-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); margin-bottom: 0.75rem; }
.value-card-name { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; color: var(--white-soft); margin-bottom: 0.625rem; }
.value-card-desc { font-size: 0.875rem; color: rgba(245, 236, 217, 0.65); line-height: 1.7; }

/* FOUNDER */
.founder-section { padding: 6rem 0; background: linear-gradient(180deg, transparent, rgba(45, 18, 72, 0.25), transparent); }
.founder-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.founder-portrait { position: relative; aspect-ratio: 3/4; }
.founder-card {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--purple-rich), var(--purple-deep));
  border: 1px solid rgba(212, 175, 106, 0.25); border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.founder-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 106, 0.18), transparent 60%);
}
.founder-card .badge { position: absolute; top: 1.5rem; left: 1.5rem; padding: 0.4rem 0.875rem; background: rgba(15, 4, 24, 0.7); border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; border-radius: 2px; backdrop-filter: blur(10px); }
.founder-card svg { width: 50%; height: auto; opacity: 0.9; }
.founder-info .eyebrow { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.founder-info h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 400; line-height: 1.1; color: var(--white-soft); margin-bottom: 0.5rem; }
.founder-info h2 em { font-style: italic; color: var(--gold-light); }
.founder-role { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin-bottom: 1.5rem; }
.founder-bio { color: rgba(245, 236, 217, 0.75); line-height: 1.85; margin-bottom: 2rem; font-size: 1rem; }
.founder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(212, 175, 106, 0.15); }
.founder-stat .num { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); line-height: 1; }
.founder-stat .label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245, 236, 217, 0.5); margin-top: 0.375rem; }

/* TEAM GRID */
.team-section { padding: 6rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.team-card { padding: 2.25rem 2rem; background: rgba(26, 10, 46, 0.5); border: 1px solid rgba(212, 175, 106, 0.12); border-radius: 4px; transition: all 0.5s; position: relative; }
.team-card:hover { border-color: rgba(212, 175, 106, 0.4); transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3); }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-rich), var(--purple-glow)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; border: 1px solid var(--gold); position: relative; overflow: hidden; flex-shrink: 0; }
.team-avatar::before { content: ''; position: absolute; inset: -6px; border: 1px dashed rgba(212, 175, 106, 0.3); border-radius: 50%; pointer-events: none; z-index: 2; }
.team-avatar-text { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold-light); position: relative; z-index: 1; }
.team-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; z-index: 1; display: block; }
.team-name { font-family: var(--serif); font-size: 1.625rem; font-weight: 400; color: var(--white-soft); margin-bottom: 0.375rem; line-height: 1.2; }
.team-name em { font-style: italic; }
.team-role { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.team-specialty { font-family: var(--serif); font-style: italic; color: rgba(245, 236, 217, 0.7); margin-bottom: 1.25rem; font-size: 1rem; }
.team-bio { font-size: 0.875rem; color: rgba(245, 236, 217, 0.65); line-height: 1.75; margin-bottom: 1.5rem; }
.team-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(212, 175, 106, 0.08); }
.team-skill { padding: 0.3rem 0.75rem; font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(212, 175, 106, 0.25); border-radius: 100px; }

/* PORTFOLIO */
.filters-bar { display: flex; gap: 0.75rem; justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }
.filter-btn { padding: 0.625rem 1.25rem; background: transparent; border: 1px solid rgba(212, 175, 106, 0.25); color: rgba(245, 236, 217, 0.7); border-radius: 100px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 106, 0.05); }

.featured-project { margin-bottom: 7rem; }
.featured-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; }
.featured-image { position: relative; aspect-ratio: 4/3; }
.featured-card-bg { position: absolute; inset: 0; background: linear-gradient(145deg, var(--purple-rich), var(--purple-deep)); border: 1px solid rgba(212, 175, 106, 0.25); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; }
.featured-card-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(212, 175, 106, 0.15), transparent 60%); }
.featured-card-bg svg { width: 60%; height: auto; opacity: 0.85; }
.featured-tag { position: absolute; top: 2rem; left: 2rem; padding: 0.5rem 1rem; background: rgba(15, 4, 24, 0.8); border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; border-radius: 2px; backdrop-filter: blur(10px); }
.featured-info .eyebrow { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.featured-info .eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.featured-info h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 400; line-height: 1.1; color: var(--white-soft); margin-bottom: 1rem; }
.featured-info h2 em { font-style: italic; color: var(--gold-light); }
.featured-category { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin-bottom: 1.5rem; }
.featured-desc { color: rgba(245, 236, 217, 0.7); line-height: 1.85; margin-bottom: 2rem; }
.featured-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(212, 175, 106, 0.15); border-bottom: 1px solid rgba(212, 175, 106, 0.15); margin-bottom: 2rem; }
.meta-item .label { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.375rem; }
.meta-item .value { font-family: var(--serif); font-style: italic; color: var(--cream); font-size: 0.95rem; }
.featured-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.featured-tag-item { padding: 0.4rem 0.875rem; background: rgba(212, 175, 106, 0.08); border: 1px solid rgba(212, 175, 106, 0.2); color: var(--gold-light); font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 100px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project-card { background: rgba(26, 10, 46, 0.5); border: 1px solid rgba(212, 175, 106, 0.12); border-radius: 4px; overflow: hidden; transition: all 0.5s; cursor: pointer; }
.project-card:hover { border-color: rgba(212, 175, 106, 0.4); transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3); }
.project-card:hover .project-image::before { opacity: 0.4; }
.project-image { aspect-ratio: 4/3; position: relative; background: linear-gradient(145deg, var(--purple-rich), var(--purple-deep)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(212, 175, 106, 0.15)); opacity: 0; transition: opacity 0.5s; }
.project-image svg { width: 50%; height: auto; opacity: 0.8; }
.project-tag { position: absolute; top: 1.25rem; left: 1.25rem; padding: 0.3rem 0.75rem; background: rgba(15, 4, 24, 0.85); border: 1px solid rgba(212, 175, 106, 0.3); color: var(--gold-light); font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 2px; backdrop-filter: blur(10px); z-index: 2; }
.project-info { padding: 1.5rem 1.75rem; }
.project-category { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.project-title { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.25; color: var(--white-soft); margin-bottom: 0.75rem; }
.project-title em { font-style: italic; color: var(--gold-light); }
.project-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(212, 175, 106, 0.1); }
.project-client { font-family: var(--serif); font-style: italic; color: rgba(245, 236, 217, 0.6); font-size: 0.875rem; }
.project-year { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }

.testimonial { padding: 6rem 0; background: linear-gradient(180deg, transparent, rgba(45, 18, 72, 0.3), transparent); }
.testimonial-content { max-width: 880px; margin: 0 auto; text-align: center; position: relative; padding: 0 2rem; }
.testimonial-quote-mark { font-family: var(--serif); font-size: 8rem; color: var(--gold); line-height: 0.5; opacity: 0.4; margin-bottom: 1rem; }
.testimonial-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); font-style: italic; line-height: 1.5; color: var(--cream); margin-bottom: 2.5rem; font-weight: 400; }
.testimonial-author { display: inline-flex; align-items: center; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(212, 175, 106, 0.25); }
.testimonial-author-name { font-family: var(--serif); font-size: 1.25rem; color: var(--white-soft); }
.testimonial-author-role { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto 5rem; padding-top: 3rem; }
.contact-card { padding: 2rem 1.5rem; background: rgba(26, 10, 46, 0.5); border: 1px solid rgba(212, 175, 106, 0.15); border-radius: 4px; text-align: center; transition: all 0.4s; text-decoration: none; color: inherit; display: block; }
.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.contact-card-icon { width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: var(--gold); }
.contact-card-label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.625rem; }
.contact-card-value { font-family: var(--serif); font-size: 1.0625rem; color: var(--cream); margin-bottom: 0.375rem; word-break: break-word; }
.contact-card-note { font-size: 0.75rem; color: rgba(245, 236, 217, 0.5); font-style: italic; }

.form-section { padding: 5rem 0; }
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.form-intro h2 { font-family: var(--serif); font-size: clamp(1.875rem, 3.5vw, 2.5rem); font-weight: 400; line-height: 1.2; color: var(--white-soft); margin-bottom: 1.25rem; }
.form-intro h2 em { font-style: italic; color: var(--gold-light); }
.form-intro p { color: rgba(245, 236, 217, 0.7); line-height: 1.8; margin-bottom: 2rem; }
.form-features { list-style: none; padding-top: 2rem; border-top: 1px solid rgba(212, 175, 106, 0.15); }
.form-features li { padding: 0.875rem 0; color: rgba(245, 236, 217, 0.85); display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.9375rem; }
.form-features li::before { content: '✦'; color: var(--gold); margin-top: 2px; }

.contact-form { padding: 2.5rem; background: linear-gradient(180deg, rgba(45, 18, 72, 0.4), rgba(26, 10, 46, 0.5)); border: 1px solid rgba(212, 175, 106, 0.2); border-radius: 4px; backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-row.single { grid-template-columns: 1fr; }
.field-label { display: block; font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.625rem; }
.field-input, .field-select, .field-textarea { width: 100%; padding: 0.875rem 1rem; background: rgba(15, 4, 24, 0.6); border: 1px solid rgba(212, 175, 106, 0.2); color: var(--cream); border-radius: 2px; font-family: var(--thai); font-size: 0.9375rem; outline: none; transition: all 0.3s; }
.field-input:focus, .field-select:focus, .field-textarea:focus { border-color: var(--gold); background: rgba(15, 4, 24, 0.9); }
.field-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 1rem; padding: 1.1rem; background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); color: var(--purple-deepest); border: none; cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 2px; transition: all 0.3s; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 175, 106, 0.3); }
.form-success { display: none; padding: 1rem; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #86efac; border-radius: 2px; margin-bottom: 1.25rem; font-size: 0.9rem; }
.form-success.show { display: block; }

.location-section { padding: 5rem 0; background: linear-gradient(180deg, transparent, rgba(45, 18, 72, 0.2), transparent); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.location-info h2 { font-family: var(--serif); font-size: clamp(1.875rem, 3.5vw, 2.5rem); font-weight: 400; line-height: 1.2; color: var(--white-soft); margin-bottom: 1.25rem; }
.location-info h2 em { font-style: italic; color: var(--gold-light); }
.location-block { margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(212, 175, 106, 0.1); }
.location-block:last-child { border-bottom: none; }
.location-block-label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.625rem; }
.location-block-text { color: rgba(245, 236, 217, 0.85); line-height: 1.7; font-size: 0.9375rem; }
.location-map { aspect-ratio: 4/3; background: linear-gradient(145deg, var(--purple-mid), var(--purple-deep)); border: 1px solid rgba(212, 175, 106, 0.25); border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.location-map::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(212, 175, 106, 0.1), transparent 60%); }
.location-map-pin { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-light); text-align: center; position: relative; padding: 2rem; }
.location-map-pin svg { display: block; margin: 0 auto 1rem; opacity: 0.6; }

.faq-section { padding: 5rem 0; }
.faq-list { max-width: 880px; margin: 4rem auto 0; }
.faq-item { border-bottom: 1px solid rgba(212, 175, 106, 0.12); padding: 1.5rem 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1.5rem; }
.faq-q-text { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); font-weight: 400; }
.faq-q-text em { font-style: italic; color: var(--gold-light); }
.faq-toggle { width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; transition: all 0.4s; font-size: 1.25rem; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--gold); color: var(--purple-deepest); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.5s ease; color: rgba(245, 236, 217, 0.7); line-height: 1.85; }
.faq-item.open .faq-a { max-height: 500px; padding-top: 1.25rem; }

.hours-section { padding: 5rem 0; text-align: center; }
.hours-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 880px; margin: 3rem auto 0; }
.hours-card { padding: 2rem 1rem; background: rgba(26, 10, 46, 0.4); border: 1px solid rgba(212, 175, 106, 0.12); border-radius: 4px; }
.hours-card.closed { opacity: 0.55; }
.hours-day { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.875rem; }
.hours-time { font-family: var(--serif); font-size: 1.125rem; color: var(--cream); font-style: italic; }

@media (max-width: 968px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 320px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hours-grid { grid-template-columns: 1fr 1fr; }
}
