/* ==========================================================================
   Reusable Components
   ========================================================================== */

/* WhatsApp floater */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Product cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-body h3 {
  margin-bottom: 10px;
}

.product-card-body p {
  color: #555;
  font-size: 15px;
  margin-bottom: 14px;
  flex: 1;
}

.product-card-specs {
  font-size: 13px;
  color: #777;
  border-top: 1px solid var(--border-gray);
  padding-top: 12px;
  margin-bottom: 18px;
}

/* Feature tiles (Why Choose Senrove) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-tile {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-tile h4 {
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-tile p {
  font-size: 14px;
  color: #555;
}

/* Spotlight sections */
.spotlight {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: center;
}

.spotlight.reverse {
  grid-template-columns: 55% 45%;
}

.spotlight.reverse .spotlight-image {
  order: 2;
}

.spotlight-image img {
  border-radius: 4px;
  border: 1px solid var(--border-gray);
}

.spotlight-subtitle {
  font-size: 17px;
  color: #555;
  margin: 12px 0 6px;
}

.spotlight-tagline {
  font-style: italic;
  color: var(--red);
  font-size: 16px;
  margin-bottom: 24px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.pill {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
}

.bg-light .pill,
.spotlight .pill {
  background: var(--navy);
  color: var(--white);
}

.spotlight-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Info boxes (RMC) */
.info-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.cta-bar {
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-bar h3 { color: var(--white); margin: 0; }

/* Project cards */
.project-card {
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 28px;
  position: relative;
}

.project-card .badge {
  margin-bottom: 14px;
}

.project-card h4 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}

.project-card .project-location {
  font-size: 13px;
  color: #777;
}

.project-card p {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

/* Technical data grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-item {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 28px 16px;
}

.tech-item .tech-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.tech-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 13px;
  color: #666;
}

.storage-note {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 20px 24px;
  font-size: 14px;
  color: #555;
}

/* Contact strip */
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-strip-item {
  display: flex;
  gap: 16px;
}

.contact-strip-item .icon {
  font-size: 26px;
}

.contact-strip-item h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-strip-item p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { margin-bottom: 28px; opacity: 0.9; }

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer h4 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-brand .logo-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.footer-brand .logo-sub {
  font-size: 12px;
  color: var(--gold);
  margin: 4px 0 12px;
}

.footer-brand .tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact li {
  margin-bottom: 14px;
  font-size: 14px;
  display: flex;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-grid .card {
  padding: 32px;
}

.about-grid h3 {
  margin-bottom: 12px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 28px;
}

.testimonial-card p.quote {
  font-style: italic;
  color: #444;
  margin-bottom: 18px;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.testimonial-card .role {
  font-size: 13px;
  color: #777;
}

/* Careers */
.job-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.job-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.job-card-header h3 {
  margin: 0;
  font-size: 19px;
}

.job-card p {
  color: #555;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Steps (RMC ordering) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 16px;
}

.map-placeholder {
  height: 320px;
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 15px;
  margin-top: 32px;
}
