/* ADVISIR PTE. LTD. - Incorporation Packages
   Responsive design for desktop, tablet and mobile
*/

:root {
  --red: #d90000;
  --dark-red: #a90000;
  --ink: #222;
  --muted: #666;
  --light: #f7f7f7;
  --border: #e5e5e5;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  flex: 0 0 auto;
  display: block;
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
  max-height: 125px;
  object-fit: contain;
}

.header-text {
  border-left: 3px solid var(--red);
  padding-left: 28px;
}

.eyebrow,
.section-label {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-text h1 {
  margin: 5px 0 4px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.header-text p {
  margin: 0;
  color: var(--muted);
}

/* Intro */
.intro {
  padding: 65px 0 35px;
  text-align: center;
  max-width: 850px;
}

.intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.intro p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Package grid */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 70px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.package-card.featured {
  border: 2px solid var(--red);
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--red);
  color: white;
  padding: 7px 15px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0 0 0 10px;
}

.package-number {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.package-header h2 {
  margin: 4px 0 7px;
  font-size: 1.75rem;
}

.package-header p,
.package-description {
  color: var(--muted);
}

.package-header p {
  margin: 0;
}

.package-description {
  min-height: 76px;
  margin: 20px 0;
}

.price {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.price span,
.price small {
  display: block;
  color: var(--muted);
}

.price strong {
  display: block;
  color: var(--red);
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 2px 0;
}

.price small {
  font-size: 0.78rem;
}

.button {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  margin-bottom: 25px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--dark-red);
  transform: translateY(-1px);
}

.package-card h3 {
  margin: 18px 0 7px;
  font-size: 1rem;
  color: #333;
}

.package-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.package-card li {
  position: relative;
  padding: 6px 0 6px 27px;
  color: #444;
  font-size: 0.92rem;
}

.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--red);
  font-weight: 900;
}

/* CTA */
.cta {
  background: var(--red);
  color: white;
  padding: 50px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta .section-label {
  color: white;
}

.cta h2 {
  margin: 6px 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta p {
  margin: 0;
  opacity: 0.92;
}

.button-light {
  width: auto;
  min-width: 180px;
  margin: 0;
  background: white;
  color: var(--red);
}

.button-light:hover {
  background: #f3f3f3;
  color: var(--dark-red);
}

/* Footer */
.site-footer {
  background: #1d1d1d;
  color: #bbb;
  padding: 25px 0;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer strong {
  color: white;
}

/* Tablet */
@media (max-width: 980px) {
  .packages {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .package-card.featured {
    transform: none;
  }

  .package-description {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 20px 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .brand img {
    width: 165px;
  }

  .header-text {
    border-left: 0;
    border-top: 3px solid var(--red);
    padding: 15px 0 0;
  }

  .intro {
    padding: 40px 0 25px;
  }

  .packages {
    padding-bottom: 45px;
    gap: 18px;
  }

  .package-card {
    padding: 23px;
    border-radius: 11px;
  }

  .popular-badge {
    font-size: 0.65rem;
    padding: 6px 10px;
  }

  .price strong {
    font-size: 2rem;
  }

  .cta {
    padding: 38px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .button-light {
    width: 100%;
  }
}
