:root {
  /* Brand colors */
  --rebla-yellow: #fec30c;
  --rebla-burgundy: #800020;
  --rebla-burgundy-dark: #600018;

  /* Neutrals */
  --bg-light: #f5f5f5;
  --text-dark: #333333;
  --text-gray: #cccccc;

  /* Radius */
  --radius: 8px;

  /* Motion */
  --ease: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Headings (shared) */
h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.features-heading {
  margin-bottom: 20px;
}

.cta-heading h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Header */
header {
  padding: 12px 0;
  border-bottom: 4px solid var(--rebla-yellow);
  background: #ffffff;
}

.logo {
  margin-bottom: 8px;
}

.logo img {
  height: 50px;
  width: auto;
}

.tagline {
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #555;
  font-weight: 500;
  text-transform: none;
  margin-bottom: 0;
}

/* Hero Section */
.hero {
  padding: 40px 0;
  margin: 20px 0;
  border-bottom: 4px solid var(--rebla-yellow);
}

.hero .container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero-content {
  padding-left: 30px;
  border-left: 4px solid var(--rebla-burgundy);
  max-width: 700px;
  flex: 1;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-content h1 .highlight {
  color: var(--rebla-yellow);
}

.hero-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-cta {
  display: inline-block;
  background: var(--rebla-burgundy);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--ease);
}

.hero-cta:hover {
  background: var(--rebla-burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

.hero-image {
  flex-shrink: 0;
  max-width: 400px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Solutions Section */
.solutions {
  padding: 50px 0;
  background: #ffffff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.solution-card {
  padding: 40px;
  border: 1px solid var(--text-gray);
  border-left: 4px solid var(--rebla-yellow);
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: all var(--ease);
}

.solution-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.solution-card h3 a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--ease);
  display: inline-block;
}

.solution-card h3 a:hover {
  color: var(--rebla-burgundy);
  text-decoration: underline;
}

.solution-icon {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f5f5f5;
}

.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.solution-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 50px 0;
  background: linear-gradient(
    135deg,
    rgba(254, 195, 12, 0.08) 0%,
    #f5f5f5 100%
  );
  border-top: 4px solid var(--rebla-yellow);
  border-bottom: 4px solid var(--rebla-burgundy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  background: #ffffff;
  border-radius: var(--radius);
  border-left: 4px solid var(--rebla-burgundy);
}

.service-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Features Section */
.features {
  padding: 50px 0;
  background: #ffffff;
}

.features-subheading {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 50px 0;
  background: linear-gradient(
    135deg,
    rgba(254, 195, 12, 0.08) 0%,
    var(--bg-light) 100%
  );
  border-top: 4px solid var(--rebla-yellow);
  text-align: center;
}

.cta p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Wrapper with Form */
.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}

.cta-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cta-heading {
  margin-bottom: 50px;
}

.cta-heading p {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.cta-text {
  flex-shrink: 0;
}

.cta-contact {
  margin-top: 20px;
}

.cta-contact-info {
  display: inline-block;
  text-align: center;
  padding: 32px 40px;
  background: #ffffff;
  border: 1px solid var(--text-gray);
  border-radius: var(--radius);
}

.cta-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cta-contact-info p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.cta-contact-info a {
  color: var(--rebla-burgundy);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ease);
}

.cta-contact-info a:hover {
  color: var(--rebla-burgundy-dark);
  text-decoration: underline;
}

.cta-contact-info p:last-child {
  margin-bottom: 0;
}

#rebla-form {
  width: 100%;
  min-height: 600px;
  border: 1px solid var(--text-gray);
  border-radius: var(--radius);
  padding: 15px;
  background: #ffffff;
  --rebla-form-height: 70vh; /* Mobile */
}

@media (min-width: 600px) {
  #rebla-form {
    --rebla-form-height: 55vh; /* Desktop */
  }
}

.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #e8e3dd;
  padding-top: 16px;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}

footer .footer-bottom {
  text-align: center;
}

footer a {
  color: var(--text-gray);
  text-decoration: underline;
  transition: color var(--ease);
}

footer a:hover {
  color: var(--rebla-yellow);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 30px 0;
    margin: 0;
  }

  .hero .container {
    flex-direction: column;
    gap: 20px;
    padding: 30px 15px;
  }

  .hero-content {
    padding-left: 15px;
    border-left: 3px solid var(--rebla-yellow);
    max-width: 100%;
    margin-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-image {
    max-width: 100%;
    max-height: 250px;
  }

  .hero-image img {
    max-height: 250px;
    width: auto;
  }

  .solutions {
    padding: 30px 0;
  }

  .services {
    padding: 30px 0;
  }

  .features {
    padding: 30px 0;
  }

  .cta {
    padding: 30px 0;
  }

  .solution-card {
    padding: 20px;
  }

  .solutions-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item {
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 15px;
  }

  .service-image {
    width: 80px;
    height: 80px;
  }

  .solution-icon {
    height: 150px;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .cta p {
    font-size: 14px;
  }

  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    padding: 30px 0;
  }
}
