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

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.product-card__image {
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image img {
  width: 85%;
  height: 90%;
  object-fit: contain;
}

.product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card__eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: rgba(28, 43, 140, .35);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-card__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.2;
}

.product-card__desc {
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.65;
  flex: 1;
}

/* Gas family accordion — bold color tile toggles a product panel within its own grid cell */
.gas-family-item {
  display: flex;
  flex-direction: column;
}

.gas-family {
  width: 100%;
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 120px;
  padding: 0 36px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: box-shadow .22s, transform .2s;
}

.gas-family:hover {
  box-shadow: 0 12px 40px rgba(28, 43, 140, .18);
  transform: translateY(-4px);
}

.gas-family__name {
  font-weight: 800;
  font-size: 44px;
  color: var(--color-primary);
  letter-spacing: -.02em;
  line-height: 1;
}

.gas-family__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 43, 140, .14);
  position: relative;
  transition: transform .25s ease;
}

.gas-family__icon::before,
.gas-family__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
}

.gas-family__icon::before { width: 14px; height: 2px; }
.gas-family__icon::after { width: 2px; height: 14px; }

.gas-family[aria-expanded="true"] .gas-family__icon { transform: rotate(45deg); }

.gas-family--pink { background: var(--color-gas-pink); }
.gas-family--orange { background: var(--color-gas-orange); }
.gas-family--mint { background: var(--color-gas-mint); }
.gas-family--cyan { background: var(--color-gas-cyan); }

.gas-family__panel {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  transition: max-height .35s ease;
}

.gas-family__panel.is-open {
  border: 1px solid var(--color-border);
  margin-top: -8px;
}

.gas-family__panel-content {
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gas-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gas-variant {
  background: var(--color-cream);
  border-radius: 4px;
  padding: 16px;
}

.gas-variant__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.gas-variant__spec {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .gas-family { padding: 0 18px; min-height: 100px; gap: 8px; }
  .gas-family__name { font-size: 26px; }
  .gas-family__icon { width: 26px; height: 26px; }
  .gas-family__panel-content { padding: 20px 18px 24px; }
  .gas-variant-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gas-family { padding: 0 14px; min-height: 84px; }
  .gas-family__name { font-size: 18px; line-height: 1.1; }
  .gas-family__icon { width: 22px; height: 22px; }
  .gas-family__icon::before { width: 10px; }
  .gas-family__icon::after { height: 10px; }
}

/* Brand ad card — Quiénes Somos 2x2 showcase */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .brand-grid { grid-template-columns: 1fr; }
}

.brand-card {
  position: relative;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: box-shadow .2s, transform .2s;
}

.brand-card:hover {
  box-shadow: 0 8px 28px rgba(28, 43, 140, .1);
  transform: translateY(-2px);
}

.brand-card__logo {
  position: absolute;
  top: 28px;
  left: 32px;
  background: #fff;
  border-radius: 6px;
  padding: 12px 16px;
}

.brand-card__logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.brand-card__content {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  max-width: 62%;
}

.brand-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.brand-card__title {
  font-weight: 800;
  font-size: 26px;
  color: var(--color-cream);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.brand-card__desc {
  font-size: 13px;
  color: rgba(246, 242, 234, .7);
  line-height: 1.6;
}

/* Simple icon-only feature card (EPIs consolidated grid, homepage services) */
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(28, 43, 140, .1);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.2;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.feature-card--wide {
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 32px 36px;
}

@media (max-width: 900px) {
  .feature-card--wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
  }
}
