/* Figma Design Tokens */
:root {
  /* Brand Colors */
  --brand-700: #a81f25;
  --brand-600: #c6262c;
  --brand-500: #d94f54;
  --brand-100: #f1d5d6;
  --brand-25: #fbf4f4;

  /* Neutral Colors */
  --neutral-950: #262c36;
  --neutral-900: #37404e;
  --neutral-800: #485465;
  --neutral-700: #5a687c;
  --neutral-200: #c8cfda;
  --neutral-100: #dde2e9;

  /* Gray Colors */
  --gray-900: #181D27;
  --gray-700: #414651;
  --gray-600: #535862;
  --gray-300: #D5D7DA;
  --gray-100: #F5F5F5;

  /* Typography */
  --font-family: 'Inter', sans-serif;

  /* Shadows */
  --shadow-xs: 0px 1px 2px rgba(10, 13, 18, 0.05);
}

/* Button Components */
.btn-primary {
  background-color: var(--brand-600);
  border: 1px solid var(--brand-600);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #a81f25;
}

.btn-secondary {
  background-color: white;
  border: 1px solid var(--brand-600);
  color: var(--brand-600);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--brand-25);
}

/* Hide scrollbar */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

/* Prevent flickering when components load */
#header-component {
  min-height: 88px;
}

#header-component:empty {
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Responsive utilities */

/* Timeline Section Styles */
.timeline-section {
  background-color: white;
  padding: 88px 80px;
  position: relative;
  overflow: hidden;
}

.timeline-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--neutral-950, #262c36);
  margin: 0 0 64px 0;
}

.timeline-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0 75px 0;
  min-height: 1200px;
  isolation: isolate;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  background: var(--brand-600, #c6262c);
  transform: translateX(-50%);
  transition: height 0.15s ease-out;
  will-change: height;
  z-index: 1;
}

