/* ═══════════════════════════════════════
   INDEX.CSS — Out Shine Web Design Homepage
═══════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-height) + 5rem) 5rem 5rem;
  gap: 4rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid var(--teal-light);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 2; }
.hero-text .eyebrow { margin-bottom: 1.25rem; }
.hero-text h1 { margin-bottom: 1.25rem; }
.hero-text .lead { margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-brand-icon {
  width: 220px;
  height: 220px;
  display: block;
}
.hero-brand-name {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blush);
  text-align: center;
  line-height: 1.2;
}
.hero-brand-name span {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
  display: block;
  font-size: 4.8rem;
  letter-spacing: 0.14em;
}

/* ── WHAT WE DO ── */
.what-we-do {
  background: var(--bg);
  padding: var(--section-pad);
}
.what-we-do-header { margin-bottom: 3rem; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(17,85,98,0.1);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(17,85,98,0.12);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--blush);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card-icon svg { width: 22px; height: 22px; stroke: var(--cream); fill: none; stroke-width: 1.5; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
}
.cta-banner {
  margin-top: 3rem;
  background: var(--teal);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-banner p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
}

/* ── WHAT WE OFFER ── */
.what-we-offer { background: var(--cream); }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.offer-left .check-list { margin: 1.5rem 0 2rem; }
.offer-right { position: relative; }
.offer-image-wrap { position: relative; border-radius: 6px; overflow: hidden; }
.offer-image-wrap picture img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.profile-box {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.95);
  border-radius: 6px;
  padding: 1.1rem 1.35rem;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.profile-box-logo { height: 24px; width: auto; margin-bottom: 0.6rem; }
.profile-box-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--teal);
  line-height: 1.2;
}
.profile-box-title {
  font-size: 0.72rem;
  color: var(--blush);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── PERFORMANCE ── */
.performance { background: var(--teal); color: var(--cream); }
.performance .eyebrow { color: rgba(255,255,255,1); }
.performance h2 { color: var(--cream); margin-bottom: 0.5rem; }
.perf-intro { font-size: 1rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,1); margin-bottom: 3rem; max-width: 550px; }
.perf-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.perf-icon-box {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  transition: background 0.2s;
}
.perf-icon-circle {
  width: 72px; height: 72px;
  background: var(--blush);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.perf-icon-box span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.perf-statements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.perf-statement {
  border-left: 2px solid var(--blush);
  padding-left: 1.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,1);
}
.perf-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.perf-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}
.perf-badge svg {
  width: 20px; height: 20px;
  stroke: var(--blush);
  fill: none;
  stroke-width: 1.5;
}
.perf-bottom {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.perf-bottom-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── PORTFOLIO ── */
.portfolio-section {
  background: var(--cream);
  padding: var(--section-pad);
  border-top: 1px solid rgba(17,85,98,0.08);
}
.portfolio-header { margin-bottom: 3rem; }

.portfolio-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Browser mockup wrapper */
.portfolio-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(17,85,98,0.14);
  border: 1px solid rgba(17,85,98,0.1);
  background: #f5f5f5;
}
.portfolio-browser-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 1rem;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(17,85,98,0.18);
}
.browser-url {
  margin-left: 0.75rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  font-family: var(--font-sans);
}
.portfolio-preview img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 36px; /* clears the browser bar */
}

/* Info column */
.portfolio-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blush);
  border: 1px solid var(--blush);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1rem;
}
.portfolio-info h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--teal);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.portfolio-info p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.portfolio-details {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.portfolio-details li {
  font-size: 0.82rem;
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
}
.portfolio-details li span {
  font-weight: 500;
  color: var(--teal);
  width: 44px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .portfolio-featured { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .portfolio-featured {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── PRICING SECTION ── */
.pricing-section { background: var(--bg); }
.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.pricing-header h2 { margin-bottom: 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pricing-card {
  background: var(--cream);
  border: 1px solid rgba(17,85,98,0.12);
  border-radius: 8px;
  padding: 2.5rem;
}
.pricing-card.featured {
  border-color: var(--teal);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}
.pricing-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blush);
  margin-bottom: 0.75rem;
}
.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.price-display { margin-bottom: 2rem; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.price-period { font-size: 1rem; color: var(--ink-soft); margin-left: 0.2rem; }
.price-sub { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.35rem; }
.pricing-list { list-style: none; margin-bottom: 2rem; }
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(17,85,98,0.06);
  color: var(--ink);
}
.pricing-list li:last-child { border-bottom: none; }
.pi-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blush);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.pi-x {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(17,17,17,0.1);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23999' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.pi-x + span { color: var(--ink-soft); }

/* ── PRE-FOOTER CTA ── */
.pre-footer-cta {
  background: var(--cream);
  text-align: center;
  padding: 6rem 5rem;
  border-top: 1px solid rgba(17,85,98,0.08);
}
.pre-footer-cta h2 { margin-bottom: 1.5rem; }
.pre-footer-cta .lead { margin: 0 auto 2.5rem; text-align: center; }

/* ══════════════════════
   TABLET (≤ 1100px)
══════════════════════ */
@media (max-width: 1100px) {
  .hero { padding: calc(var(--nav-height) + 4rem) 3rem 4rem; gap: 2.5rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { gap: 3rem; }
  .perf-images { grid-template-columns: 1fr 1fr; }
  .perf-statements { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════
   MOBILE (≤ 768px)
══════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
    min-height: auto;
    gap: 2rem;
  }
  .hero::after { display: none; }
  .hero-visual {
    order: -1; /* logo appears above text on mobile */
  }
  .hero-brand {
    gap: 0.75rem;
  }
  .hero-brand-icon {
    width: 140px;
    height: 140px;
  }
  .hero-brand-name {
    font-size: 1.6rem;
  }
  .hero-brand-name span {
    font-size: 2.8rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions a {
    text-align: center;
  }

  /* What We Do */
  .cards-grid { grid-template-columns: 1fr; }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  /* What We Offer */
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .offer-right { order: -1; }
  .offer-image-wrap picture img {
    height: 400px;
    object-fit: cover;
    object-position: 50% 25%;
  }

  .offer-image-wrap picture img { height: 280px; }
  .profile-box-name {text-align: center; margin-bottom: 0.25rem; }
  .profile-box-title { text-align: center; }
  .profile-box-logo { margin: 0 auto 0.6rem; display: block; }
  .profile-box {
  padding: 0.65rem 1rem;
  min-width: 140px;
  }
  .profile-box-logo {
    height: 18px;
  }
  /* Performance */
  .perf-images { grid-template-columns: 1fr; }
  .perf-icon-box { height: 160px; }
  .perf-statements { grid-template-columns: 1fr; gap: 1.5rem; }
  .perf-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .perf-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
  .perf-bottom-icon { width: 80px; height: 80px; }

  /* Pricing */
  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.5rem; }

  /* Pre-footer */
  .pre-footer-cta { padding: 4rem 1.5rem; }
}

/* ══════════════════════
   SMALL MOBILE (≤ 400px)
══════════════════════ */
@media (max-width: 400px) {
  .hero-brand-icon { width: 110px; height: 110px; }
  .hero-brand-name { font-size: 1.3rem; }
  .hero-brand-name span { font-size: 2.2rem; }
  .pricing-card { padding: 1.5rem 1.25rem; }
}

/* ── HERO ANIMATIONS ── */
.hero-text > * {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.hero-text .eyebrow { animation-delay: 0.1s; }
.hero-text h1 { animation-delay: 0.22s; }
.hero-text .lead { animation-delay: 0.34s; }
.hero-text .hero-actions { animation-delay: 0.46s; }
.hero-visual { opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards; }