 

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  transition: all 0.3s var(--ease-smooth);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sea-green);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--sea-green-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-label {
  justify-content: center;
}

.section-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

/* ── Locations Grid ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  transition: all 0.4s var(--ease-smooth);
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sea-green);
}

.location-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.location-card:hover .location-image img {
  transform: scale(1.05);
}

.location-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--golden-yellow);
  color: var(--dark-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.location-badge.automated {
  background: #3B82F6;
  color: #fff;
}

.location-badge.hub {
  background: #A855F7;
  color: #fff;
}

.location-badge.deepwater {
  background: #22C55E;
  color: #fff;
}

.location-badge.gulf {
  background: #F59E0B;
  color: #fff;
}

.location-badge.eu {
  background: #EF4444;
  color: #fff;
}

.location-content {
  padding: 1.5rem;
}

.location-flag {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.location-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.location-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.location-tags span {
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--light-gray);
  color: var(--text-secondary);
  border: 1px solid var(--medium-gray);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  transition: all 0.4s var(--ease-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sea-green);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sea-green-light);
  color: var(--sea-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s var(--ease-smooth);
}

.service-card:hover .service-icon {
  background: var(--sea-green);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Technology Grid ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s var(--ease-smooth);
  text-align: center;
}

.tech-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  border-color: var(--golden-yellow);
}

.tech-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--golden-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s var(--ease-smooth);
}

.tech-card:hover .tech-icon {
  background: var(--golden-yellow);
  color: var(--dark-navy);
}

.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(10,22,40,0.85));
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-smooth);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.gallery-caption p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

/* ── Testimonials Grid ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  transition: all 0.4s var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sea-green);
}

.testimonial-card .stars {
  color: var(--golden-yellow);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.faq-item:hover {
  border-color: var(--sea-green);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  gap: 1rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question i {
  color: var(--sea-green);
  transition: transform 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive ── */

/* Tablets & Small Laptops (1024px) */
@media (max-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile Landscape / Small Tablets (768px) */
@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem 0.75rem;
  }

  .stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .location-content {
    padding: 1.25rem;
  }

  .location-image {
    height: 180px;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .tech-card {
    padding: 1.5rem 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .faq-answer.open {
    padding: 0 1.25rem 1rem;
  }

  .gallery-caption {
    padding: 1rem 0.75rem 0.75rem;
  }

  .gallery-caption h4 {
    font-size: 0.85rem;
  }

  .gallery-caption p {
    font-size: 0.7rem;
  }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .gallery-item.featured {
    grid-column: span 2;
  }

  .location-card {
    max-width: 100%;
  }

  .location-image {
    height: 160px;
  }

  .location-content h3 {
    font-size: 1rem;
  }

  .location-content p {
    font-size: 0.85rem;
  }

  .location-tags span {
    font-size: 0.65rem;
    padding: 0.15rem 0.6rem;
  }

  .service-card h3 {
    font-size: 0.95rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.3rem;
  }

  .tech-card h3 {
    font-size: 0.95rem;
  }

  .tech-card p {
    font-size: 0.85rem;
  }

  .tech-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.3rem;
  }

  .testimonial-card p {
    font-size: 0.85rem;
  }

  .testimonial-author strong {
    font-size: 0.85rem;
  }

  .testimonial-author span {
    font-size: 0.75rem;
  }

  .faq-question {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .faq-answer.open {
    padding: 0 1rem 0.85rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .gallery-caption {
    padding: 0.75rem 0.5rem 0.5rem;
  }

  .gallery-caption h4 {
    font-size: 0.75rem;
  }

  .gallery-caption p {
    font-size: 0.65rem;
  }
}

/* Extra Small (360px) */
@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-item {
    padding: 0.5rem 0.25rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .gallery-item.featured {
    grid-column: span 2;
  }

  .location-image {
    height: 140px;
  }

  .location-content {
    padding: 1rem;
  }

  .location-content h3 {
    font-size: 0.9rem;
  }

  .location-content p {
    font-size: 0.8rem;
  }

  .location-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.6rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .service-card {
    padding: 1.25rem 0.75rem;
  }

  .tech-card {
    padding: 1.25rem 0.75rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .faq-question {
    padding: 0.7rem 0.85rem;
    font-size: 0.8rem;
  }

  .faq-answer.open {
    padding: 0 0.85rem 0.7rem;
  }

  .faq-answer p {
    font-size: 0.8rem;
  }

  .gallery-caption {
    padding: 0.5rem 0.4rem 0.4rem;
  }

  .gallery-caption h4 {
    font-size: 0.65rem;
  }

  .gallery-caption p {
    font-size: 0.55rem;
  }
}