.timeline-line-light {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 50px;
  width: 1px;
  background: #eab8ba;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 100px;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-left {
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-item-right {
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 438px;
  max-width: 100%;
}

.timeline-content ul {
  margin: 8px 0 0 0;
  padding-left: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--neutral-950, #262c36);
  list-style-type: disc;
}

.timeline-content ul li {
  margin-bottom: 4px;
}

.timeline-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.timeline-badge-primary {
  background: var(--brand-100, #f1d5d6);
}

.timeline-badge-secondary {
  background: var(--brand-100, #f1d5d6);
}

/* Active state when red line reaches the badge */
.timeline-item.active .timeline-badge {
  background: var(--brand-600, #c6262c) !important;
}

.timeline-item.active .timeline-badge svg circle {
  stroke: white !important;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px; /* Center with 48px badge: 48/2 = 24px */
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  z-index: 2;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.timeline-dot-primary {
  border: 1px solid var(--brand-600, #c6262c);
}

.timeline-dot-secondary {
  border: 1px solid #e39699;
}

.timeline-dot-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 19.76px;
  height: 19.76px;
  border-radius: 50%;
  box-shadow: 0px 1px 1.4px rgba(146, 21, 26, 0.41);
  transition: background-color 0.3s ease;
}

.timeline-dot-inner-primary {
  background: var(--brand-600, #c6262c);
}

.timeline-dot-inner-secondary {
  background: #e39699;
}

/* Active state when red line reaches the dot */
.timeline-dot.active {
  border-color: var(--brand-600, #c6262c) !important;
}

.timeline-dot.active .timeline-dot-inner {
  background: var(--brand-600, #c6262c) !important;
}

.timeline-heading {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--neutral-950, #262c36);
  margin: 0;
}

.timeline-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--neutral-950, #262c36);
  margin: 0;
}

/* About Section Responsive Styles */
.about-section {
  background-color: white;
  padding: 88px 80px;
}

.about-section-container {
  display: flex;
  align-items: center;
  gap: 88px;
  max-width: 1280px;
  margin: 0 auto;
}

.about-section-image {
  width: 542px;
  height: 505px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-section-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 588px;
  flex-shrink: 0;
}

/* Large tablets / Small desktops - reduce padding first */
@media (max-width: 1280px) {
  .timeline-section {
    padding: 72px 64px;
  }

  .timeline-content {
    width: 380px;
  }

  .about-section {
    padding: 72px 64px;
  }

  .about-section-container {
    gap: 64px;
    padding: 0 40px;
  }

  .about-section-image {
    width: 450px;
    height: 420px;
  }

  .about-section-content {
    width: 100%;
    max-width: 500px;
  }
  .footer-container {
    padding: 48px 64px !important;
  }
}

/* Medium screens - columns start getting tight */
@media (max-width: 1120px) {
  .footer-container {
    padding: 48px 32px !important;
  }

  .footer-newsletter {
    width: 100% !important;
    max-width: 450px !important;
  }

  .footer-column:last-child {
    width: 100% !important;
    max-width: 450px !important;
  }

  .footer-heading {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-social {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tablets - switch to single column */
@media (max-width: 1024px) {
  .timeline-section {
    padding: 64px 40px;
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-line-light {
    left: 24px;
  }

  .timeline-item-left,
  .timeline-item-right {
    justify-content: flex-start;
    padding-left: 64px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 24px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-title {
    font-size: 36px;
  }

  .about-section {
    padding: 64px 40px;
  }

  .about-section-container {
    flex-direction: column;
    gap: 48px;
    padding: 0 32px;
  }

  .about-section-image {
    width: 100%;
    max-width: 542px;
    height: auto;
    aspect-ratio: 542 / 505;
  }

  .about-section-content {
    width: 100%;
    max-width: 100%;
  }

  .cta-banner {
    width: 100% !important;
    padding: 48px 32px !important;
  }

  .cta-heading {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  .cta-text {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .cta-button {
    min-width: 100% !important;
  }

  .footer-container > div {
    flex-direction: column !important;
    gap: 48px !important;
  }

  .footer-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-newsletter {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-social {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  .footer-heading {
    font-size: 32px !important;
    line-height: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-column:last-child {
    gap: 24px !important;
  }
}

/* Small tablets */
@media (max-width: 768px) {
  .timeline-section {
    padding: 56px 32px;
  }

  .timeline-item {
    margin-bottom: 60px;
  }

  .timeline-item-left,
  .timeline-item-right {
    padding-left: 48px;
  }

  .timeline-heading {
    font-size: 20px;
  }

  .about-section {
    padding: 56px 32px;
  }

  .about-section-container {
    gap: 40px;
    padding: 0 24px;
  }

  .about-section-content {
    gap: 24px;
  }

  .footer-container {
    padding: 40px 24px !important;
  }

  .cta-banner {
    padding: 40px 28px !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .timeline-section {
    padding: 48px 24px;
  }

  .timeline-title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .timeline-item {
    margin-bottom: 48px;
  }

  .timeline-item-left,
  .timeline-item-right {
    padding-left: 40px;
  }

  .timeline-line {
    left: 16px;
  }

  .timeline-line-light {
    left: 16px;
  }

  .timeline-dot {
    left: 16px;
    width: 24px;
    height: 24px;
  }

  .timeline-dot-inner {
    width: 16px;
    height: 16px;
  }

  .timeline-badge {
    width: 40px;
    height: 40px;
  }

  .timeline-heading {
    font-size: 18px;
  }

  .timeline-text {
    font-size: 14px;
  }

  .about-section {
    padding: 48px 24px;
  }

  .about-section-container {
    gap: 32px;
    padding: 0 20px;
  }

  .about-section-content h2 {
    font-size: 32px !important;
  }

  .about-section-content p {
    font-size: 18px !important;
  }

  .cta-banner {
    padding: 32px 24px !important;
    border-radius: 16px !important;
  }

  .cta-heading {
    font-size: 28px !important;
    line-height: 36px !important;
  }

  .cta-text {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .cta-avatars-text {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .footer-container {
    padding: 32px 20px !important;
  }

  .footer-heading {
    font-size: 28px !important;
    line-height: 36px !important;
    width: 100% !important;
  }

  .footer-nav-group {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .footer-contact-group {
    flex-direction: column !important;
    gap: 24px !important;
  }
}

/* Rent vs Buy Calculator Styles */
.calculator-container {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.input-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--neutral-800, #485465);
}

.calculator-input {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--neutral-950, #262c36);
  padding: 10px 14px;
  border: 1px solid var(--neutral-200, #c8cfda);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.calculator-input:focus {
  outline: none;
  border-color: var(--brand-600, #c6262c);
  box-shadow: 0 0 0 3px rgba(198, 38, 44, 0.1);
}

.calculator-input:hover {
  border-color: var(--neutral-700, #5a687c);
}

/* Results Table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.cost-table thead {
  background-color: var(--brand-25, #fbf4f4);
}

.cost-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--neutral-950, #262c36);
  border-bottom: 2px solid var(--brand-600, #c6262c);
}

.cost-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-100, #dde2e9);
  color: var(--neutral-800, #485465);
}

.cost-table tbody tr:hover {
  background-color: var(--neutral-100, #dde2e9);
}

.cost-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive Calculator Styles */
@media (max-width: 1024px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-container {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .calculator-container {
    padding: 24px;
  }

  .calculator-grid {
    gap: 24px;
    margin-bottom: 32px;
  }

  .cost-table {
    font-size: 12px;
  }

  .cost-table th,
  .cost-table td {
    padding: 8px 12px;
  }
}

@media (max-width: 640px) {
  .calculator-container {
    padding: 20px;
    border-radius: 12px;
  }

  .calculator-input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .input-label {
    font-size: 13px;
  }

  .cost-table {
    font-size: 11px;
  }

  .cost-table th,
  .cost-table td {
    padding: 6px 8px;
  }
}

/* Insights Page Responsive Styles */

/* Hero Section */
@media (max-width: 1024px) {
  .insights-hero h1 {
    font-size: 40px !important;
  }
}

@media (max-width: 640px) {
  .insights-hero {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .insights-hero h1 {
    font-size: 32px !important;
  }

  .insights-hero p {
    font-size: 14px !important;
  }
}

/* Recent Blog Posts Section */
.insights-recent-posts {
  padding: 88px 80px;
  background: white;
}

.insights-recent-posts-container {
  max-width: 1280px;
  margin: 0 auto;
}

.insights-recent-posts-grid {
  display: flex;
  gap: 32px;
}

.insights-featured-post {
  width: 624px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.insights-side-posts {
  width: 624px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 1280px) {
  .insights-recent-posts {
    padding: 72px 64px;
  }

  .insights-featured-post,
  .insights-side-posts {
    width: calc(50% - 16px);
  }
}

@media (max-width: 1024px) {
  .insights-recent-posts {
    padding: 64px 40px;
  }

  .insights-recent-posts-grid {
    flex-direction: column;
  }

  .insights-featured-post,
  .insights-side-posts {
    width: 100%;
    max-width: 624px;
  }

  .insights-side-posts > div {
    flex-direction: row !important;
  }
}

@media (max-width: 768px) {
  .insights-recent-posts {
    padding: 56px 32px;
  }

  .insights-recent-posts h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 640px) {
  .insights-recent-posts {
    padding: 48px 24px;
  }

  .insights-recent-posts h2 {
    font-size: 24px !important;
  }

  .insights-featured-post h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .insights-featured-post p:last-child {
    font-size: 14px !important;
  }

  .insights-side-posts > div {
    flex-direction: column !important;
    height: auto !important;
  }

  .insights-side-posts > div > div:first-child {
    width: 100% !important;
    height: 200px !important;
  }

  .insights-side-posts h4 {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .insights-side-posts p:last-child {
    font-size: 14px !important;
  }
}

/* Latest Articles Section */
.insights-articles {
  padding: 88px 80px;
  background: white;
}

.insights-articles-container {
  max-width: 1280px;
  margin: 0 auto;
}

.insights-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1280px) {
  .insights-articles {
    padding: 72px 64px;
  }
}

@media (max-width: 1024px) {
  .insights-articles {
    padding: 64px 40px;
  }

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

  .insights-articles h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 768px) {
  .insights-articles {
    padding: 56px 32px;
  }

  .insights-articles h2 {
    font-size: 24px !important;
  }

  .category-filter {
    font-size: 13px !important;
    padding: 8px 14px !important;
  }
}

@media (max-width: 640px) {
  .insights-articles {
    padding: 48px 24px;
  }

  .insights-articles h2 {
    font-size: 20px !important;
  }

  .insights-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .blog-card p:last-child {
    font-size: 14px !important;
  }

  .category-filter {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }
}

/* Pagination Responsive */
.insights-pagination {
  border-top: 1px solid #e9eaeb;
  padding-top: 20px;
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .insights-pagination {
    margin-top: 48px;
  }

  .insights-pagination button span {
    font-size: 13px !important;
  }

  .insights-pagination > div button {
    width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  .insights-pagination {
    margin-top: 32px;
    padding-top: 16px;
  }

  .insights-pagination button span {
    font-size: 12px !important;
  }

  .insights-pagination > div button {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }

  .insights-pagination > div {
    gap: 1px !important;
  }
}

/* Article Page Responsive Styles */

/* Hero Section */
.article-hero {
  display: flex;
  background: white;
}

@media (max-width: 1024px) {
  .article-hero {
    flex-direction: column-reverse;
  }

  .article-hero > div:first-child {
    padding: 64px 40px !important;
    justify-content: center !important;
  }

  .article-hero > div:first-child > div {
    width: 100% !important;
    max-width: 640px !important;
    padding-right: 0 !important;
  }

  .article-hero > div:last-child {
    min-height: 500px !important;
  }

  .article-hero h1 {
    font-size: 28px !important;
    line-height: 36px !important;
  }
}

@media (max-width: 768px) {
  .article-hero > div:first-child {
    padding: 48px 32px !important;
  }

  .article-hero > div:last-child {
    min-height: 400px !important;
    padding: 24px !important;
  }

  .article-hero > div:last-child > div {
    width: 100% !important;
    height: 100% !important;
  }

  .article-hero h1 {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .article-hero p:last-child {
    font-size: 18px !important;
    line-height: 28px !important;
  }
}

@media (max-width: 640px) {
  .article-hero > div:first-child {
    padding: 40px 24px !important;
  }

  .article-hero > div:last-child {
    min-height: 320px !important;
  }

  .article-hero h1 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .article-hero p:first-child {
    font-size: 14px !important;
  }

  .article-hero p:last-child {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

/* Article Content */
.article-content {
  padding: 88px 32px;
  background: white;
}

@media (max-width: 1024px) {
  .article-content {
    padding: 72px 40px;
  }

  .article-content h2 {
    font-size: 28px !important;
  }

  .article-content h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 768px) {
  .article-content {
    padding: 56px 32px;
  }

  .article-content h2 {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .article-content h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .article-content p {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .article-content ol,
  .article-content ul {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 640px) {
  .article-content {
    padding: 48px 24px;
  }

  .article-content h2 {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .article-content h3 {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  .article-content > div > div > div {
    gap: 16px !important;
  }

  .article-content button {
    flex-direction: column !important;
    padding: 12px !important;
  }

  .article-content button span:last-child {
    display: none !important;
  }
}

/* Related Posts */
.article-related {
  padding: 88px 80px;
  background: #f7f7f7;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1280px) {
  .article-related {
    padding: 72px 64px;
  }
}

@media (max-width: 1024px) {
  .article-related {
    padding: 64px 40px;
  }

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

  .article-related h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 768px) {
  .article-related {
    padding: 56px 32px;
  }

  .article-related h2 {
    font-size: 24px !important;
  }

  .related-posts-grid article h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .related-posts-grid article p:last-child {
    font-size: 14px !important;
    line-height: 20px !important;
  }
}

@media (max-width: 640px) {
  .article-related {
    padding: 48px 24px;
  }

  .article-related h2 {
    font-size: 22px !important;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .related-posts-grid article h3 {
    font-size: 18px !important;
    line-height: 26px !important;
  }
}

/* Services Page Responsive Styles */

/* Service Cards */
.services-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.service-card {
  display: flex;
  gap: 88px;
  align-items: flex-start;
  padding: 48px 40px;
  border: 2px solid #dde2e9;
  border-radius: 16px;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 623px;
  flex-shrink: 0;
}

.service-image {
  width: 489px;
  height: 532px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Tablet and below - Stack consistently with image on top */
@media (max-width: 1280px) {
  .services-section {
    padding: 48px 0 !important;
  }

  .service-card {
    gap: 64px;
    padding: 40px 32px;
  }

  .service-content {
    width: 100%;
    max-width: 623px;
  }

  .service-image {
    width: 100%;
    max-width: 489px;
    height: 450px;
  }
}

@media (max-width: 1024px) {
  .services-section {
    padding: 48px 0 !important;
  }

  .service-card {
    flex-direction: column;
    gap: 48px;
    padding: 32px 24px;
  }

  /* Reverse the HTML order to get content first, image second */
  .service-card-reverse {
    flex-direction: column-reverse;
  }

  .service-content {
    width: 100%;
    max-width: 100%;
  }

  .service-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
  }

  .service-content h2 {
    font-size: 28px !important;
  }

  .service-content h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 32px 0 !important;
  }

  .service-card {
    gap: 32px;
    padding: 24px 20px;
  }

  .service-content {
    gap: 24px;
  }

  .service-image {
    height: 320px;
  }

  .service-content h2 {
    font-size: 24px !important;
  }

  .service-content h3 {
    font-size: 16px !important;
  }

  .service-content p {
    font-size: 14px !important;
  }

  /* Icon grid adjustments */
  .service-content > div:nth-child(2) > div:nth-child(2) {
    gap: 16px 48px !important;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 32px 0 !important;
  }

  .service-card {
    gap: 24px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .service-content {
    gap: 20px;
  }

  .service-image {
    height: 280px;
  }

  .service-content h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .service-content h3 {
    font-size: 16px !important;
  }

  .service-content p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* Icon grid - stack to single column */
  .service-content > div:nth-child(2) > div:nth-child(2) {
    gap: 16px !important;
  }

  .service-content > div:nth-child(2) > div:nth-child(2) > div {
    width: 100% !important;
  }
}

/* ============================================
   RENT VS BUY CALCULATOR STYLES
   ============================================ */

.calculator-container {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.input-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--neutral-800, #485465);
}

.calculator-input {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--neutral-950, #262c36);
  padding: 10px 14px;
  border: 1px solid var(--neutral-200, #c8cfda);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.calculator-input:focus {
  outline: none;
  border-color: var(--brand-600, #c6262c);
  box-shadow: 0 0 0 3px rgba(198, 38, 44, 0.1);
}

.calculator-input:hover {
  border-color: var(--neutral-700, #5a687c);
}

/* Results Table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.cost-table thead {
  background-color: var(--brand-25, #fbf4f4);
}

.cost-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--neutral-950, #262c36);
  border-bottom: 2px solid var(--brand-600, #c6262c);
}

.cost-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-100, #dde2e9);
  color: var(--neutral-800, #485465);
}

.cost-table tbody tr:hover {
  background-color: var(--neutral-100, #dde2e9);
}

.cost-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive Calculator Styles */
@media (max-width: 1024px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-container {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .calculator-container {
    padding: 24px;
  }

  .calculator-grid {
    gap: 24px;
    margin-bottom: 32px;
  }

  .cost-table {
    font-size: 12px;
  }

  .cost-table th,
  .cost-table td {
    padding: 8px 12px;
  }
}

@media (max-width: 640px) {
  .calculator-container {
    padding: 20px;
    border-radius: 12px;
  }

  .calculator-input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .input-label {
    font-size: 13px;
  }

  .cost-table {
    font-size: 11px;
  }

  .cost-table th,
  .cost-table td {
    padding: 6px 8px;
  }
}
