/* ═══ SHARED INNER PAGE STYLES ═══ */
.ip-page {
  --ip-accent: #b07a4b;
  --ip-accent-light: rgba(176, 122, 75, 0.1);
  --ip-dark: #1e293b;
  --ip-darker: #111827;
  --ip-text: #334155;
  --ip-text-light: #64748b;
  --ip-border: #e8e5e0;
  --ip-bg: #ffffff;
  --ip-bg-alt: #faf9f7;
  --ip-card-shadow: 0 2px 12px rgba(0,0,0,0.04);
  --ip-card-shadow-hover: 0 8px 28px rgba(0,0,0,0.08);
  --ip-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ip-font-display: 'Playfair Display', Georgia, serif;
  font-family: var(--ip-font);
  color: var(--ip-text);
}

.ip-page * { box-sizing: border-box; }

.ip-wrap {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.06);
}

/* ═══ PAGE HERO ═══ */
.ip-hero {
  background: linear-gradient(135deg, var(--ip-dark) 0%, var(--ip-darker) 100%);
  color: #fff;
  padding: 5rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.ip-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: var(--ip-accent);
  border-radius: 50%;
  opacity: 0.06;
}

.ip-hero-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ip-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.ip-hero h1 {
  font-family: var(--ip-font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.ip-hero p {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

/* ═══ SECTIONS ═══ */
.ip-section {
  padding: 4.5rem 4rem;
}

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

.ip-heading {
  font-family: var(--ip-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ip-accent);
  margin: 0 0 2rem;
}

.ip-section h2 {
  font-family: var(--ip-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--ip-dark);
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.ip-section p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ═══ CARDS ═══ */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.ip-card {
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--ip-card-shadow);
  transition: all 0.25s;
}

.ip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ip-card-shadow-hover);
  border-color: var(--ip-accent);
}

.ip-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ip-dark);
  margin: 0 0 0.5rem;
}

.ip-card p {
  font-size: 0.85rem;
  color: var(--ip-text-light);
  line-height: 1.55;
  margin: 0;
}

/* ═══ BUTTONS ═══ */
.ip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.ip-btn--primary {
  color: #fff;
  background: var(--ip-accent);
}

.ip-btn--primary:hover {
  background: #9a6a3d;
  transform: translateY(-1px);
}

.ip-btn--outline {
  color: var(--ip-accent);
  border: 1px solid var(--ip-border);
  background: var(--ip-bg);
}

.ip-btn--outline:hover {
  border-color: var(--ip-accent);
  background: var(--ip-accent-light);
}

.ip-btn--light {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.ip-btn--light:hover {
  background: rgba(255,255,255,0.08);
}

/* ═══ TAGS ═══ */
.ip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ip-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ip-accent);
  background: var(--ip-accent-light);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ═══ CTA FOOTER ═══ */
.ip-cta {
  background: linear-gradient(135deg, var(--ip-dark) 0%, var(--ip-darker) 100%);
  color: #fff;
  padding: 5rem 4rem;
  text-align: center;
}

.ip-cta h2 {
  font-family: var(--ip-font-display);
  font-size: 2rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.ip-cta p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.ip-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ VIDEO EMBED ═══ */
.ip-video-card {
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ip-card-shadow);
  transition: all 0.25s;
}

.ip-video-card:hover {
  box-shadow: var(--ip-card-shadow-hover);
  transform: translateY(-3px);
}

.ip-video-embed {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  overflow: hidden;
  background: #0f172a;
}

.ip-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.ip-video-embed--yt {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.ip-video-card .ip-btn {
  display: block;
  text-align: center;
  margin: 0.75rem;
  font-size: 0.78rem;
}

/* ═══ ACCOUNT CARD ═══ */
.ip-account-card {
  display: block;
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--ip-card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ip-account-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ip-card-shadow-hover);
  border-color: var(--ip-accent);
}

.ip-account-visual {
  position: relative;
  height: 100px;
  display: flex;
  align-items: flex-start;
  padding: 0.75rem;
  overflow: hidden;
}

.ip-visual--tiktok { background: linear-gradient(135deg, #1e293b, #334155); }
.ip-visual--instagram { background: linear-gradient(135deg, #833ab4, #c13584); }
.ip-visual--pinterest { background: linear-gradient(135deg, #bd081c, #e60023); }
.ip-visual--youtube { background: linear-gradient(135deg, #cc0000, #ff0000); }

.ip-platform-badge {
  position: relative;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 20px;
}

.ip-account-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ip-account-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ip-dark);
  margin: 0;
  padding: 0.85rem 1.1rem 0.25rem;
}

.ip-account-card p {
  font-size: 0.78rem;
  color: var(--ip-text-light);
  margin: 0;
  padding: 0 1.1rem 1rem;
  line-height: 1.45;
}

.ip-account-card p.ip-account-meta {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ip-accent);
  font-weight: 700;
  padding-bottom: 0.35rem;
}

/* ═══ CLIENT LABEL ═══ */
.ip-client-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ip-accent);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ip-border);
  display: inline-block;
}

.ip-client-label:first-of-type { margin-top: 0; }

/* ═══ CONTACT ITEMS ═══ */
.ip-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ip-contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  box-shadow: var(--ip-card-shadow);
  text-decoration: none;
  color: var(--ip-text);
  transition: all 0.2s;
}

.ip-contact-item:hover {
  border-color: var(--ip-accent);
  box-shadow: var(--ip-card-shadow-hover);
  transform: translateY(-2px);
}

.ip-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ip-accent-light);
  border-radius: 10px;
  color: var(--ip-accent);
}

.ip-contact-icon svg { width: 20px; height: 20px; }

.ip-contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ip-text-light);
  display: block;
  margin-bottom: 2px;
}

.ip-contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ip-dark);
}

