/* ============================================================
   corporate.css
   Styles for /vietnam-corporate-tours/ pillar page
   All global classes (container, btn-*, stats-bar, why-section,
   bento-grid, faq-*, partners-section) live in style.css.
   Only page-specific additions live here.
   ============================================================ */

/* ============================================================
   1. Corporate Hero
   ============================================================ */

.corp-hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}

.corp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 2;
}

.corp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.corp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.corp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 26, 0.82) 0%,
    rgba(10, 14, 26, 0.65) 60%,
    rgba(10, 14, 26, 0.45) 100%
  );
}

/* ============================================================
   1b. Hero Split Layout  (copy left · form right)
   ============================================================ */

.corp-hero-split {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-10) 0;
}

@media (min-width: 1024px) {
  .corp-hero-split {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-12);
    padding: var(--space-16) 0;
  }
}

/* --- Left copy --- */

.corp-hero-copy {
  flex: 1 1 0%;
  padding-top: var(--space-6);
}

.corp-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--space-4);
}

.corp-hero-highlight {
  color: var(--amber-400);
}

.corp-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.corp-hero-copy .btn {
  margin-bottom: var(--space-6);
}

.corp-hero-trust {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-3);
}

.corp-hero-trust strong {
  color: rgba(255, 255, 255, 0.85);
}

.corp-hero-blurb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 480px;
}

/* --- Right form --- */

.corp-hero-form {
  flex: 0 0 500px;
  max-width: 100%;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-6) var(--space-5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1023px) {
  .corp-hero-form {
    flex: none;
    max-width: 480px;
  }
}

.corp-form-field {
  margin-bottom: var(--space-3);
}

.corp-form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.corp-form-field input,
.corp-form-field textarea {
  width: 100%;
  padding: 8px var(--space-3);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
}

.corp-form-field input:focus,
.corp-form-field textarea:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.corp-form-field textarea {
  resize: vertical;
}

.corp-form-row {
  display: flex;
  gap: var(--space-4);
}

.corp-form-row .corp-form-field {
  flex: 1;
}

.corp-form-submit {
  width: 100%;
  margin-top: var(--space-2);
}

/* ============================================================
   3. Stats Bar standalone (no margin-top override needed —
      the hero provides spacing, but we do need the bar to
      render without the default margin-top when it sits
      immediately after the hero)
   ============================================================ */

.corp-stats-wrap {
  background: var(--ink-900);
  padding: var(--space-6) 0;
}

.corp-stats-wrap .stats-bar {
  margin-top: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  justify-content: space-around;
}

/* ============================================================
   4. Generic page section helpers
   ============================================================ */

.corp-section {
  padding: var(--space-16) 0;
}

.corp-section--sand {
  background: var(--sand-50);
}

.corp-section--white {
  background: white;
}

.corp-section-header {
  max-width: 720px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.corp-section-intro {
  max-width: 640px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

/* ============================================================
   4b. Why-card image variant
   ============================================================ */

.why-card--img {
  padding: 0;
  overflow: hidden;
}

.why-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.why-card--img:hover .why-card-img img {
  transform: scale(1.05);
}

.why-card-body {
  padding: var(--space-5);
}

/* ============================================================
   5. Why-grid 3-column override for specific sections
      (default why-grid is 4-col on desktop)
   ============================================================ */

.why-grid--3col {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   6. Activity Tags
   ============================================================ */

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--sand-200);
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.4;
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
  cursor: default;
  white-space: nowrap;
}

.activity-tag:hover {
  border-color: var(--amber-500);
  background: var(--amber-50);
  color: var(--amber-700);
}

/* ============================================================
   7. Price note
   ============================================================ */

.corp-price-note {
  text-align: center;
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: var(--sand-600);
}

/* ============================================================
   8. Client Logo Placeholders
   ============================================================ */

.corp-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .corp-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .corp-logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.corp-logo-grid img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--duration-fast) ease;
}

.corp-logo-grid img:hover {
  opacity: 1;
}

/* ============================================================
   9. CTA Banner
   ============================================================ */

.corp-cta-banner {
  background: var(--ink-900);
  padding: var(--space-20) 0;
  text-align: center;
}

.corp-cta-banner .headline-section {
  color: white;
}

.corp-cta-banner .text-body {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.corp-cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ============================================================
   10. Outline Light Button (white-on-dark variant)
   ============================================================ */

.btn-outline-light {
  padding: var(--space-3) var(--space-8);
  font-size: 1rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: white;
  color: var(--ink-900);
  border-color: white;
}

/* ============================================================
   11. Intro copy section
   ============================================================ */

.corp-intro-section {
  padding: var(--space-16) 0;
  background: white;
}

.corp-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.corp-intro-inner .headline-section {
  margin-bottom: var(--space-6);
}

.corp-intro-inner .text-body {
  margin-bottom: var(--space-4);
}

.corp-intro-inner .text-body:last-of-type {
  margin-bottom: var(--space-8);
}

/* ============================================================
   11b. Past tours photo grid (4 cols × 3 rows)
   ============================================================ */

.corp-logos-header {
  margin-top: var(--space-12);
}

.corp-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .corp-photos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

.corp-photos-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ============================================================
   12. Tour cards grid on corporate page
   ============================================================ */

.corp-tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .corp-tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .corp-tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   13. FAQ section white background override
      (style.css defaults faq-section to sand-50)
   ============================================================ */

.corp-faq-section {
  padding: var(--space-16) 0;
  background: white;
}

.corp-faq-heading {
  text-align: center;
  margin-bottom: var(--space-10);
}

.corp-faq-section .faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border-default);
}

/* ============================================================
   14. Section CTA row
   ============================================================ */

.corp-section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* btn-outline-warm comes after btn-primary-lg in style.css,
   so its smaller padding/font-size wins by cascade order.
   Re-apply lg sizing when used as a section CTA. */
.corp-section-cta .btn-outline-warm {
  padding: var(--space-3) var(--space-8);
  font-size: 1rem;
}

/* ============================================================
   15. Destinations bento grid — 5 equal columns on desktop
   ============================================================ */

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

@media (min-width: 768px) {
  .bento-grid--5col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid--5col {
    grid-template-columns: repeat(5, 1fr);
  }
}
