/* =============================================
   AMORE — pages.css
   Styles for About Us & Contact pages
   ============================================= */

/* ===== INNER PAGE BODY — Force header dark from top ===== */
.inner-page .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
  backdrop-filter: blur(20px);
}

.inner-page .logo-text {
  color: var(--charcoal);
}

.inner-page .nav-link {
  color: var(--charcoal);
}

.inner-page .nav-link:hover,
.inner-page .nav-link.active {
  color: var(--pink);
  background: var(--pink-pale);
}

.inner-page .hamburger .bar {
  background: var(--charcoal);
}

/* Mobile nav stays white on inner pages */
@media (max-width: 768px) {
  .inner-page .main-nav {
    background: rgba(26,10,18,0.97);
  }
  .inner-page .nav-link {
    color: rgba(255,255,255,0.85);
  }
  .inner-page .nav-link:hover,
  .inner-page .nav-link.active {
    color: var(--pink-light);
    background: rgba(255,92,138,0.12);
  }
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  overflow: hidden;
  margin-top: 72px; /* header height offset */
}

.page-hero--short {
  height: 400px;
}

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

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 5, 12, 0.85) 0%,
    rgba(60, 15, 35, 0.55) 50%,
    rgba(255,92,138,0.15) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--pink-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}

.page-hero-title em {
  font-style: italic;
  color: var(--pink-light);
}

.page-hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.75;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.body-text {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.body-text:last-of-type { margin-bottom: 0; }

/* ===== TWO COLUMN LAYOUT (About Mission) ===== */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.two-col-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

.img-badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--pink);
  color: var(--white);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(255,92,138,0.45);
  z-index: 2;
}

.img-badge-float .stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

.img-badge-float .stat-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Mission stats bar */
.mission-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}

.m-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--pink);
  line-height: 1;
}

.m-stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--pink-light);
}

.value-card:hover::after { transform: scaleX(1); }

.value-icon {
  font-size: 2.25rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s ease;
}

.value-card:hover .value-icon { transform: scale(1.15) rotate(-5deg); }

.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--pink-light);
}

.team-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255,92,138,0.9), transparent);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px 14px;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.team-card:hover .team-social { transform: translateY(0); }

.team-social a {
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-ui);
  transition: all 0.2s ease;
}

.team-social a:hover {
  background: var(--pink);
  color: var(--white);
}

.team-body {
  padding: 24px 20px 28px;
}

.team-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ===== PRESS BAR ===== */
.press-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 8px;
}

.press-item {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gray-light);
  padding: 12px 24px;
  border: 1px solid var(--gray-border);
  border-radius: 100px;
  transition: all var(--transition);
  cursor: default;
}

.press-item:hover {
  color: var(--pink);
  border-color: var(--pink-light);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--white);
}

.cta-banner-inner {
  background: linear-gradient(135deg, #1A0A12 0%, #3D0E25 50%, #1A0A12 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,92,138,0.2), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,92,138,0.15), transparent 60%);
  pointer-events: none;
}

.cta-deco {
  position: absolute;
  font-size: 14rem;
  color: rgba(255,92,138,0.06);
  font-family: serif;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.cta-banner-inner .section-eyebrow { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-title em { font-style: italic; color: var(--pink-light); }

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== CONTACT PAGE LAYOUT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

/* Contact Info Side */
.contact-info-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.contact-info-title em { font-style: italic; color: var(--pink); }

.contact-info-intro {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  background: var(--white);
  transition: all var(--transition);
}

.info-card:hover {
  border-color: var(--pink-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-body h4 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.info-body p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 2px;
}

.info-body span {
  font-size: 0.78rem;
  color: var(--gray-light);
}

.contact-social-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  margin-bottom: 16px;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  padding: 52px 48px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), #FF8CB0, var(--pink));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-card-title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.form-card-title em { font-style: italic; color: var(--pink); }

.form-card-sub {
  font-size: 0.875rem;
  color: var(--gray-mid);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Form elements */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-group label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.required { color: var(--pink); }

.cf-group input,
.cf-group textarea,
.cf-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.cf-group input:focus,
.cf-group textarea:focus,
.cf-group select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,92,138,0.1);
}

.cf-group input::placeholder,
.cf-group textarea::placeholder { color: var(--gray-light); }

.cf-group textarea {
  resize: vertical;
  min-height: 150px;
}

.select-wrap {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--gray-light);
  pointer-events: none;
}

/* Checkbox */
.cf-checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.cf-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--pink);
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}

.cf-checkbox a { color: var(--pink); text-decoration: underline; }

/* Field errors */
.cf-error-msg {
  font-size: 0.75rem;
  color: #E04070;
  margin-top: 4px;
  padding-left: 4px;
  font-family: var(--font-ui);
  display: none;
}

.cf-group.has-error input,
.cf-group.has-error textarea,
.cf-group.has-error select {
  border-color: #E04070;
  box-shadow: 0 0 0 4px rgba(224,64,112,0.1);
}

.cf-group.has-error .cf-error-msg { display: block; }

/* Success state */
.cf-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 16px;
}

.cf-success.visible { display: flex; }

.cf-success-icon {
  font-size: 3rem;
  color: var(--pink);
  animation: heartPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heartPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cf-success h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--charcoal);
}

.cf-success p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  max-width: 360px;
  line-height: 1.75;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  border-right: 1px solid var(--gray-border);
}

.faq-item:nth-child(even) { border-right: none; }
.faq-item:nth-last-child(-n+2) { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  border: none;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--pink); }

.faq-question[aria-expanded="true"] { color: var(--pink); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform var(--transition);
  font-family: var(--font-body);
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 28px;
}

.faq-answer.open { display: block; }

.faq-answer p {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.8;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .two-col-layout { gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-card { padding: 40px 36px; }
}

@media (max-width: 768px) {
  .page-hero { height: 360px; padding-bottom: 48px; }
  .page-hero--short { height: 300px; }
  .two-col-layout { grid-template-columns: 1fr; gap: 48px; }
  .img-badge-float { right: 16px; bottom: -16px; width: 90px; height: 90px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { border-right: none; }
  .faq-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .mission-stats { flex-wrap: wrap; gap: 24px; }
  .cta-banner-inner { padding: 56px 28px; }
  .press-logos { gap: 12px 16px; }
  .contact-form-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