/* ═══ SERVICE CARDS ═══ */
.ip-service-card {
  display: flex;
  flex-direction: column;
}

.ip-service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ip-accent-light);
  border-radius: 10px;
  color: var(--ip-accent);
  margin-bottom: 1rem;
}

.ip-service-icon svg { width: 22px; height: 22px; }

.ip-service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  flex: 1;
}

.ip-service-list li {
  font-size: 0.82rem;
  color: var(--ip-text);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--ip-border);
  position: relative;
  padding-left: 1rem;
}

.ip-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ip-accent);
}

.ip-service-list li:last-child {
  border-bottom: none;
}

/* ═══ MENU ITEMS ═══ */
.ip-menu-item h3 {
  font-size: 0.92rem;
}

.ip-menu-item p {
  font-size: 0.82rem;
}

/* ═══ PORTFOLIO FILTERS ═══ */
.ip-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.ip-filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--ip-border);
  background: var(--ip-bg);
  color: var(--ip-text);
  cursor: pointer;
  transition: all 0.2s;
}

.ip-filter-btn:hover,
.ip-filter-btn.active {
  background: var(--ip-accent);
  color: #fff;
  border-color: var(--ip-accent);
}

.ip-portfolio-group { margin-bottom: 3rem; }
.ip-portfolio-group:last-child { margin-bottom: 0; }

.ip-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ip-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ip-border);
}

/* ═══ PROCESS STEPS ═══ */
.ip-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.ip-steps li {
  counter-increment: step;
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--ip-card-shadow);
}

.ip-steps li::before {
  content: counter(step);
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  margin: 0 auto 0.75rem;
  background: var(--ip-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}

.ip-steps li strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--ip-dark);
}

.ip-steps li span {
  font-size: 0.75rem;
  color: var(--ip-text-light);
  line-height: 1.4;
}

/* ═══ ABOUT BIO ═══ */
.ip-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ip-text);
  max-width: 640px;
  border-left: 3px solid var(--ip-accent);
  padding-left: 1.5rem;
  font-style: italic;
}

/* ═══ CASE STUDY CARDS ═══ */
.ip-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ip-case-card {
  background: var(--ip-bg);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ip-card-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ip-case-card:hover {
  border-color: var(--ip-accent);
  box-shadow: var(--ip-card-shadow-hover);
}

.ip-case-header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--ip-border);
}

.ip-case-header h3 {
  font-family: var(--ip-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ip-dark);
}

.ip-case-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.ip-case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ip-border);
}

.ip-case-meta-item {
  font-size: 0.78rem;
  color: var(--ip-text);
  line-height: 1.4;
}

.ip-case-meta-item strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ip-text-light);
  margin-bottom: 2px;
}

.ip-case-body > p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ip-text);
  margin-bottom: 1rem;
}

.ip-case-outcome {
  font-size: 0.82rem;
  line-height: 1.6;
  background: var(--ip-accent-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--ip-accent);
}

.ip-case-outcome strong {
  color: var(--ip-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ip-case-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--ip-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ip-case-external {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ip-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ip-case-external:hover { opacity: 0.7; }

/* ═══ INTERNAL LINK CARDS ═══ */
.ip-link-card {
  text-decoration: none;
  color: var(--ip-text);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.ip-link-card:hover {
  border-color: var(--ip-accent);
  box-shadow: var(--ip-card-shadow-hover);
  transform: translateY(-2px);
}

.ip-link-card h3 {
  font-size: 0.92rem;
  color: var(--ip-dark);
  margin-bottom: 0.35rem;
}

.ip-link-card p {
  font-size: 0.82rem;
  color: var(--ip-text-light);
  flex: 1;
}

.ip-link-arrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ip-accent);
  margin-top: 0.75rem;
}

/* ═══ INSTAGRAM PLACEHOLDER CARDS ═══ */
.ip-ig-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ip-ig-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f8f4f0 0%, #ede8e3 100%);
  border-radius: var(--ip-radius);
  color: var(--ip-text-light);
  margin-bottom: 0.75rem;
}

.ip-ig-placeholder svg {
  opacity: 0.45;
}

.ip-ig-placeholder span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

.ip-ig-desc {
  font-size: 0.82rem;
  color: var(--ip-text-light);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* ═══ PHOTOGRAPHY GALLERY CARDS ═══ */
.ip-photo-card {
  display: flex;
  flex-direction: column;
  background: var(--ip-white);
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--ip-card-shadow);
}

.ip-photo-card:hover {
  box-shadow: var(--ip-card-shadow-hover);
  transform: translateY(-3px);
}

.ip-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: rgba(255,255,255,0.6);
}

.ip-photo-placeholder svg {
  opacity: 0.5;
}

.ip-photo-placeholder span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.ip-photo-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ip-photo-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ip-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.ip-photo-info p {
  font-size: 0.82rem;
  color: var(--ip-text-light);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.75rem;
}

.ip-photo-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ip-accent);
  letter-spacing: 0.02em;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .ip-hero { padding: 3rem 1.5rem; }
  .ip-section { padding: 3rem 1.5rem; }
  .ip-grid { grid-template-columns: 1fr; }
  .ip-grid--two { grid-template-columns: 1fr; }
  .ip-contact-grid { grid-template-columns: 1fr; }
  .ip-steps { grid-template-columns: repeat(2, 1fr); }
  .ip-cta { padding: 3rem 1.5rem; }
  .ip-case-grid { grid-template-columns: 1fr; }
  .ip-case-meta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ip-hero { padding: 2.5rem 1.25rem; }
  .ip-hero h1 { font-size: 2rem; }
  .ip-steps { grid-template-columns: 1fr; }
  .ip-cta-actions { flex-direction: column; }
  .ip-btn { justify-content: center; width: 100%; }
}
