@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;700;800;900&display=swap");

:root {
  --primary-green: #4F7A45;
  --dark-green: #23452C;
  --light-green: #EAF2E4;
  --cream: #FAF8F2;
  --text: #222222;
  --border: #E5E5E5;
}

.office-home-redesign {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 122, 69, 0.06), transparent 24%),
    linear-gradient(180deg, var(--cream) 0%, #f6f2e9 100%);
  font-family: "Inter", "Noto Sans TC", sans-serif;
}

.office-home-redesign .office-topbar {
  background: rgba(250, 248, 242, 0.9);
  border-bottom: 1px solid rgba(34, 34, 34, 0.06);
  box-shadow: 0 10px 28px rgba(35, 69, 44, 0.05);
}

.office-home-redesign .office-topbar .office-shell {
  min-height: 88px;
}

.office-home-redesign .office-brand-logo-rt {
  height: 62px;
}

.office-r-nav {
  gap: 14px;
}

.office-r-nav a {
  color: rgba(34, 34, 34, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.office-r-nav a.active,
.office-r-nav a:hover {
  color: var(--dark-green);
  background: rgba(79, 122, 69, 0.08);
}

.office-home-redesign .office-cta-link {
  color: #fff;
  background: var(--primary-green);
  box-shadow: 0 14px 24px rgba(79, 122, 69, 0.18);
}

.office-r-main {
  padding: 34px 0 120px;
}

.office-r-section {
  padding: 100px 0;
}

.office-r-section:first-child {
  padding-top: 32px;
}

.office-r-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.office-r-section-heading p {
  margin: 0 0 8px;
  color: var(--primary-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.office-r-section-heading h2 {
  margin: 0;
  color: var(--dark-green);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.office-r-section-heading span {
  max-width: 460px;
  color: rgba(34, 34, 34, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.office-r-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(35, 69, 44, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.office-r-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(35, 69, 44, 0.1);
}

.office-r-hero {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 48px;
  align-items: center;
  min-height: calc(90vh - 110px);
  padding-bottom: 72px;
}

.office-r-hero-copy {
  display: grid;
  gap: 22px;
}

.office-r-kicker {
  margin: 0;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.office-r-hero h1 {
  margin: 0;
  color: var(--dark-green);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.office-r-subtitle {
  max-width: 540px;
  margin: 0;
  color: rgba(34, 34, 34, 0.72);
  font-size: 20px;
  line-height: 1.85;
}

.office-r-cta-row,
.office-r-cta-stack,
.office-r-plan-actions,
.office-r-final-actions,
.office-r-cta-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.office-r-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.office-r-button:hover {
  transform: translateY(-2px);
}

.office-r-button-primary {
  color: #fff;
  background: var(--primary-green);
  box-shadow: 0 16px 28px rgba(79, 122, 69, 0.2);
}

.office-r-button-secondary {
  color: var(--dark-green);
  border-color: rgba(35, 69, 44, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.office-r-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
  margin-top: 6px;
}

.office-r-point {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.office-r-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary-green);
  background: var(--light-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.office-r-point strong {
  display: block;
  color: var(--dark-green);
  font-size: 16px;
  font-weight: 800;
}

.office-r-point p {
  margin: 8px 0 0;
  color: rgba(34, 34, 34, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.office-r-hero-media {
  position: relative;
}

.office-r-hero-media picture,
.office-r-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.office-r-hero-media img {
  aspect-ratio: 16 / 9;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 26px 60px rgba(35, 69, 44, 0.12);
}

.office-r-hero-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(220px, 42%);
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(35, 69, 44, 0.16);
  backdrop-filter: blur(8px);
}

.office-r-hero-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.office-r-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.office-r-calculator-card,
.office-r-recommend-card,
.office-r-proof-card,
.office-r-upgrade-card,
.office-r-faq-card {
  padding: 32px;
}

.office-r-card-head h3 {
  margin: 0;
  color: var(--dark-green);
  font-size: 28px;
  font-weight: 800;
}

.office-r-card-head p {
  margin: 10px 0 0;
  color: rgba(34, 34, 34, 0.62);
  line-height: 1.8;
}

.office-r-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.office-r-choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.office-r-choice-group legend {
  margin-bottom: 12px;
  padding: 0;
  color: var(--dark-green);
  font-size: 14px;
  font-weight: 800;
}

.office-r-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: rgba(34, 34, 34, 0.7);
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.office-r-choice:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(35, 69, 44, 0.06);
}

.office-r-choice input {
  accent-color: var(--primary-green);
}

.office-r-choice span {
  font-size: 14px;
  font-weight: 700;
}

.office-r-choice-active {
  border-color: rgba(79, 122, 69, 0.42);
  background: var(--light-green);
  box-shadow: inset 0 0 0 1px rgba(79, 122, 69, 0.12);
}

.office-r-calc-button {
  margin-top: 26px;
  width: 100%;
}

.office-r-recommend-card {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 238, 0.96)),
    #fff;
}

.office-r-recommend-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.office-r-recommend-icon,
.office-r-plan-icon,
.office-r-upgrade-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-green);
  background: var(--light-green);
  font-weight: 800;
}

.office-r-recommend-icon {
  width: 72px;
  height: 72px;
  margin-top: 18px;
  font-size: 28px;
}

.office-r-recommend-card h3 {
  margin: 22px 0 8px;
  color: var(--dark-green);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.office-r-recommend-subtitle {
  margin: 0;
  color: rgba(34, 34, 34, 0.68);
  font-size: 18px;
  font-weight: 700;
}

.office-r-recommend-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.office-r-recommend-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--dark-green);
  background: rgba(79, 122, 69, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.office-r-recommend-price {
  margin-top: 26px;
  color: var(--dark-green);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.office-r-recommend-note {
  max-width: 360px;
  margin: 16px auto 0;
  color: rgba(34, 34, 34, 0.62);
  line-height: 1.8;
}

.office-r-cta-stack {
  width: 100%;
  margin-top: 28px;
  justify-content: center;
}

.office-r-cta-stack .office-r-button {
  min-width: 220px;
}

.office-r-pricing-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.office-r-plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(35, 69, 44, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.office-r-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(35, 69, 44, 0.1);
}

.office-r-plan-card-featured {
  transform: scale(1.05);
  border: 2px solid #4F7A45;
  background: #F3F8EE;
  z-index: 1;
}

.office-r-plan-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-green);
  font-size: 12px;
  font-weight: 800;
}

.office-r-plan-icon {
  width: 52px;
  height: 52px;
  font-size: 22px;
}

.office-r-plan-label {
  margin: 0;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.office-r-plan-card h3 {
  margin: 0;
  color: var(--dark-green);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
}

.office-r-plan-meta {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(34, 34, 34, 0.72);
  line-height: 1.7;
}

.office-r-plan-price {
  color: var(--dark-green);
  font-size: 44px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.office-r-plan-price span {
  margin-left: 6px;
  color: rgba(34, 34, 34, 0.62);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.office-r-plan-actions .office-r-button {
  width: 100%;
}

.office-r-proof-grid,
.office-r-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.office-r-proof-card h3,
.office-r-faq-card h3,
.office-r-upgrade-card h3 {
  margin: 0;
  color: var(--dark-green);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.office-r-proof-card p,
.office-r-faq-card p,
.office-r-upgrade-card p {
  margin: 14px 0 0;
  color: rgba(34, 34, 34, 0.68);
  line-height: 1.8;
}

.office-r-brand-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: rgba(35, 69, 44, 0.46);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.office-r-proof-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.office-r-proof-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(79, 122, 69, 0.08);
  color: var(--dark-green);
  font-weight: 700;
}

.office-r-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.office-r-upgrade-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.office-r-upgrade-icon {
  width: 72px;
  height: 72px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.office-r-upgrade-card strong {
  color: var(--dark-green);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.office-r-upgrade-card .office-r-button {
  width: 100%;
  margin-top: 8px;
}

.office-r-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 34px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  box-shadow: 0 24px 52px rgba(35, 69, 44, 0.18);
}

.office-r-final-cta p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.office-r-final-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.office-r-final-cta span {
  display: block;
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.office-r-final-actions .office-r-button-secondary {
  color: var(--dark-green);
  background: rgba(255, 255, 255, 0.9);
}

.office-r-floating-whatsapp {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 10;
  display: inline-grid;
  place-items: center;
  gap: 2px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-green);
  box-shadow: 0 20px 36px rgba(79, 122, 69, 0.26);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-r-floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 42px rgba(79, 122, 69, 0.3);
}

.office-r-floating-whatsapp span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.office-r-floating-whatsapp small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.office-r-mobile-bar {
  display: none;
}

.office-home-redesign .office-footer {
  padding-bottom: 96px;
}

.office-home-redesign .office-footer .office-shell {
  color: rgba(34, 34, 34, 0.6);
}

@media (max-width: 1180px) {
  .office-r-hero,
  .office-r-calculator-grid,
  .office-r-proof-grid,
  .office-r-upgrade-grid,
  .office-r-faq-grid {
    grid-template-columns: 1fr;
  }

  .office-r-pricing-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-r-hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .office-r-final-cta {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .office-home-redesign .office-topbar .office-shell {
    min-height: 74px;
  }

  .office-home-redesign .office-brand-logo-rt {
    height: 50px;
  }

  .office-r-nav a:not(.office-cta-link) {
    display: none;
  }

  .office-r-main {
    padding-bottom: 132px;
  }

  .office-r-section {
    padding: 60px 0;
  }

  .office-r-hero {
    min-height: 90vh;
    gap: 20px;
  }

  .office-r-hero-copy {
    gap: 18px;
  }

  .office-r-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .office-r-subtitle {
    font-size: 16px;
    line-height: 1.8;
  }

  .office-r-cta-row,
  .office-r-cta-stack,
  .office-r-final-actions {
    flex-direction: column;
  }

  .office-r-button,
  .office-r-cta-stack .office-r-button,
  .office-r-plan-actions .office-r-button,
  .office-r-final-actions .office-r-button {
    width: 100%;
  }

  .office-r-hero-points {
    grid-template-columns: 1fr;
  }

  .office-r-hero-media img {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .office-r-hero-badge {
    right: 14px;
    bottom: 14px;
    width: min(168px, 48%);
    border-radius: 18px;
  }

  .office-r-section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .office-r-section-heading span {
    max-width: none;
    font-size: 15px;
  }

  .office-r-choice-grid {
    grid-template-columns: 1fr;
  }

  .office-r-pricing-track {
    grid-auto-columns: 86%;
    grid-auto-flow: column;
    grid-template-columns: unset;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .office-r-pricing-track::-webkit-scrollbar {
    height: 6px;
  }

  .office-r-pricing-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(79, 122, 69, 0.26);
  }

  .office-r-plan-card {
    scroll-snap-align: start;
  }

  .office-r-plan-card-featured {
    transform: none;
  }

  .office-r-proof-grid,
  .office-r-upgrade-grid,
  .office-r-faq-grid {
    grid-template-columns: 1fr;
  }

  .office-r-calculator-card,
  .office-r-recommend-card,
  .office-r-proof-card,
  .office-r-upgrade-card,
  .office-r-faq-card,
  .office-r-final-cta {
    padding: 24px;
    border-radius: 24px;
  }

  .office-r-floating-whatsapp {
    display: none;
  }

  .office-r-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 60px;
    padding: 8px 12px;
    background: rgba(250, 248, 242, 0.96);
    box-shadow: 0 -12px 30px rgba(35, 69, 44, 0.12);
    backdrop-filter: blur(12px);
  }

  .office-r-mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
  }

  .office-r-mobile-bar-primary {
    color: #fff;
    background: var(--primary-green);
  }

  .office-r-mobile-bar-secondary {
    color: var(--dark-green);
    border: 1px solid rgba(35, 69, 44, 0.14);
    background: #fff;
  }
}
